Gemini 3.8 Flash
Gemini 3.8 Flash is a Google model with a 1M-token context window. It reads images.
2 models
Gemini 3.8 Flash in the Google constellation, with Gemini 3.1 Pro.
A star's size and colour follow its API output price. Google in the model list
Facts
- Context window
- 1M tokens
- Input
- Text and images
- Thinking effort
- Fixed
- Speed
- Not measured yet
- Available on
- Plus and above
- Intelligence rank at Vani
- #24
Based on data from Artificial Analysis (artificialanalysis.ai). The ranking is Vani's ordering of the models it offers and is not endorsed by Artificial Analysis. Source (opens in a new tab)
Gemini 3.8 Flash API price
Use this model on the Vani API with the OpenAI- or Anthropic-compatible endpoints. Prepaid API prices per 1M tokens.
| Per 1M tokens | Official | On Vani |
|---|---|---|
| Input | $0.75 | $0.525 |
| Output | $3.75 | $2.625 |
| Cached input | $0.075 | $0.0525 |
Official prices checked 30 Sept 2026. Source of the official prices (opens in a new tab)
In Vani Chat it uses your plan's allowance: tokens per plan.
Gemini 3.8 Flash API quickstart
OpenAI-compatible: point any OpenAI SDK at https://api.vani.ai/v1 and send google/gemini-3.8-flash as the model. The Anthropic-compatible /v1/messages endpoint works too.
curl https://api.vani.ai/v1/chat/completions \
-H "Authorization: Bearer $VANI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"google/gemini-3.8-flash","messages":[{"role":"user","content":"Hello"}]}'import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.vani.ai/v1",
api_key=os.environ["VANI_API_KEY"], # a vani_ key
)
reply = client.chat.completions.create(
model="google/gemini-3.8-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)import os
from anthropic import Anthropic
client = Anthropic(
base_url="https://api.vani.ai",
api_key=os.environ["VANI_API_KEY"], # a vani_ key
)
message = client.messages.create(
model="google/gemini-3.8-flash",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
print(message.content)Compare with
Google
Gemini 3.1 Pro
Gemini 3.1 Pro is a Google model with a 1M-token context window. It reads images.
1M context$8.40 output per 1M
Compare side by side with Gemini 3.1 ProAnthropic
Claude Sonnet 5
Claude Sonnet 5 is an Anthropic model with a 1M-token context window. It reads images and lets you choose how hard it thinks.
1M context$7.00 output per 1M
Compare side by side with Claude Sonnet 5OpenAI
GPT-5.6 Terra
GPT-5.6 Terra is an OpenAI model with a 1M-token context window. It reads images and lets you choose how hard it thinks.
1M context$8.40 output per 1M
Compare side by side with GPT-5.6 Terra
Gemini 3.8 Flash: questions
- What is Gemini 3.8 Flash?
- Gemini 3.8 Flash is a Google model with a 1M-token context window. It reads images.
- How large is Gemini 3.8 Flash's context window?
- Gemini 3.8 Flash has a context window of 1M tokens: that is how much it can read at once. It reads images as well as text.
- How much does the Gemini 3.8 Flash API cost?
- On the prepaid Vani API, Gemini 3.8 Flash costs $0.525 per 1M input tokens and $2.625 per 1M output tokens ($0.0525 per 1M cached input tokens). In Vani Chat it uses your plan's allowance.
- Which Vani plan includes Gemini 3.8 Flash?
- Gemini 3.8 Flash is on Vani Chat's Plus plan and above.
Put a question to Gemini 3.8 Flash.
Gemini 3.8 Flash is on Vani Chat's Plus plan and above.