Back to Models

Gemini 3.8 Flash

googlegoogle/gemini-3.8-flash

How TheRouter serves this differently from the vendor

As the vendor operates it

Google serves Gemini 3.8 Flash through the Gemini API (ai.google.dev) and Vertex AI. The upstream model accepts text, image, audio, and video input and returns text output. Native capabilities include thinking, function calling, structured outputs, code execution, context caching, Batch API, Google Search grounding, Google Maps grounding, and file search. Audio generation, image generation, and the Live API are not supported. Thinking tokens are billed as output tokens at the same rate.

On TheRouter

TheRouter serves Gemini 3.8 Flash as OpenAI-compatible /v1/chat/completions under google/gemini-3.8-flash. Exposed input modalities are text, image, and PDF; audio and video input are not passed through. Function calling and structured outputs work unchanged via the OpenAI tools schema. Thinking tokens appear in usage.completion_tokens. Audio generation, image generation, and the Live API are not available through TheRouter.

API guide

Chat completion

Standard OpenAI-compatible chat completion. Thinking is enabled by default; its tokens count as output tokens.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"google/gemini-3.8-flash","messages":[{"role":"user","content":"Solve this bug in my code"}]}'

Function calling

Function calling is supported and maps onto the OpenAI tools schema.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.8-flash",
    "messages": [{"role":"user","content":"Run the test suite and report results"}],
    "tools": [{"type":"function","function":{"name":"run_tests","parameters":{"type":"object","properties":{"suite":{"type":"string"}},"required":["suite"]}}}]
  }'
Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release datedeepmind.google β†—2026-09-19verified
Knowledge cutoffdeepmind.google β†—2026-09-19verified
Input token limitdeepmind.google β†—2026-09-19verified
Output token limitdeepmind.google β†—2026-09-19verified
Native modalities (upstream)deepmind.google β†—2026-09-19verified
Vendor list price (Standard tier)cloud.google.com β†—2026-09-19verified
Effort-level controlblog.google β†—2026-09-19verified
DeepSWE v1.1deepmind.google β†—2026-09-19verified
Terminal-bench 2.1deepmind.google β†—2026-09-19verified
Terminal-bench 4.0deepmind.google β†—2026-09-19verified
GDPVal-AA v2deepmind.google β†—2026-09-19verified
Vals Finance Agent v2deepmind.google β†—2026-09-19verified
Harvey Legal Agent Benchmarkdeepmind.google β†—2026-09-19verified
HLE-Verifieddeepmind.google β†—2026-09-19verified
CharXiv (no tools)deepmind.google β†—2026-09-19verified
LVBench (agentic)deepmind.google β†—2026-09-19verified
OSWorld-2.0deepmind.google β†—2026-09-19verified
BioMysteryBench (Human Solvable)deepmind.google β†—2026-09-19verified
Google ships Gemini 3.8 Flash and 3.8 Flash Cyberblog.google β†—2026-09-19verified
How does Gemini 3.8 Flash compare to Gemini 3.7 Flash?deepmind.google β†—2026-09-19to verify
Why does my usage.completion_tokens seem high?deepmind.google β†—2026-09-19to verify
Is the $0.75/$3.75 introductory price the real billed rate?cloud.google.com β†—2026-09-19to verify
Customer Support