Google model

Gemini 3.8 Flash API pricing

Price per 1M tokens55% off
Input
$0.335Google's price: $0.75
Output
$1.671Google's price: $3.75

Google's official price (opens in a new tab) for Gemini 3.8 Flash is $0.75 per 1M input tokens and $3.75 per 1M output tokens. Here it costs $0.335 and $1.671, 55% less. Call it with the same key as every other model here.

Prices as of Nov 30, 06:38 PM UTC

Works with

Your app decides which API it calls, and Gemini 3.8 Flash answers on one of our three: OpenAI Chat Completions.

Anthropic Messages

Not on this model

POST /v1/messages

Claude Code calls only this API. To run Gemini 3.8 Flash in Claude Code, put Claude Code Router in between: it calls OpenAI Chat Completions for you.

Apps that call it
Claude CodeAnthropic SDK
Set up Claude Code Router

OpenAI Responses

Not on this model

POST /v1/responses

Codex CLI calls only this API, so it can't run Gemini 3.8 Flash. In the OpenAI SDK, call chat.completions instead of responses.

Apps that call it
Codex CLI
10 models work in Codex CLI

We test every channel on each API ourselves, when it's added and then every week. The last test ran on Nov 29, 2026. GET /v1/models/gemini-3.8-flash returns the same list.

Price per 1M tokens

Price per 1M tokens
TokensGoogle's priceOur price
InputGoogle's price: $0.75$0.335
OutputGoogle's price: $3.75$1.671
Cache read—$0.034
Cache write—$0.335

Our price is the cheapest channel that can serve Gemini 3.8 Flash now. Prices follow our costs, so they can change from day to day, and each request is billed at the price of the channel that served it.

What it costs

An app sending 10,000 requests a month, each with 2,000 input and 500 output tokens, pays $15.06 a month here, against $33.75 at the official price.

Work out your monthly cost

Set your own traffic to see what Gemini 3.8 Flash costs a month here and at Google's price.

Each request is like

Here, a month
$15.06
At Google's price
$33.75
Discount
$18.70 (55%)

Our side uses the cheapest channel's prices now. A request another channel serves is billed at that channel's prices. Caching isn't counted: Google charges less for cached input than for other input, so a workload that reads a lot from its cache can save less than this.

Channels

Each channel is a separate route to Gemini 3.8 Flash, with its own price. Stable channels are backed by the provider's service level agreement, and Best effort ones are cheaper but can slow down or stop without notice. Routing tries the cheapest channel that's doing well first, or the stable ones first on a key set to Stable first, and a key's max price skips any channel above it. A Backup channel is tried only when the others can't serve, at its own price.

  • gemini-iBest effort55% off
    Input
    $0.335
    Output
    $1.671
    Cache read / write
    $0.034 / $0.335
  • gemini-hBest effort40% off
    Input
    $0.446
    Output
    $2.228
    Cache read / write
    $0.045 / $0.446

Speed and success figures appear once a channel has served requests in the last 24 hours.

Context window and limits

Model id
gemini-3.8-flash
Made by
Google
Context window
1,048,576 tokens
Max output per request
65,536 tokens
APIs
OpenAI Chat Completions /v1/chat/completions
Supports
tool calls, image input, JSON schema output, reasoning
Status
On sale

Input, thinking and output share the 1,048,576-token window. One answer can be up to 65,536 tokens, and thinking counts toward that.

Other Gemini models

Our price is each model's cheapest channel now, beside Google's official price.

All Gemini models and prices
  • Gemini 4 Argongemini-4-argon
    32% off
    Our price, in / out
    $1.35 / $6.75
    Official price, in / out
    Official price, in / out: $2.00 / $10.00
    Cache read / write
    $0.068 / $1.35
    Context
    1.05M
    Max output
    65.5K
  • Gemini 4 Carbongemini-4-carbon
    32% off
    Our price, in / out
    $1.35 / $6.75
    Official price, in / out
    Official price, in / out: $2.00 / $10.00
    Cache read / write
    $1.35 / $1.35
    Context
    1.05M
    Max output
    65.5K
  • Gemini 4 Neongemini-4-neon
    32% off
    Our price, in / out
    $2.025 / $10.125
    Official price, in / out
    Official price, in / out: $3.00 / $15.00
    Cache read / write
    $2.025 / $2.025
    Context
    1.05M
    Max output
    65.5K
  • Gemini 4 Hydrogengemini-4-hydrogen
    32% off
    Our price, in / out
    $1.013 / $5.063
    Official price, in / out
    Official price, in / out: $1.50 / $7.50
    Cache read / write
    $0.051 / $1.013
    Context
    1.05M
    Max output
    65.5K
  • Gemini 3.7 Flashgemini-3.7-flash
    32% off
    Our price, in / out
    $0.507 / $2.532
    Official price, in / out
    Official price, in / out: $0.75 / $3.75
    Cache read / write
    $0.051 / $0.507
    Context
    1.05M
    Max output
    65.5K

Use Gemini 3.8 Flash

Change the base URL and the key in the SDK you already use. The model id is gemini-3.8-flash.

curl https://api.slashmodel.com/v1/chat/completions \  -H "Authorization: Bearer $SLASHMODEL_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "model": "gemini-3.8-flash",    "messages": [{"role": "user", "content": "Hello!"}]  }'

One key for every model here.

Top up from $10, change one URL, and pay only for the tokens you use.