Compare AI models

Specifications
Context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider.
1M1M
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.02OpenInference$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.18Decart$1.875Google AI Studio
$21.48Baidu · fp8$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.
74.2%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.
31.2%19.1%
Terminal-Bench 2.1Agentic terminal coding — Can the AI work in a command-line terminal — running commands and finishing technical setup tasks the way a developer would? Higher is better.
90.6%89.4%
threejsevalCommunity preference (Three.js) — Every model gets the same prompt — "the Eiffel Tower", "a glass fishbowl", "a robot arm picking toys into a box" — and builds a 3D scene in Three.js. Real people then see two scenes side by side, names hidden, and vote for the one they prefer. The votes become a chess-style Elo rating on threejseval.com, averaged across all the prompts. It measures whether the scene looks and moves right to a human eye, not whether the code passes a test. Higher is better.
16421564
Overview
CompanyDeepSeekGoogle
Release dateSep 10 2026Sep 2 2026
AccessOpen WeightClosed
Model detailsView modelView model

Frequently asked questions

DeepSeek-V4.1-Flash leads Gemini 3.8 Flash on 4 of the 4 benchmarks they both report (DeepSWE 1.1, Terminal-Bench 4.0, Terminal-Bench 2.1, threejseval). 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. Gemini 3.8 Flash shipped 8 days before DeepSeek-V4.1-Flash, so benchmark comparisons should account for the intervening progress.

Context windows are 1M (DeepSeek-V4.1-Flash) vs 1M (Gemini 3.8 Flash). DeepSeek-V4.1-Flash is open weight, while Gemini 3.8 Flash is closed.

On DeepSWE 1.1, DeepSeek-V4.1-Flash leads at 74.2% vs Gemini 3.8 Flash at 71%. On Terminal-Bench 4.0, DeepSeek-V4.1-Flash leads at 31.2% vs Gemini 3.8 Flash at 19.1%. On Terminal-Bench 2.1, DeepSeek-V4.1-Flash leads at 90.6% vs Gemini 3.8 Flash at 89.4%. On threejseval, DeepSeek-V4.1-Flash leads at 1642 vs Gemini 3.8 Flash at 1564.