Google (Gemini / Vertex)
Gemini 3.8 Flash
Fast, inexpensive Gemini model. Promotional rate valid through 2026-12-31; list price doubles to $1.50 input / $7.50 output from 2027-01-01.
USD per 1M output tokens
$3.75
- input
- $0.75
- output
- $3.75
#9 cheapest of 25 in Large language models
Official pricing ↗Capabilities, explained
What this API can do, and what each capability means for your project.
Input price
$0.75
Cost of the text, images and files you send to the model.
Context window
1,000K tokens
How much text the model can read at once. 200K tokens ≈ a 500-page book.
Max output
64K tokens
Longest single response the model can write.
Input types
text, image, audio, video, pdf
What kinds of input the model understands besides text.
Tool use / function calling
Yes
The model can request calls to your functions/APIs with structured arguments, the basis of agents.
Guaranteed JSON output
Yes
The API can force the response to match a JSON schema you provide.
Extended reasoning
Yes
The model can 'think' step by step before answering, improving hard math/coding at extra cost and latency.
Open weights
No
The model weights are downloadable, so you can self-host it or switch hosting providers without changing models.
Typical latency
—
How long until the first useful output arrives. Lower is better for interactive apps; batch jobs rarely care.
Price history
Only one price recorded so far. The chart appears once the price changes.