Gemini 3.8 Flash

LiveGoogle
Model IDgemini-3.8-flash

Gemini 3.8 Flash by Google: 1M context, 64K max output, with Vision, Function Calling, Reasoning, Prompt Caching, Response Schema, Audio, Video, File Input, Streaming, Web Search. Via WandAPI, Input (prompt) costs 1.5 Credits / M tokens, 70% below list price. 7-day uptime 95.1%. Compatible with Anthropic Messages / Gemini generateContent / OpenAI Responses: swap the base URL and you are connected.

Context window
1Mtokens
1,048,576
Max output
64Ktokens
65,536
7-day uptime
95.1%
1810 probes · 89 failed
Measured throughput
103.8tokens / s
Real traffic, last 7 days · output side

Capabilities

Listed exactly as the catalog flags them, including what this model does not support.

10 of 15 supported

Vision

Natively multimodal: captioning, classification, visual Q&A, chart and screenshot understanding. Images are converted to tokens at the input rate.

Function Calling

Connect the model to external tools and APIs: it decides when to call which function and with what arguments, your code runs it. Force or forbid calls with tool_choice.

Reasoning

The model thinks before answering, which markedly improves multi-step planning and reasoning for coding, math and data analysis. Thinking tokens bill at the output rate.

Prompt Caching

Repeated prefixes (system prompts, long documents) hit the cache: reads cost far less than input, writes are priced by retention time.

Response Schema

Constrain output to a JSON Schema you provide for predictable, type-safe results without parsing free text.

Audio

Audio input or speech output.

Video

Video input understanding or video generation.

File Input

Upload PDFs and other documents directly; the model reads the whole document with native vision.

Streaming

Tokens arrive over SSE as they are generated; the first frame is forwarded immediately with no buffering. Claude Code, Codex and similar tools depend on this.

Web Search

Vendor-hosted live web retrieval; the model decides when to search and cites sources.

RealtimeNot supported

Bidirectional low-latency voice / text sessions over WebSocket.

SessionNot supported

Server-side multi-turn context (e.g. previous_response_id in Responses) so you need not resend history.

MediaNot supported

Image / video / music generation endpoints.

Multipart FormNot supported

multipart/form-data file-upload requests.

Binary ResponseNot supported

Endpoints that return raw audio / image bytes.

Reliability & performance

WandAPI probes this model through the real supply chain on a schedule — measured, not self-reported.

Last probe: 11/2/2026, 7:28:37 AM
95.1%1810 probes in 7 days, 89 failed · automatic failover to backup channels
3.6s3.4s3.4s3.1s2.7s3.4s3.1s2.4s2.4s3.0s2.6s3.4s21.6s10.7s7.1s3.6s3.6s✕ 11/2/2026, 3:33:08 AM2.6s2.5s3.0s47.1s38.5s4.8s3.5s2.5s3.4s3.1s2.7s13.4s1.9s3.2s46.8s3.4s8.5s3.0s3.0s2.9s3.1s2.0s3.4s2.5s2.2s3.8s2.9s2.5s3.6s2.8s10.0s2.6s12.1s2.1s42.5s✕ 11/2/2026, 6:55:14 AM✕ 11/2/2026, 7:02:19 AM✕ 11/2/2026, 7:11:10 AM8.4s20.0s31.0s3.5s
11/2/2026, 1:59:03 AMnow
successful probe, bar height = end-to-end latency (0–4 s)failed probegrid 1 s

Latency & throughput

Latest latency3.5s
Avg. of last 607.9s
P95 of last 6042.5s
Output throughput103.8t/s
ProtocolsAnthropic Messages / Gemini generateContent / OpenAI Responses

Protocols & code samples

Change the base URL to WandAPI, keep everything else. Native protocols pass straight through; “adapted” ones are translated by the gateway.

Gemini CLI setup guide

Anthropic SDK or any Messages-protocol client: point base_url at https://api.wandapi.com and use a WandAPI key.

curl https://api.wandapi.com/v1/messages \
  -H "x-api-key: $WANDAPI_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "gemini-3.8-flash",
    "max_tokens": 1024,
    "messages": [{"role": "user", "content": "Explain prompt caching in one sentence"}]
  }'
EndpointPathMode
Token countPOST /v1beta/models/{model}:countTokensnative

Full price list

List price → WandAPI price per channel, every pricing dimension, nothing hidden.

1 Credit ≈ $0.152 · rate updated daily
ItemUnitGoogle list priceGemini官方分组 ×270% off
Input (prompt)per 1M tokens$0.751.5 Credits
Output (completion)per 1M tokens$3.757.5 Credits
Cache readper 1M tokens$0.0750.15 Credits
Web search (general)per 1K calls$14.0028 Credits

“Off” is computed at 1 Credit = ¥1 and today’s rate: 1 − channel multiplier × (1 Credit in the list currency).

FAQ

How much does the Gemini 3.8 Flash API cost?

Via WandAPI, Input (prompt) costs 1.5 Credits / M tokens, with 1 Credit = ¥1. That is 70% below the Google list price.

What are the context window and output limit of Gemini 3.8 Flash?

Context window 1M tokens, up to 64K tokens per response.

Does Gemini 3.8 Flash support function calling and structured outputs?

Function calling with tool_choice control is supported; structured outputs (JSON Schema) are supported.

How do I use Gemini 3.8 Flash in Claude Code?

Set ANTHROPIC_BASE_URL=https://api.wandapi.com, ANTHROPIC_API_KEY to your WandAPI key and ANTHROPIC_MODEL=gemini-3.8-flash, then run claude. No config files to edit.

How is the 95.1% uptime measured?

WandAPI sends probe requests to this model through the real supply chain on a schedule and divides successful probes by total probes over the last 7 days. When one channel fails the gateway fails over to a backup, so the figure reflects what end users actually see.

One API key for Gemini 3.8 Flash and 30+ models

Free credits on sign-up, pay as you go, no monthly fee.

Get an API Key