Gemini 3.8 Flash

google/gemini-3.8-flash

A chat model with a 1M-token context window, at $0.7875 per million input tokens and $3.9375 per million output tokens.

Details

Maker
google
Kind
Chat
Context window
1,000,000 tokens
Max output
65,535 tokens
Input
$0.7875 per million tokens
Cached input
$0.07875 per million tokens, 90% off
Cache write
Same as input
Output
$3.9375 per million tokens
Capabilities
Reasoning, tool use, vision, file input, web search
Takes
Text, image, pdf, video
Returns
Text
Zero data retention
Not on every provider
No training on requests
Yes, on every provider
Released
2026-09-02

Description

Gemini 3.8 Flash is the high-efficiency, cost-effective powerhouse of the Gemini 3 family. It delivers Pro-level agentic capabilities, major leaps in code generation and terminal execution. 3.8 Flash serves as the primary agentic workhorse in the Gemini 3 family, bridging the gap between deep-reasoning Pro models and high-throughput Flash-Lite models while delivering high token efficiency and multi-step multimodal processing.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.8-flash",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.