Gemini 3.8 Flash API
Gemini 3.8 Flash is Google's most intelligent Flash model, a reasoning model with 1,000,000-token context and multimodal input for long-horizon agents and enterprise workflows.
Gemini 3.8 Flash is Google's most intelligent Flash model, positioned below the flagship Gemini 4 Argon. It succeeds Gemini 2.5 Flash and Gemini 3.7 Flash and is built on Gemini 3.7 Flash. It accepts text, image, video, audio, and PDF input and produces text output, with a context window of 1,000,000 tokens and an output limit of 65,536 tokens. It is a reasoning model that uses extended thinking and chain-of-thought, with a thinking level customizable across low, medium, and high.
The model supports caching, code execution, computer use (preview), file search, function calling, Google Maps grounding, search grounding, structured outputs, URL context, the Batch API, and flex and priority inference. It is aimed at long-horizon software engineering, autonomous agents, complex enterprise workflows, multi-step orchestration, and full-stack code refactoring. It also suits general reasoning, document-heavy long-running workflows, financial analysis, legal workflows, biology research, and video understanding. Its knowledge cutoff is March 2026, with some domains limited to January 2025 knowledge.
On benchmarks it scores 41 on the Artificial Analysis Intelligence Index, where the median for the same price tier is 27. It reaches 73.7% on DeepSWE v1.1, 61.4% on Vals Finance Agent v2, and 89.4% on Terminal-bench 2.1. Limitations include potential hallucination common to base models, occasional latency and timeout issues, heavy token use at high thinking levels, and a time to first token of 24.90 seconds versus a same-tier median of 3.96 seconds. It does not support audio generation, image generation, or the Live API.
Updated:
MODEL ID
gemini-3.8-flash- Context
- 1.049M
- Max output
- 65.536K
- Recommended API
- messages
- Input
- text / image / video / file / audio
- Output
- text
Highlights
- 1,000,000-token context window
- Multimodal input across five formats
- Adjustable thinking levels: low, medium, high
- Code execution and computer use (preview)
- Search and Google Maps grounding
- Scores 41 on the Intelligence Index
Providers
Best priceCompare API prices across providers. Select a provider to view all charges and conditions.
| Uptime | |||||
|---|---|---|---|---|---|
Historical observations are not a live health check. Missing data does not mean an outage.
What $10 buys
- Input
- 6.7M tokens
- Output
- 1.3M tokens
Estimated from current input and output prices, before discounts.
Benchmarks
- 41
Artificial Analysis Intelligence Index
The median for the same price tier is 27.
- 73.7%
DeepSWE v1.1
- 61.4%
Vals Finance Agent v2
- 10.0%
Harvey legal agent benchmark
All-pass rate.
- 89.4%
Terminal-bench 2.1
- 86.2%
CharXiv Reasoning
- 87.8%
LVBench
Agentic setting; static score is 87.1%.
- 54.9%
HLE-Verified
Scores as published by the model provider.
Reasoning
- Default effort
- medium
- Enabled by default
- Yes
- Always enabled
- Yes
- Available effort levels
- high / medium / low
Quick Start
Drop-in code to call this model with Felo API Platform compatible APIs. Start in the Playground when you want to test prompts before writing code.
Get your API key
Create a key from your Felo API Platform account and set it as an environment variable.
export FELO_API_KEY="YOUR_API_KEY"Make your first request
Use this model ID with the Felo API Platform endpoint. Optional request headers such as X-Request-Id can help troubleshooting.
gemini-3.8-flashThis model is reasoning-capable. If your selected protocol and model route expose reasoning controls, preserve the returned reasoning metadata when continuing a conversation.
const response = await fetch("https://openapi.felo.ai/api/v1/messages", {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.FELO_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "gemini-3.8-flash",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
]
}),
});
if (!response.ok) throw new Error(await response.text());
console.log(await response.json());Using third-party SDKs
Use compatible SDKs by setting baseURL to https://openapi.felo.ai/api/v1. Use the Anthropic-compatible base URL for Claude-style clients. https://openapi.felo.ai/api.
Enable streaming
Add stream: true to receive responses as server-sent events.
curl -N https://openapi.felo.ai/api/v1/messages \
-H "Authorization: Bearer $FELO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.8-flash",
"max_tokens": 1024,
"messages": [
{
"role": "user",
"content": "Hello"
}
],
"stream": true
}'Endpoint
Felo API Platform exposes compatible model-calling surfaces. Pick the surface your app or agent client already supports.
Messages
Anthropic-compatible messages for Claude-style clients.
POST
https://openapi.felo.ai/api/v1/messagesParameters
modelstringgemini-3.8-flashPublic model ID to call.max_tokensinteger—Maximum generated tokens.messagesarray—Conversation messages for Chat Completions.seed———stop———toolsarray—Tool calling definitions following compatible schema.top_p———reasoning———temperaturenumber—Controls response variety when supported.tool_choicestring or object—Controls whether a tool should be called.response_formatobject—Request structured output when supported.reasoning_effort———include_reasoning———structured_outputs———Frequently asked questions
What is Gemini 3.8 Flash?
Gemini 3.8 Flash is Google's most intelligent Flash model, positioned below the flagship Gemini 4 Argon. It succeeds Gemini 2.5 Flash and Gemini 3.7 Flash and is built on Gemini 3.7 Flash. It accepts text, image, video, audio, and PDF input and produces text output, with a context window of 1,000,000 tokens and an output limit of 65,536 tokens. It is a reasoning model that uses extended thinking and chain-of-thought, with a thinking level customizable across low, medium, and high. The model supports caching, code execution, computer use (preview), file search, function calling, Google Maps grounding, search grounding, structured outputs, URL context, the Batch API, and flex and priority inference. It is aimed at long-horizon software engineering, autonomous agents, complex enterprise workflows, multi-step orchestration, and full-stack code refactoring. It also suits general reasoning, document-heavy long-running workflows, financial analysis, legal workflows, biology research, and video understanding. Its knowledge cutoff is March 2026, with some domains limited to January 2025 knowledge. On benchmarks it scores 41 on the Artificial Analysis Intelligence Index, where the median for the same price tier is 27. It reaches 73.7% on DeepSWE v1.1, 61.4% on Vals Finance Agent v2, and 89.4% on Terminal-bench 2.1. Limitations include potential hallucination common to base models, occasional latency and timeout issues, heavy token use at high thinking levels, and a time to first token of 24.90 seconds versus a same-tier median of 3.96 seconds. It does not support audio generation, image generation, or the Live API.
How is usage billed?
Your bill depends on the provider you use, its prices and your usage. Longer inputs or other conditions may have different prices.
What input types does Gemini 3.8 Flash support?
It accepts text, image, video, audio, and PDF input and returns text output. It does not support audio generation or image generation.
How large is its context window and output limit?
It offers a 1,000,000-token context window and an output limit of 65,536 tokens.
What tasks is it best suited for?
It targets long-horizon software engineering, autonomous agents, complex enterprise workflows, multi-step orchestration, and full-stack code refactoring. It also fits financial analysis, legal workflows, biology research, and video understanding.
How does it differ from Gemini 3.7 Flash?
It is built on Gemini 3.7 Flash and completed more than 3x the tasks of Gemini 3.7 Flash in evaluations. Google reports no significant new capabilities or large performance gains versus Gemini 3.7 Flash in areas outlined by the frontier safety framework.
Can the thinking level be adjusted?
Yes. It is a reasoning model using extended thinking and chain-of-thought, and the thinking level is customizable across low, medium, and high.
What is its knowledge cutoff?
The knowledge cutoff is March 2026, with some domains limited to January 2025 knowledge.
Related models
Gemini 4 Hydrogen
Googlegemini-4-hydrogenGemini 4 Hydrogen is Google's fast, cost-efficient daily-driver model with a 1M-token context, multimodal input and four adjustable thinking levels.
Context
1.049M
Max output
943.718K
Input tokens
$1.5 / 1M tokens
Output tokens
$7.5 / 1M tokens
Gemini 4 Hydrogen (batch)
Googlegemini-4-hydrogen:batchGemini 4 Hydrogen is Google's fast, high-efficiency core of the Gemini 4 family, replacing the Flash brand with four thinking levels and multimodal input.
Context
1.049M
Max output
943.718K
Input tokens
$0.75 / 1M tokens
Output tokens
$3.75 / 1M tokens
Gemini 4 Carbon
Googlegemini-4-carbonGemini 4 Carbon is Google's strongest frontier model, built on Gemini 4 Argon for long-horizon agentic workflows, cybersecurity, scientific reasoning, and complex knowledge work.
Context
1.049M
Max output
943.718K
Input tokens
$4 / 1M tokens
Output tokens
$20 / 1M tokens
Gemini 4 Carbon (batch)
Googlegemini-4-carbon:batchGemini 4 Carbon is Google's multimodal frontier model for long-horizon agentic work, with 1 million token context and adjustable reasoning effort.
Context
1.049M
Max output
943.718K
Input tokens
$2 / 1M tokens
Output tokens
$10 / 1M tokens
Gemini 4 Argon
Googlegemini-4-argonGoogle's Gemini 4 Argon is a frontier model with a 1,048,576-token context window, multimodal input support, and top scores on 14 of 18 internal benchmarks.
Context
1.049M
Max output
943.718K
Input tokens
$4 / 1M tokens
Output tokens
$20 / 1M tokens
Gemma 4 26B A4B (free)
Googlegemma-4-26b-a4b-it:freeGemma 4 26B A4B is an open-weight multimodal Mixture-of-Experts model from Google DeepMind with 26B total and 4B active parameters, a 256K token context, and support for text, image, and video input.
Context
262.144K
Max output
32.768K
Input tokens
$0 / 1M tokens
Output tokens
$0 / 1M tokens