← Back to blog

Sparse models and custom chips point to cheaper in-house inference


DeepSeek’s model card for V4 Flash lists 284 billion parameters, of which only 13 billion are activated, and a context length of one million tokens.

That split points one way. Capable models are likely to get cheaper to run, and with them the premium for running models inside your own boundary.

Sparse models cut compute, not memory

A split between total and activated parameters is the mark of a mixture-of-experts design. As Hugging Face’s explainer puts it, “only some of them are used during inference”. Compute per token therefore follows the 13 billion activated parameters, so a model with the breadth of 284 billion answers at roughly the compute of a much smaller one.

Memory does not shrink the same way. The same explainer is clear that “all parameters need to be loaded in RAM”. Sizing hardware for such a model starts with memory. DeepSeek’s model card lists V4 Flash in mixed precision, with expert parameters in four-bit and most others in eight-bit, which needs fewer bytes per parameter than 16-bit weights.

Cloud providers design their own chips

Google (TPU), Amazon (Trainium and Inferentia) and Microsoft (Maia) have designed their own AI chips. Few enterprises will do the same.

What reaches them is the signal. If the companies that sell inference invest in hardware to cut its cost, that pressure is likely to show in the prices everyone pays, for API calls and for dedicated compute.

Three levers for your own models

A team running its own models has three levers. It can set a token budget per workload, route simple queries to small models and keep large ones for hard reasoning, and store weights at lower precision.

These levers matter more on dedicated hardware. A single tenant has fewer requests to batch together than a shared platform, so its cost per token can be higher. Speculative decoding, where a small model drafts tokens and the large one checks them, is worth testing on such hardware.

Where the breakeven sits

The breakeven is the volume at which dedicated capacity costs less per request than an API. Irregular work rarely reaches it. Capacity that sits idle still costs money, and a team that runs a model twice a week will not recover that. Steady work, such as daily document review or an inspection pipeline that runs all day, is where the sums can turn. The comparison needs your own volumes and prices, and it is worth doing before the next API contract renews.