Quiet Visionit won't fit: pricing the cheap models and the open ones that do

← All posts December 2026

· 4 min read

DeepSeek V4.1 Flash on a 36 GB Mac, and what to use instead

It won't fit: pricing the cheap models and the open ones that do.

Part 1 of Cheap AI models

AI modelslocal AI

DeepSeek V4.1 Flash looked like the obvious cheap model for Claude Code to hand grunt work to. The plan was to run it locally on an M3 Max with 36 GB of memory.

V4.1 Flash needs at least 169 GB

V4.1 Flash is a mixture-of-experts model with 763 billion parameters. Only a few billion of them do work on each token, but the whole model still has to be in memory. The smallest community build I found is about 169 GB, and the original checkpoint is about 510 GB. My Mac has 36 GB of memory and 128 GB of free disk, so it can’t even store the smallest build, let alone run it.

That leaves three options: call V4.1 Flash through DeepSeek’s API, call a different cheap model, or run a smaller open model on the Mac.

The cheap API models

Prices are US dollars per million tokens. TB 4.1 is the independent Terminal-Bench 4.1 score, which is the only coding benchmark that covers most of these models. AA is the Artificial Analysis Intelligence Index (v5).

Model Input Output Context TB 4.1 AA
Claude Haiku 5.5 $0.10 $0.50 1M 40.0 37
DeepSeek V4.1 Flash (DeepSeek API) $0.30 $1.20 1M 38.5 32
DeepSeek V4.1 Flash (OpenRouter) $0.051 $0.48 1M 38.5 32
GLM-5.3-Flash ~$0.15 ~$0.50 1M 37.0 28
MiniMax M3.1 Flash ~$0.15 ~$0.60 1M not listed 29
Qwen3.8-Flash ~$0.15 ~$0.47 256K–1M not listed 28
GPT-6 Luna ~$0.10 ~$0.50 1M 15.2 28
Gemini 3.8 Flash ~$0.75 ~$3.75 1M 18.2 n/a

Prices with a ~ come from resellers or price trackers, not the vendor’s own page. Haiku’s price rises to $0.50 / $2.50 for any request with a prompt over 100K tokens. DeepSeek’s price halves outside its peak hours, and cached input costs $0.006.

OpenRouter lists the same DeepSeek model for much less than DeepSeek charges directly, because other hosts serve it there. Three things stood out:

  • Through OpenRouter, DeepSeek V4.1 Flash is the cheapest model here.
  • Haiku 5.5 scores highest on both measures and is the cheapest on its vendor’s own price list.
  • DeepSeek V4.1 Flash is close behind on coding. Long prompts don’t cost extra, and its endpoint speaks the Anthropic API, so Claude Code can call it by changing one base URL.
  • GPT-6 Luna and Gemini 3.8 Flash score less than half as well on agentic coding. On top of that, Gemini costs 7 to 15 times more.

Daily cost for 10M input and 2M output tokens

At list prices:

Model Per day Per month
DeepSeek V4.1 Flash via OpenRouter ~$1.47 ~$44
Claude Haiku 5.5 (prompts under 100K) $2.00 ~$60
DeepSeek V4.1 Flash, off-peak $2.70 ~$81
DeepSeek V4.1 Flash, peak, 80% cache hits ~$3.05 ~$92
DeepSeek V4.1 Flash, peak, no cache $5.40 ~$162
Gemini 3.8 Flash (intro price) $15.00 ~$450

Open models that fit in 36 GB

After macOS takes its share, about 28 GB is left for a model. These are the strongest models that fit:

Model Size on disk Speed on M3 Max Notes
Qwen3.8-27B, 4-bit 16 GB 34–41 tokens/s Strongest that fits, with room for long context
Qwen3.6-35B-A3B, 4-bit 23 GB ~41 tokens/s, faster with speculative decoding Little memory left for context
Gemma 4 26B-A4B, 4-bit ~16 GB not reported Scores well below the two Qwen models

The Qwen scores come from Qwen and haven’t been run on the independent Terminal-Bench board, so I can’t line them up against the API models. You can install LM Studio and Ollama from a plain download.

Is local worth it?

For a main worker, no. At about 40 tokens a second, the Mac needs around 14 hours to write 2 million output tokens. Reading 10 million input tokens adds another 3 hours or so, and the Mac is busy the whole time. The API does the same work for about $2.

Local still makes sense for private files, offline work and small background jobs. For everything else I’d use an API model.

Sources

All figures were checked on 3 December 2026. Model prices change monthly.