gemini-3.1-flash-lite
NixAPI price, from
USD per 1M tokens · via group Anti-Gemini-1 · Official list price $0.25 / $1.5Save 88%
About gemini-3.1-flash-lite
Google's most cost-effective model, optimized for high-volume agent tasks, translation, and simple data processing.
Price by routing group
Pick a group in the console when you create a key. Status is live from the router. Live status by group →
| Group | Group status | Model status | Multiplier | Input | Output | Cache read | Cache write |
|---|---|---|---|---|---|---|---|
Anti-Gemini-1 | … | ×0.1243 | $0.0311 | $0.1864 | $0.003107 | — | |
Cli-Gemini-1 | … | ×0.1243 | $0.0311 | $0.1864 | $0.003107 | — | |
Aistudio-Gemini-1 | … | ×0.2982 | $0.0746 | $0.4474 | $0.007456 | — | |
Vertex-Gemini-1 | … | ×0.338 | $0.0845 | $0.507 | $0.00845 | — | |
Aistudio-Gemini-2 | … | ×0.4474 | $0.1118 | $0.671 | $0.0112 | — | |
Aistudio-Gemini-3 | … | ×0.7456 | $0.1864 | $1.118 | $0.0186 | — | |
Vertex-Gemini-2 | … | ×0.7605 | $0.1901 | $1.141 | $0.019 | — | |
Vertex-Gemini-3 | … | ×1.521 | $0.3802 | $2.281 | $0.038 | — | |
Aistudio-Gemini-4 | … | ×1.6155 | $0.4039 | $2.423 | $0.0404 | — |
USD per 1M tokens
Supported endpoints
Call gemini-3.1-flash-lite in one request
Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.
curl https://api.nixapi.com/v1/chat/completions \
-H "Authorization: Bearer $NIXAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-flash-lite",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(base_url="https://api.nixapi.com/v1", api_key="sk-…")
resp = client.chat.completions.create(
model="gemini-3.1-flash-lite",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'https://api.nixapi.com/v1', apiKey: process.env.NIXAPI_KEY });
const resp = await client.chat.completions.create({
model: "gemini-3.1-flash-lite",
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(resp.choices[0].message.content);Questions about gemini-3.1-flash-lite
How much does gemini-3.1-flash-lite cost on NixAPI?
From $0.0311 per 1M input tokens and $0.1864 per 1M output tokens in the Anti-Gemini-1 group, about 88% below the official list price. Prices are pay-as-you-go in USD with no monthly minimum.
How do I call gemini-3.1-flash-lite?
Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "gemini-3.1-flash-lite".
Which routing groups serve gemini-3.1-flash-lite?
gemini-3.1-flash-lite is available in 9 routing groups: Anti-Gemini-1, Cli-Gemini-1, Aistudio-Gemini-1, Vertex-Gemini-1, Aistudio-Gemini-2, Aistudio-Gemini-3, Vertex-Gemini-2, Vertex-Gemini-3, Aistudio-Gemini-4. The lowest price is in Anti-Gemini-1.