G
Gemini 3.1 Pro
googleReleased Feb 2026
google/gemini-3.1-pro-preview
About
Gemini 3.1 Pro Preview is Google’s frontier reasoning model, delivering enhanced software engineering performance, improved agentic reliability, and more efficient token usage across complex workflows. Building on the multimodal foundation...
Context
1,048,576
Max output
65,536
Tokenizer
Gemini
Knowledge cutoff
—
Input
audio · file · image · text · video
Output
text
Pricing
per 1M tokens- Input
- $2.00
- Output
- $12.00
Use this model
curl https://api.n4n.ai/v1/chat/completions \
-H "Authorization: Bearer $N4N_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemini-3.1-pro-preview",
"messages": [{"role": "user", "content": "Hello!"}]
}'Authenticate with an API key from your console; prices above are per 1M tokens.
Providers
max context 1,048,576| Provider | Input $/1M | Output $/1M |
|---|---|---|
| Gemini Router gemini-router | $2.00 | $12.00 |
| Yuwu yuwu | $2.00 | $12.00 |
Supported parameters
include_reasoningmax_tokensreasoningreasoning_effortresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p