Models
Gemini 3.8 Flash
Model id: gemini/models/gemini-3.8-flash
- Agentic
- Frontier
- Coding
- Vision
- Multimodal
- Audio
- Long context
- Tools
Google’s current Gemini Flash for coding, agents, and multi-step work.
Best for
coding agents, text-and-image apps, and as the default Gemini Flash.
- Provider
- Google Gemini
- Context window
- 1,048,576
- Release date
- 2026-09-02
- Reasoning effort
- lowmediumhighDefault: medium
Pricing
Input
$1.1567 / 1M
Cached input
$0.1157 / 1M
Output
$5.7837 / 1M
Web search
Per successful search
$0.0216 / search
Billed on top of tokens when the model uses web search.
Amounts in Canadian dollars, converted at the Bank of Canada indicative rate (2026-09-21).
Performance
Reading
Last 7 days
Not enough data to display the chart.
Activity
Tokens
—
—
—
—
—
Top 5 tools · last 7 days
Not enough data to display tool activity.
Availability
Availability (%)
Last 7 days
- Operational probes
- 99.98% over 7 days
- Samples
- 9,204
Quick start
Call the API with a tonia_ key and the exact model id below.
curl
curl https://pass.tonia.ca:8443/v1/chat/completions \
-H "Authorization: Bearer $TONIA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini/models/gemini-3.8-flash",
"messages": [
{
"role": "user",
"content": "Bonjour"
}
]
}'Python (OpenAI SDK)
import os
from openai import OpenAI
client = OpenAI(
base_url="https://pass.tonia.ca:8443/v1",
api_key=os.environ["TONIA_API_KEY"],
)
response = client.chat.completions.create(
model="gemini/models/gemini-3.8-flash",
messages=[{"role": "user", "content": "Bonjour"}],
)TypeScript (OpenAI SDK)
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://pass.tonia.ca:8443/v1",
apiKey: process.env.TONIA_API_KEY,
});
const response = await client.chat.completions.create({
model: "gemini/models/gemini-3.8-flash",
messages: [{ role: "user", content: "Bonjour" }],
});In Cursor, Cline, and other OpenAI-compatible tools, Gemini models use the gemini/models/ prefix (for example gemini/models/gemini-3.8-flash).