gemini-3.1-flash-lite-preview
Gemini 3.1 Flash Lite Preview is Google's high-efficiency model optimized for high-volume use cases. It outperforms Gemini 2.5 Flash Lite on overall quality and approaches Gemini 2.5 Flash performance across...
Tokely price / 1M tokens
USD · Published rate · Updated 2026-10-06
Context window
1,048,576tokens · model specificationModel max output
65,536tokensFirst request
Availablecurl https://tokely.me/v1/chat/completions \
-H "Authorization: Bearer $TOKELY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-lite-preview",
"messages": [{"role": "user", "content": "Hello!"}],
"max_tokens": 256
}'Set TOKELY_API_KEY to your dashboard key. Requests require a funded Tokely balance. Base URL: https://tokely.me/v1.
Compare nearby prices
| Model | Input | Output | Context |
|---|---|---|---|
| gemini-3.1-flash-lite-previewGoogle · this model | $0.597432 | $3.584588 | 1,048,576 |
| gemini-3.1-flash-liteGoogle | $0.597432 | $3.584588 | 1,048,576 |
| gpt-5-miniOpenAI | $0.459563 | $3.6765 | 400,000 |
| gpt-5-mini-2025-08-07OpenAI | $0.459563 | $3.6765 | 400,000 |
| MiniMax-M2.7MiniMax | $0.825 | $3.3 | 204,800 |
Capabilities & limits
- Provider
- API model ID
gemini-3.1-flash-lite-preview- Category
- Text
- Endpoints
POST /v1/chat/completions- Tokely max output
- 65,536 tokens / request, including reasoning tokens
- Default output
- 256 tokens. Set an explicit limit for longer responses.
- Request limits
- 256 KB JSON body · 128 messages · 32 function tools
- Rate limit
- 60 requests / minute / account, across its keys
- Supported input
- Text messages and function tool results
- Model modalities
- text, image, video, file, audio. Tokely currently accepts text input.
The context includes your instructions, conversation history, tool definitions and generated output. Keep the input and requested output within the model’s context window.
OpenRouter model referenceAPI reference
Authenticate with Authorization: Bearer YOUR_TOKELY_API_KEY. Use an OpenAI SDK with the Tokely base URL.
- model
- Required string:
gemini-3.1-flash-lite-preview - messages
- An array of system, developer, user, assistant and tool messages.
- max_tokens
- Optional integer, 1–65,536. Defaults to 256.
- stream
- Streaming has not been verified for this model.
- reasoning_effort
- Optional reasoning effort. Supported values depend on the model; omit to use its default.
- tools
- Function definitions executed by your application. Provider-hosted tools are not enabled.
The response contains choices with message or tool_calls, finish_reason, and usage (prompt_tokens, completion_tokens, total_tokens). Streaming sends chat completion chunks.
- 400 / 415
- Invalid request, parameter, endpoint for this model, or content type.
- 401 / 403
- Invalid, revoked or restricted API key.
- 402
- Insufficient account balance or API key budget.
- 429
- Request limit reached. Retry after the indicated delay.
- 502 / 503 / 504
- Upstream failure, temporary service unavailability or request timeout.
Frequently asked questions
How much does gemini-3.1-flash-lite-preview cost?
$0.597432 per million input tokens, $3.584588 per million output tokens and $0.059744 per million cached input tokens. Usage is charged to your Tokely balance.
Do I need a separate Google account?
Use your Tokely API key and balance. A separate provider key is not required.
How do I switch to this model?
Set model to gemini-3.1-flash-lite-preview and use /v1/chat/completions. Keep your Tokely base URL and API key.
What is the context window?
1,048,576 tokens, including input and output. The Tokely request body and output limits listed above also apply.