Gemini 3.8 Flash API
Google's most capable Flash model for agentic work
About this model
Gemini 3.8 Flash is, in Google’s words, its most intelligent Flash model, built for long-horizon software engineering, autonomous agents and complex enterprise workflows. Google reports gains over Gemini 3.7 Flash.
Google’s documentation lists an input limit of 1,048,576 tokens and an output limit of 65,536 tokens, with low, medium and high thinking levels. It does not generate images or audio.
Pick it for demanding agentic or coding work at Flash-tier speed; Google names Gemini 4 Hydrogen as the upgrade path from it. In this catalog it accepts images as well as text.
Use cases
- Long-horizon coding and software tasks
- Autonomous agents and multi-step workflows
- Enterprise document and data tasks
Input and output
- Input
- Text and images
- Output
- Text
Developer
- Developer
- Type
- Conversation
- Context
- 1,000,000 tokens
- Capabilities
- Image input
Gemini 3.8 Flash request example
Use https://gatelum.com/v1 as the base URL and pass google/gemini-3.8-flash in the model field. You create the key in your account after signing up.
curl --silent --show-error --fail-with-body \
--header 'Authorization: Bearer glt_YOUR_KEY' \
'https://gatelum.com/v1/chat/completions' \
--header "Content-Type: application/json" \
--data-binary @- <<'JSON'
{
"model": "google/gemini-3.8-flash",
"messages": [
{
"role": "user",
"content": "Hi! Tell me about yourself in two sentences."
}
]
}
JSONClaude Code and Anthropic-protocol clients
For clients using the Anthropic protocol, point the address at ANTHROPIC_BASE_URL=https://gatelum.com with no /v1. The model ID does not change.
export ANTHROPIC_BASE_URL=https://gatelum.com
export ANTHROPIC_AUTH_TOKEN=glt_YOUR_KEY
export ANTHROPIC_MODEL=google/gemini-3.8-flash
claudeWhere to use Gemini 3.8 Flash
Guides with step-by-step instructions for the tools that support this model: