gemini-3.1-pro-preview API
Google gemini-3.1-pro-preview for chat and coding; Flatkey routes this model through /v1/chat/completions. $1.6/$9.6 per 1M tokens 1,048,576-token context window.
gemini-3.1-pro-preview API performance
gemini-3.1-pro-preview API reliability and uptime
Live Flatkey request telemetry for gemini-3.1-pro-preview appears here when enough production traffic is available.
gemini-3.1-pro-preview API activity
gemini-3.1-pro-preview API usage and request activity
Track request volume and successful inference activity for gemini-3.1-pro-preview over the latest reporting window.
gemini-3.1-pro-preview pricing
gemini-3.1-pro-preview API pricing and billing
Prices below are calculated from Flatkey pricing data for this model and the visible groups currently returned by our pricing API.
Add credits
Use the same Flatkey balance and API key across image, video, audio, and text models.
- Model Type
- Text
- API
- /v1/chat/completions
- Billing basis
- 1M tokens
gemini-3.1-pro-preview chat and coding: core capabilities
Google's gemini-3.1-pro-preview route supports text · image · file · audio · video. Catalog categories: Programming, Marketing, SEO.
gemini-3.1-pro-preview chat and coding API
Call gemini-3.1-pro-preview through /v1/chat/completions for chat, coding or agent workflows supported by the model's listed modalities.
gemini-3.1-pro-preview long-context work
gemini-3.1-pro-preview is listed with 1,048,576-token; use that catalog value as an integration planning reference and validate limits for your account.
gemini-3.1-pro-preview tool and agent workflows
Keep tool calls, structured output and streaming behavior aligned with the endpoint contract instead of assuming every provider feature is interchangeable.
gemini-3.1-pro-preview production routing
Use one Flatkey key for gemini-3.1-pro-preview, usage controls and model routing while retaining the exact model id in your SDK configuration.
Compare
gemini-3.1-pro-preview API comparison: capabilities and access
Compare the catalog facts for gemini-3.1-pro-preview with the previous-generation baseline before changing your integration.
| Capability | Previous generation | gemini-3.1-pro-preview |
|---|---|---|
| Provider | Not verified in this catalog snapshot | |
| Modalities | Not verified in this catalog snapshot | text · image · file · audio · video |
| Context | Not verified in this catalog snapshot | 1,048,576-token |
| Endpoint | Not verified in this catalog snapshot | /v1/chat/completions |
| Billing | Not verified in this catalog snapshot | $1.6/$9.6 per 1M tokens |
Why Flatkey
Why use Flatkey for gemini-3.1-pro-preview?
OpenAI-compatible migration path
Chat Completions-style payloads reduce switching friction from existing model stacks.
Production routing
Keep usage, keys, quotas, and model routing in one Flatkey account.
Unified API access
Use one account and API key across image, video, audio, and language models.
Routing across upstream channels
Requests are spread across the channels serving this model, with 30-day uptime published above.
API
gemini-3.1-pro-preview API
Four ways in, all on the same key and the same model catalog. Pick one to see a runnable example.
curl https://router.flatkey.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer sk-***" \ -d '{"model":"gemini-3.1-pro-preview","messages":[{"role":"user","content":"Say hello in one sentence."}]}'
FAQ
gemini-3.1-pro-preview API
pricing, features, and usage FAQs
Answers about gemini-3.1-pro-preview pricing, capabilities, endpoint access and catalog limits.