Model Switch Cost
Gemini 3.5 Flash-Lite vs DeepSeek V4.1 Flash: The Cache Decides Which Is Cheaper
Gemini 3.5 Flash-Lite and DeepSeek V4.1 Flash both list $0.30 per million input tokens. We ran both on the same code-graded tasks. Flash-Lite cost 2.6 times as much per correct answer, and almost all of that came from one long-document task that missed the cache on our free key. Without it, Flash-Lite was 27% cheaper.
It depends on how much of your input comes from cache. On our everyday tasks, Gemini 3.5 Flash-Lite cost $905 per million correct answers and DeepSeek V4.1 Flash cost $347. One task that resends a 20K-token handbook made up 74% of Flash-Lite's bill, because DeepSeek served 98.8% of that input from cache and Flash-Lite, on a free key, got 1.6%. Without that task Flash-Lite was 27% cheaper, $262 against $361. At DeepSeek's hit rate it would be about $310. It needs about 93% to tie. We could not measure the rate a paid Gemini key gets.
| Model | Input $/1M | Cached input $/1M | Output $/1M | Source | Last verified How we verify |
|---|---|---|---|---|---|
| Gemini 3.5 Flash-Lite | $0.30 | $0.03 | $2.50 | Official source | Oct 27, 2026 |
| DeepSeek V4.1 Flash | $0.30 | $0.006 | $1.20 | Official source | Nov 5, 2026 |
Prices from official provider pages, verified on the date shown.
6 min read - Published Nov 4, 2026 - Updated Nov 5, 2026
Same input price, very different bill
Gemini 3.5 Flash-Lite and DeepSeek V4.1 Flash both list $0.30 per million input tokens, so they look like close rivals on a price table. Flash-Lite's output costs about twice as much. Its cached input costs five times as much. That last line turned out to matter more than the others.
| List price / 1M tokens | Gemini 3.5 Flash-Lite | DeepSeek V4.1 Flash (Peak) |
|---|---|---|
| Input | $0.30 | $0.30 |
| Cached input | $0.03 | $0.006 |
| Output | $2.50 | $1.20 |
We ran Flash-Lite through our open LLM cost per task benchmark from November 2 to 4, 2026. The tasks are checked by plain code: extraction, JSON, SQL, tool calls, bug fixes, regexes and questions over a long document. A failed answer gets up to two retries and every attempt counts toward the cost. The DeepSeek numbers come from our earlier run of the same tasks. Everything is at list price. Current rates are on the Flash-Lite pricing page.
We ran Flash-Lite on a free key, and nothing was billed. Google's pricing page lists context caching as not available on the free tier for this model. The API still reported a few cached tokens, but the hit rates below may not match a paid key. We show the result at other hit rates so you can read it either way.
The result, with and without one task
Taken as a whole, DeepSeek wins clearly: Flash-Lite cost 2.6x as much on everyday tasks and 2.7x on hard ones. Take out the long-document task and the order flips.
| Cost per 1M correct answers | Flash-Lite | DeepSeek Flash |
|---|---|---|
| Everyday tasks, all 9 | $905 | $347 |
| Hard tasks, all 6 | $1,589 | $596 |
| Everyday, without the long document | $262 | $361 |
| Hard, without the long document | $498 | $670 |
One task made up 74% of Flash-Lite's everyday bill and 75% of its hard bill. It sends a handbook of about 20K tokens with every question. DeepSeek served 98.8% of that input from cache and paid $0.00023 per correct answer. Flash-Lite got one hit in 50 calls, 1.6% of the input, and paid $0.00604, about 26 times as much. The answers were only a few tokens long, so nearly all of that money was input.
On short prompts Flash-Lite was cheaper despite the higher output price, because it writes far less. It reported no reasoning tokens at all. On the 9 shared everyday tasks it wrote 25,733 output tokens against DeepSeek's 101,129, and 81% of DeepSeek's were reasoning you never see. Bug fixes show it best: $0.00027 per correct answer on Flash-Lite, $0.00078 on DeepSeek.
Task by task the two split almost evenly, 7 to Flash-Lite and 8 to DeepSeek. DeepSeek tended to win where prompts are long and repeat, such as tool schemas and JSON schemas. Flash-Lite won bug fixes, record cleanup and regexes, where DeepSeek reasons at length.
What the bill looks like at other hit rates
Since the free key may have held the hit rate down, here is the same run repriced. The repriced bars are arithmetic, not measurements: same tokens, same answers, with a different share of the long-document input billed at the cached rate.
At DeepSeek's hit rate Flash-Lite would be the cheaper model, $310 against $347 on everyday tasks and $560 against $596 on hard ones. To tie, it needs about 93% of the long-document input from cache on the everyday set and about 96% on the hard set. So the winner comes down to one number, and that is the number our run could not pin down.
A paid key may do better. Google's caching guide describes implicit caching as on by default, gives no promise of a hit, and suggests sending requests with a similar prefix in a short amount of time. Our free quota spaced requests about 7.5 seconds apart. Google also lists a storage price of $1.00 per million tokens per hour for this model. We did not test explicit caching, and the numbers above leave that fee out.
What to do with this
- Short prompts and no big repeated context: Flash-Lite looks like the better buy, about 27% cheaper in this run.
- A large document or system prompt on every call: check your own hit rate before you decide. Your provider's usage report shows cached tokens per call, and a few hundred real requests will tell you more than our run can.
- Comparing any two models: price the cached input line, not only the input line. Here it swung the bill by nearly three times.
To turn your own numbers into a comparison, use the model switch cost calculator with your measured success rate and cached share.
Limits of this test
It is one run per model, on synthetic tasks, in English. DeepSeek's prices here are its Peak rates, and off-peak hours bill half of that. Flash-Lite missed 6 of 270 hard items, all on one regex task that both DeepSeek models passed, and its hard-tier cost per correct answer already includes those misses. The tasks do not cover long agent runs or open-ended writing.
The raw results list every task, and the runner is open source. If you have a paid Gemini key, the two long-document tasks cost well under a dollar to run, and that one number would settle this. Open an issue with your result.
FAQ
Is Gemini 3.5 Flash-Lite cheaper than DeepSeek V4.1 Flash?
On short prompts, in our run, yes: about 27% cheaper per correct answer. With a long prompt repeated on every call, it depends on the cache. In our run it cost 2.6x as much, but that run used a free key. Task by task the two split almost evenly: Flash-Lite was cheaper on 7 of our 15 tasks and DeepSeek on 8.
Why was the Gemini cache hit rate so low in this test?
We do not know for certain. Google's pricing page lists context caching as not available on the free tier for this model, yet the API still reported some cached tokens: one hit in 50 calls on one task and 12 in 60 on another. Requests also went out about 7.5 seconds apart because of the free quota. Treat those rates as what a free key got, not as what a paid key gets.
What cache hit rate does Flash-Lite need to match DeepSeek Flash?
About 93% of the long-document input on our everyday tasks and about 96% on the hard tier. With fewer long prompts in your mix, the break-even falls, because Flash-Lite starts ahead on short prompts.
Is Gemini 3.5 Flash-Lite less accurate than DeepSeek V4.1 Flash?
Slightly, on one task type. Flash-Lite got every standard item right within three attempts and 264 of 270 hard items. All 6 misses were hard regex items that both DeepSeek models passed. Six misses in one task type is too few to quote as a general accuracy number.
Did this run cost anything?
No. It ran on a free Google AI Studio key, so nothing was billed. The dollar figures are the logged tokens priced at Google's paid list rates, so you can compare them with paid runs. The free quota is about 500 requests a day, which is why the run took three days.
Put your own cache hit rate into the math.
Enter your prompt size, how much of it repeats, and your hit rate. The calculator shows what caching saves on each model at current list prices.