google/gemini-3.8-flash

Google: Gemini 3.8 Flash

Context length
1049K
Input / 1M tokens
$0.83
Output / 1M tokens
$4.13
Released
2026-09-02
Modality
text+image+file+audio+video->text

About Google: Gemini 3.8 Flash

Gemini 3.8 Flash is Google's most intelligent Flash model with significant gains from 3.7 Flash across software engineering, agentic tasks, and multi-step reasoning.

Call Google: Gemini 3.8 Flash

Via OpenRouter: one base URL for every provider.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.8-flash",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Direct on Google Gemini / AI Studio:

curl https://generativelanguage.googleapis.com/v1beta/chat/completions \
  -H "Authorization: Bearer $GEMINI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.8-flash",
    "messages": [{"role": "user", "content": "Say hello"}]
  }'

Google Gemini / AI Studio keys

OpenRouter keys

OpenRouter keys work for google/gemini-3.8-flash regardless of the upstream provider.