Language models/Google/Gemini 3.8 Flash
Googletext2 routes

Gemini 3.8 Flash

Google's fast, low-cost Gemini model for everyday text and image tasks.

gemini-3.8-flashGet API key

Pricing USD per million tokens

TokensPer 1M tokens
Input$0.225
Cached input$0.0225
Cache write (5 min)$0.225
Cache write (1 hour)$0.45
Output$1.125

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
curl https://api.revana.si/v1/chat/completions \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-3.8-flash","messages":[{"role":"user","content":"Write a haiku about routing."}]}'
Python
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-3.8-flash",
    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

Model id
gemini-3.8-flash
Maker
Google
Endpoint
POST /v1/chat/completions
Context window
1M tokens
Max output
64K tokens
Streaming
Yes (server-sent events)
Routes
2 (falls back automatically)

2 routes

Every request starts on the cheapest route. A busy or failed route hands it to the next before any answer is sent.

About the Gemini 3.8 Flash API

How much does the Gemini 3.8 Flash API cost?

Gemini 3.8 Flash costs $0.225 per million input tokens, $0.0225 per million cached input tokens and $1.125 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 3.8 Flash from code?

Use any OpenAI SDK with base URL https://api.revana.si/v1 and your Revana API key, and set model to "gemini-3.8-flash". POST /v1/chat/completions takes the OpenAI request body, streamed or not.

What happens if a request fails?

Revana has 2 routes for Gemini 3.8 Flash and moves a request to the next one when a route is busy or down. A request that gets no answer costs nothing.

Is Gemini 3.8 Flash 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

Also as markdown for agents. Every language model and price: llms.json.