gemini-3.1-flash-lite API

Google gemini-3.1-flash-lite for chat and coding; Flatkey routes this model through /v1/chat/completions. $0.2/$1.2 per 1M tokens 1,048,576-token context window.

Chat and codingLong contextTool workflows
Input /M
$0.2/ 1M tokens-20%$0.25/ 1M tokens
Cache /M
$0.02/ 1M tokens-20%$0.025/ 1M tokens
Output /M
$1.2/ 1M tokens-20%$1.5/ 1M tokens
Provider
Google

gemini-3.1-flash-lite API performance

gemini-3.1-flash-lite API reliability and uptime

Live Flatkey request telemetry for gemini-3.1-flash-lite appears here when enough production traffic is available.

Avg. provider uptime
99.43%
last 30 days
Latency
839ms
last 30 days
Requests
20.3K
30-day window
Successful inference trend

gemini-3.1-flash-lite API activity

gemini-3.1-flash-lite API usage and request activity

Track request volume and successful inference activity for gemini-3.1-flash-lite over the latest reporting window.

Requests
20.3K
30-day window
Latency
839ms
last 30 days
Uptime
99.43%
last 30 days
Successful inference trendActivity

gemini-3.1-flash-lite pricing

gemini-3.1-flash-lite 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.

Flatkey price

Input /M

Live catalog model
$0.2/ 1M tokens$0.25/ 1M tokens
Input /M
$0.2/ 1M tokens$0.25/ 1M tokens
Cache /M
$0.02/ 1M tokens$0.025/ 1M tokens
Output /M
$1.2/ 1M tokens$1.5/ 1M tokens
View API
Shared balance

Add credits

Add credits

Use the same Flatkey balance and API key across image, video, audio, and text models.

Model catalog
Model Type
Text
API
/v1/chat/completions
Billing basis
1M tokens

gemini-3.1-flash-lite chat and coding: core capabilities

Google's gemini-3.1-flash-lite route supports text · image · file · audio · video. Catalog categories: Programming, Roleplay, Marketing.

gemini-3.1-flash-lite chat and coding API

Call gemini-3.1-flash-lite through /v1/chat/completions for chat, coding or agent workflows supported by the model's listed modalities.

gemini-3.1-flash-lite long-context work

gemini-3.1-flash-lite 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-flash-lite 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-flash-lite production routing

Use one Flatkey key for gemini-3.1-flash-lite, usage controls and model routing while retaining the exact model id in your SDK configuration.

Compare

gemini-3.1-flash-lite API comparison: capabilities and access

Compare the catalog facts for gemini-3.1-flash-lite with the previous-generation baseline before changing your integration.

CapabilityPrevious generationgemini-3.1-flash-lite
ProviderNot verified in this catalog snapshotGoogle
ModalitiesNot verified in this catalog snapshottext · image · file · audio · video
ContextNot verified in this catalog snapshot1,048,576-token
EndpointNot verified in this catalog snapshot/v1/chat/completions
BillingNot verified in this catalog snapshot$0.2/$1.2 per 1M tokens

Why Flatkey

Why use Flatkey for gemini-3.1-flash-lite?

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-flash-lite API

Four ways in, all on the same key and the same model catalog. Pick one to see a runnable example.

Call any model with an OpenAI-compatible API. Copy a ready-to-run example for your model and language.
Use the OpenAI SDK you already know — with Flatkey as the gateway.
Generate images and videos from your terminal. Let your AI assistant drive the workflow.
Connect your coding agent with one command, then use Flatkey from your existing projects.
curl https://router.flatkey.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-***" \
  -d '{"model":"gemini-3.1-flash-lite","messages":[{"role":"user","content":"Say hello in one sentence."}]}'
Docs

FAQ

gemini-3.1-flash-lite API
pricing, features, and usage FAQs

Answers about gemini-3.1-flash-lite pricing, capabilities, endpoint access and catalog limits.

What is gemini-3.1-flash-lite used for?
gemini-3.1-flash-lite is listed by Google for chat and coding; the catalog lists these modalities: text · image · file · audio · video.
How is gemini-3.1-flash-lite priced?
Input /M: $0.2; Cache /M: $0.02; Output /M: $1.2. Prices below are calculated from Flatkey pricing data for this model and the visible groups currently returned by our pricing API.
Which API endpoint calls gemini-3.1-flash-lite?
Flatkey routes this model through /v1/chat/completions. Set the model field to gemini-3.1-flash-lite and follow the fields supported by that endpoint.
What context or input limits does gemini-3.1-flash-lite have?
gemini-3.1-flash-lite is listed with 1,048,576-token. Other limits depend on the route and current account availability, so verify them before production use.