gemini-3.1-pro-preview API: billing and integration
Compare models, explore supported endpoints and check current pricing before integrating.
Model identifier
gemini-3.1-pro-preview Model overview
Gemini 3.1 Pro Preview focuses on reasoning, software engineering and precise multi-step tool workflows. Google describes it as a text-output model with multimodal input.
Tasks to evaluate
- Evaluate complex analysis with several dependent reasoning steps.
- Plan software changes using supplied code and reference material.
Integration notes
Keep the exact identifier shown here. The separately named customtools variant is not interchangeable with this catalog entry.
Based on provider documentation, not a GetAPI execution test. Supported request fields and limits depend on the selected endpoint.
Official references: Google — Gemini 3.1 Pro Preview · Reviewed:
Source description
No model description was supplied. Use the declared endpoint and live model settings instead of assuming capabilities.
Provider: Google
Declared endpoints
Endpoint definitions vary by model; a listed route does not imply support for every parameter or tool.
- openai ·
POST /v1/chat/completions
Billing and groups
Dynamic or tiered billing
Check the current model, group and billing unit before sending a request.
Enabled groups in snapshot: gemini
Loading...
Before your first request
- Confirm the exact model identifier and supported endpoint.
- Create a server-side API key with the required permissions and quota.
- Match the model endpoint type to a compatible request protocol before sending traffic.
A model listed by the gateway is not automatically compatible with Codex. Use its declared endpoint as a starting point, then confirm request fields and billing before testing.