Compare AI models

Specifications
Context windowHow much text the model can hold in mind at once — your question, any documents you attach, the conversation so far, and its own reply. Go past it and the earliest part falls out of view.
—1M
API pricingUSD per 1M tokens · lower wins
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it.
—$0.75
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one.
—$3.75
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again.
—$0.075
Cheapest inputLowest input rate across every provider on OpenRouter, the lab included. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page.
$0.15DeepSeek$0.375Google AI Studio
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input.
$0.60DeepSeek$1.875Google AI Studio
$60.00DeepSeek$338Google list price
Benchmarks
DeepSWE 1.1Agentic coding — Artificial Analysis' independent test of deep, agentic software-engineering work — the AI has to plan and carry out substantial coding tasks end to end. (Version 1.1 of the test.) Higher is better.
77%71%
Terminal-Bench 4.0Agentic terminal coding — Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Version 4.0 recalibrated how much time, CPU and memory each task gets, removed eight tasks and fixed nineteen, so fewer runs fail for reasons that have nothing to do with the model. Scores are not comparable with earlier versions. Higher is better.
42.3%19.1%
Overview
CompanyDeepSeekGoogle
Release dateOct 17 2026Sep 2 2026
AccessOpen WeightClosed
Model detailsView modelView model

Frequently asked questions

DeepSeek-V4.1-Flash-1017 leads Gemini 3.8 Flash on 2 of the 2 benchmarks they both report (DeepSWE 1.1, Terminal-Bench 4.0). Only Gemini 3.8 Flash has a verified first-party API price: $0.75 per million input tokens and $3.75 per million output tokens. No pay-as-you-go API rate is tracked for DeepSeek-V4.1-Flash-1017. Gemini 3.8 Flash shipped 45 days before DeepSeek-V4.1-Flash-1017, so benchmark comparisons should account for the intervening progress.

DeepSeek-V4.1-Flash-1017 is open weight, while Gemini 3.8 Flash is closed.

On DeepSWE 1.1, DeepSeek-V4.1-Flash-1017 leads at 77% vs Gemini 3.8 Flash at 71%. On Terminal-Bench 4.0, DeepSeek-V4.1-Flash-1017 leads at 42.3% vs Gemini 3.8 Flash at 19.1%.