Back to catalog
Publisher : GoogleFamily : GeminiAvailableNo subscription

Gemini 3.8 Flash API

Model ID : gemini-3.8-flash

Model ID

gemini-3.8-flash

OpenAI-compatible API

Context window

1,048,576 tokens

Maximum output

65,536 tokens

Input / 1M tokens

0.75 USD

Output / 1M tokens

3.75 USD

Cache read / 1M tokens

$0.075

Cache write / 1M tokens

$0.75

Cache reads reuse stored tokens; cache writes create the provider cache.

Access to this model

Authorized plans : gold, bronze, silver, pro, business

This model is also available with credits without a subscription.

When should you choose Gemini 3.8 Flash?

Evaluate this route for multi-step workflows: extracting information from documents, preserving their IDs and checking the result. This page’s badges describe the capabilities published by RouterLab.

Model name, protocol and account access are separate choices. Verify the full ID with your key in GET /v1/models; provider documentation does not guarantee every feature on the RouterLab route. Compare total input, output, cache and billed reasoning costs.

A reproducible check case

Gemini documentation describes Flash for complex workflows and agents. This case checks extraction while preserving an ID; it does not establish support for audio, video or hosted tools.

The context and maximum output published above are limits, not quality guarantees at those sizes. Enable tools, vision, streaming or structured output only when the corresponding badges are present. Validate returned fields and usage in your application.

Extract id and total_usd from this synthetic record. Return only JSON. Record: id=RL-DEMO-01; total=12.50 USD.
{"id":"RL-DEMO-01","total_usd":12.5}

Synthetic RouterLab data. Illustrative target response, without a provider call or performance score. Check JSON values rather than key order; inspect any different answer. Use a short output and parameters accepted by the route.

Google · Gemini 3.8 Flash ·

Check the integration contract

Published capabilities

  • Vision
  • Streaming
  • Reasoning

Minimal request

curl https://api.routerlab.ch/v1/chat/completions \
  -H "Authorization: Bearer $ROUTERLAB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-3.8-flash","max_tokens":128,"messages":[{"role":"user","content":"Hello RouterLab"}]}'

Audience measurement

Allow Google Analytics and RouterLab to measure public visits and link campaign sources to your signup? This is optional and can be changed at any time. If you decline, only anonymous visit totals are kept.