← All models
Google · Language model
Gemini 3.1 Pro Preview
google/gemini-3.1-pro-preview- Language
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...
Specifications
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
- Input
- audio, file, image, text, video
- Output
- text
- Reasoning effort
- high, medium, low (always on)
- Tokenizer
- Gemini
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- max_tokens
- reasoning
- reasoning_effort
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_p
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"google/gemini-3.1-pro-preview","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'