Gemini 2.5 Flash Lite
Gemini 2.5 Flash Lite by Google, through an OpenAI-compatible chat completions API.
gemini-2.5-flash-liteGet API keyPricing USD per million tokens
| Tokens | Per 1M tokens |
|---|---|
| Input | $0.10 |
| Cached input | $0.10 |
| Cache write (5 min) | $0.10 |
| Cache write (1 hour) | $0.10 |
| Output | $0.40 |
Reasoning tokens are billed as output. Each answer's usage carries cost_usd, the amount taken from your balance; a request with no answer costs $0.00.
Request
curl https://api.revana.si/v1/chat/completions \
-H "Authorization: Bearer $REVANA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gemini-2.5-flash-lite","messages":[{"role":"user","content":"Write a haiku about routing."}]}'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
model="gemini-2.5-flash-lite",
messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)Any OpenAI SDK works: set the base URL to https://api.revana.si/v1. Streaming, tools and the rest are in the chat completions docs.
Details
gemini-2.5-flash-litePOST /v1/chat/completions1 route
One route today. A request that gets no answer is not charged.
About the Gemini 2.5 Flash Lite API
How much does the Gemini 2.5 Flash Lite API cost?
Gemini 2.5 Flash Lite costs $0.10 per million input tokens, $0.10 per million cached input tokens and $0.40 per million output tokens on Revana. You pay from prepaid credit for the tokens each request used, with no subscription or minimum.
How do I call Gemini 2.5 Flash Lite from code?
Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "gemini-2.5-flash-lite". POST /v1/chat/completions takes the OpenAI request body, streamed or not.
What happens if a request fails?
A request that gets no answer costs nothing.
Is Gemini 2.5 Flash Lite on Revana the same model?
Yes. Revana passes your request to Google's model unchanged and returns its answer in the OpenAI format, with the usage it reported and what the request cost.
More from Google
- Gemini 2.5 Flash $0.30 in / $2.4999 out per 1M tokens
- Gemini 2.5 Flash (no thinking) $0.30 in / $2.4999 out per 1M tokens
- Gemini 2.5 Flash (thinking) $0.30 in / $2.4999 out per 1M tokens
- Gemini 2.5 Pro $1.25 in / $10.00 out per 1M tokens
- Gemini 2.5 Pro (no thinking) $1.25 in / $10.00 out per 1M tokens
- Gemini 2.5 Pro (thinking) $1.25 in / $10.00 out per 1M tokens
- Gemini 3 Flash Preview $0.50 in / $3.00 out per 1M tokens
- Gemini 3 Flash Preview (no thinking) $0.50 in / $3.00 out per 1M tokens
Also as markdown for agents. Every language model and price: llms.json.