Skip to content
Google logo

Gemini 3.1 Pro

Beta

Text Generation • Google

  • AI Gateway
  • Text Generation

Google's most intelligent Gemini model with improved reasoning, a medium thinking level, and a 1M token context window.

Description adapted from Cloudflare Docs, licensed CC BY 4.0.

Model Info
Model IDgemini-3.1-pro-preview
AuthorGoogle
TaskText Generation
EndpointPOST /v1/chat/completions

Usage

Call the model through the gateway's chat completions endpoint — see Unified API (OpenAI compat) for the full guide, and the API reference for every parameter.

curl -X POST "$TRUEMEMORY_API_URL/v1/chat/completions" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-pro-preview",
    "messages": [{ "role": "user", "content": "Hello" }]
  }'
Navigation

Type to search…

↑↓ navigate↵ selectEsc close