Google: gemini-3.1-flash-lite
gemini-3.1-flash-lite- Input / Output-50%
- $0.25 / $1.50$0.125 / $0.75
- Context
- 1M
- Released
- May 7, 2026
- Max output
- 64K
- Modalities
- VisionChat
- Capabilities
- Tool usePrompt Cache
Getting started
Create API key
Create a key in Console, then use it with every model on the platform.
Send your first request
Copy the example for your language and run it against the endpoint.
chat_completionGemini APIPOST/v1beta/models/gemini-3.1-flash-lite:generateContentAPI format:curl "https://api.tokenlab.sh/v1beta/models/gemini-3.1-flash-lite:generateContent" \ -H "Content-Type: application/json" \ -H "x-goog-api-key: sk-xxx" \ -d '{ "contents": [ {"role": "user", "parts": [{"text": "Hello!"}]} ] }'
Pricing
Official price is the model maker's public baseline. TokenLab price is what you pay for this model on TokenLab.
Display Base Rates
Per 1M tokens- Official price
- Input $0.25 / Output $1.50 / Cache read $0.025
- TokenLab price
- Input $0.125 / Output $0.75 / Cache read $0.0125
- Discount
- -50%
Cache read
- Official price
- $0.025
- TokenLab price
- $0.0125
- Discount
- -50%
| Official pricePer 1M tokens | TokenLab pricePer 1M tokens | Discount | |
|---|---|---|---|
| Display Base Rates | Input $0.25 / Output $1.50 / Cache read $0.025 | Input $0.125 / Output $0.75 / Cache read $0.0125 | -50% |
| Cache read | $0.025 | $0.0125 | -50% |
Usage & activity
Success rate is the share of requests that completed. Latency is how long a full response takes; P95 means 95% of requests finished within that time.
Usage & availability
Last 24 hoursNo data yet
- 30-day success rate
- 95.1%
- 30-day requests
- 100K+
- Last active
- 11 hours ago
Data is based on aggregate user requests, excluding status checks.
Open in Console
Open gemini-3.1-flash-lite in Console with a prompt ready to edit or send.
Help me try gemini-3.1-flash-lite with a short message at /v1beta/models/gemini-3.1-flash-lite:generateContent. Show the reply, latency, and cost.
Use cases
Best forVision
Reading images, parsing documents, and answering visual questions
Agents and tools
Handle reasoning, support triage, tool calls, and multi-step tasks.
Coding
Generate, review, or debug code in the tools you already use.
Knowledge assistants
Build chat, search, and retrieval with a clear price and capability profile.
Side-by-side test
Compare response quality, latency, and price side by side.
Prompt examples
Write a concise support reply and list the assumptions behind it.
Review this API design and call out the top three integration risks.
Turn a long changelog into release notes a non-engineer would read.
This model has conditional pricing. Monthly token totals alone cannot produce a reliable estimate; use the detailed pricing for the request specification, cache, and applicable time window.
FAQ
How much does gemini-3.1-flash-lite cost?
On TokenLab, gemini-3.1-flash-lite costs Input $0.125 / Output $0.75 Per 1M tokens. The pricing table above shows the full breakdown. Rates depend on the billing unit, specification, and usage. Compare matching conditions in the model's detailed pricing; a single rate does not determine the total cost.
What is gemini-3.1-flash-lite best for?
gemini-3.1-flash-lite supports JSON mode, Prompt Cache, Tool use. You can open it directly in Create.
How do I test gemini-3.1-flash-lite?
Open gemini-3.1-flash-lite in Create. A sample for /v1beta/models/gemini-3.1-flash-lite:generateContent will be ready to try.
Which endpoint should gemini-3.1-flash-lite use?
Use https://api.tokenlab.sh/v1beta/models/gemini-3.1-flash-lite:generateContent for gemini-3.1-flash-lite. The request example below shows the matching code shape.
Can I test gemini-3.1-flash-lite before integrating it?
Yes. Open Console starts a ready draft for gemini-3.1-flash-lite and keeps your prompt after sign-in, so you don’t lose context.
Which operations does gemini-3.1-flash-lite support?
gemini-3.1-flash-lite supports chat_completion. Select an operation above to see its endpoint and request example.