AI for Business 11 min read

Local LLM vs API Cost: What Two DGX Sparks Cost per Token, and When They Pay for Themselves

ai.rs Nov 28, 2026
Local LLM vs API Cost: What Two DGX Sparks Cost per Token, and When They Pay for Themselves illustration

Two NVIDIA GB10 boxes on a desk run a 763-billion-parameter model with a million-token window, day and night, for the household and the agents that work for it. They cost about $8,000 in June. Every month someone asks whether that was cheaper than paying per token, and the honest answer has two halves that the usual break-even post gives you only one of.

The first half is arithmetic, and it is below, measured on the pair rather than estimated. The second half is a question the arithmetic cannot answer: what would you otherwise be paying for? The same model is sold by its maker at $1.20 per million output tokens. A frontier model from the big three labs is sold at $20. Against one of those prices the hardware pays for itself in about a month of full load; against the other it never does. Both are true at once, and which one applies to you decides everything.

What was measured, and on what. Two GB10 workstations, 128 GB each, one 200 Gb cable. The engine since 26 October is DeepSeek V4.1 Flash at 2.9 bits per weight on TensorFold; the numbers from before that are V4 Flash on vLLM, the pair's engine from August. Power is read from the GPU rail at 2 Hz, so it excludes the Grace CPU, memory, NVMe, fans and the power supply's own losses; wall draw is higher and we say by roughly how much. API prices are the vendors' list prices on 28 November 2026. Hardware prices are retailer listings on the same day.

What a million tokens costs on the desk

Energy is the only thing a token costs once the hardware is bought, and it is small.

Row V4 Flash on vLLM, August V4.1 Flash on TensorFold, now
one stream, decode 83 W, 88 tok/s on structured text 61 tok/s prose, 138 structured
four to six streams, decode 89 W, 188 tok/s aggregate 165 W, 106 tok/s aggregate on prose, 136 on the recipe's mixed set
energy per million output tokens, one stream 0.26 kWh
energy per million output tokens, saturated 0.15 kWh 0.43 kWh
tokens per joule 1.08 single, ~1.9 saturated 0.64 on prose

Two things to read off that. The current engine is faster per user and less efficient per token than the old one: it keeps both GPUs busy where vLLM's loop left them waiting, so it draws 1.6 times the power for 1.6 times the single-stream speed and less aggregate throughput. We chose it for the users, not the meter. And at either engine's figure, a million tokens is under half a kilowatt-hour.

What that costs depends on where the desk is:

electricity, residential per kWh per million output tokens, current engine per million, August engine
Serbia, EPS blue zone with VAT €0.147 €0.064 €0.022
United States, EIA average, September 2026 $0.182 $0.078 $0.027
Germany, BDEW household average, October 2026 €0.373 €0.16 €0.056

Call it eight cents a million in the US, six in Serbia, sixteen in Germany. Prefill, reading the prompt, costs less still: about 0.085 joules a token at the pair's 2,000 tokens a second, which is under a cent per million input tokens anywhere.

What the same million costs from an API

provider and model, list price, 28 November 2026 input per million cached input output per million
DeepSeek, deepseek-flash, the same V4.1 Flash model, peak $0.30 $0.006 $1.20
DeepSeek, deepseek-flash, off-peak $0.15 $0.003 $0.60
Alibaba, Qwen4-Max $1.50 not listed $4.50
Anthropic, Claude Sonnet 5.5 $2.00 $0.10 $10.00
Google, Gemini 4 Neon $3.00 $0.15 $15.00
OpenAI, GPT-5.6 Sol $4.00 $0.40 $20.00
Anthropic, Claude Opus 5.5 $4.00 $0.20 $20.00
Anthropic, Claude Fable 5.2 $8.00 $0.20 $40.00

The local figure sits at the bottom of that list by a wide margin, and that is the number the break-even posts stop at. It is the wrong place to stop, because the list spans a factor of 33 and the hardware only pays back against the top of it.

The arithmetic, with the hardware at $8,000

Two partner GB10 boxes still cost about what they did in June in the United States: an Acer Veriton GN100 lists at $3,999.99 and a Gigabyte AI TOP Atom at $4,699.99 on 28 November, so a pair is $8,000 to $9,400. NVIDIA's own DGX Spark went up to $6,950 in October, so a pair of those is $13,900. In Germany the partner boxes are €6,259 to €7,499 each, with the cheapest offers grey imports. The table uses $8,000, which is what we paid in June; the sensitivity row below scales it, and the postscript redoes the whole thing at what a pair actually costs to buy now.

The saving per million output tokens is the API price minus the electricity, and the payback is $8,000 divided by that saving. Then divide by what the pair produces in a day.

what you would otherwise pay for saving per million tokens to pay back $8,000 days at full load, 106 tok/s days at full load, 188 tok/s
Claude Opus 5.5 or GPT-5.6 Sol, $20 $19.92 402 million 44 25
Gemini 4 Neon, $15 $14.92 536 million 59 33
Claude Sonnet 5.5, $10 $9.92 806 million 88 50
Qwen4-Max, $4.50 $4.42 1.81 billion 198 111
DeepSeek's own API, peak, $1.20 $1.12 7.1 billion 2.1 years 1.2 years
DeepSeek's own API, off-peak, $0.60 $0.52 15 billion 4.6 years 2.6 years

The two throughput columns are the current engine at four prose streams and the August engine at six, both measured. Nobody runs a pair at 100% duty for a month, so the real payback is the table divided by your duty cycle: at a quarter, the top row is half a year; at a tenth, a year and a quarter. And the bottom two rows are the half the spreadsheets leave out. If the thing you would otherwise buy is this model from its maker, the electricity is 5 to 13 percent of the API price and the hardware is a sunk cost you will not recover on tokens in the life of the machine.

The assumption that does not matter, and the two that do

Electricity price. Going from Serbia's tariff to Germany's, two and a half times more per kilowatt-hour, moves the top row by a few hours. Energy is 0.4 percent of a $20 token and 7 percent of a $1.20 one. If you were hoping solar would be what makes local inference pay, it was already paying or it never will; the roof is worth about €90 to €230 a year, which is the idle cost below.

Hardware price. This one scales the whole table. At $13,900 for two Founders Editions the 44 days become 76. At $4,000, a used pair or boxes you already own for something else, 22. Hardware you have already bought has a payback of zero, and that is the common case among people who end up running models at home: the machine came first, the arithmetic after.

Duty cycle. The one that actually decides it. A box costs the same whether it works or waits. A small team with agents running all day gets a quarter to a half; one heavy user gets a tenth; a household that asks questions in the evening gets two percent, which turns 44 days into six years. The question is not what power costs. It is whether you have the work.

The cost of being available

An idle pair draws 22 to 23 W on the GPU rails and, from experience with the supplies, somewhere around 60 to 80 W at the wall with everything on. Left on all year that is about 600 kWh: €90 in Serbia, $112 in the US, €229 in Germany. It is the one recurring charge an API does not have, and it is the price of a model that answers in 0.2 seconds at three in the morning with no queue in front of it.

What the money buys that the token price does not

Payback compares prices. It says nothing about whether the two things are the same product, and they are not, in both directions.

Where the local box is the better tool, not the cheaper one.

  • Agent loops. An agent re-sends most of its context every turn. With the prefix cached locally, a turn on 110,000 tokens of context costs about 0.6 seconds after the first, and nothing. When a follow-up question costs nothing, you ask the ones you would otherwise talk yourself out of. That changed how the household works more than any number here.
  • Volume. No tier, no quota, no 429. The same pair put 1,319 maths problems through in sixteen minutes with zero errors, and ran a 175-problem coding benchmark twice for the cost of the electricity. Classification sweeps, migrations, test generation across a repository, anything parallel and individually easy, is where a saturated local machine wins on wall clock as well as money.
  • The whole window. 1,048,576 tokens of context with a needle found at 976,402 tokens and no long-context premium. Prefill at that depth takes ten minutes, so the top of the window is a batch feature, but it is there and it does not cost extra.
  • Confidential material. Client code under NDA, regulated data, the security review you would not paste into a browser. Nothing leaves the network. For some organisations this is not a cost line but the only option that exists, and the comparison above is moot.
  • Reproducibility. The weights on that disk behave the same next year. No silent update, no deprecation notice, no evaluation re-run because the endpoint changed. A frozen checkpoint is a different kind of artefact from an API version string.
  • Documents. The current engine reads them: 13 of 13 fields off a degraded Serbian invoice, as well as the unquantised model does.

Where to reach for the frontier anyway. Our own harnesses tie the local model to its unquantised API version on everything we test except hard competition code, where the 2.9-bit quantisation gives back 7 of the 17 problems the model gains. What we have not measured is the local model against a frontier model on the same tasks, and we will not quote the vendors' tables as if we had. What we can say from use: repo-scale synthesis from a specification, the hardest multi-step reasoning, and low-level correctness-critical code are where a $20 token earns its price, and the sensible configuration is both, in the same tool, with the local endpoint taking the large majority of turns and the frontier the ones that deserve it.

The summary

  • Electricity is $0.06 to $0.16 per million output tokens on two GB10s, measured on the GPU rail, depending on the engine and the country. Prefill is under a cent.
  • Against a $20 frontier model the $8,000 pair pays back in 25 to 44 days at full load, 44 at the current engine's throughput; divide by your duty cycle for the calendar.
  • Against the same model's own API at $0.60 to $1.20, it never pays back on tokens. If that is what you would otherwise buy, buy the hardware for privacy, the window, reproducibility and the absence of a meter, or do not buy it.
  • Electricity price barely matters; hardware price and utilisation decide it. Hardware you already own has a payback of zero.
  • Keeping it available costs about €90 to €230 a year. That is the one line the API does not have.

The arithmetic is what gets the question asked. The reason people keep the boxes is that a model you own gets used differently: more, sooner, and for things you would never put on a meter.

Postscript: the same arithmetic at today's prices

List prices are one thing and what you can actually put in a basket is another. A pair of GB10 boxes bought today comes to almost $16,000, twice what we paid in June. The electricity does not change, the throughput does not change, and the table above simply doubles.

what you would otherwise pay for tokens to pay back $16,000 days at full load, 106 tok/s days at full load, 188 tok/s
Claude Opus 5.5 or GPT-5.6 Sol, $20 803 million 88 49
Gemini 4 Neon, $15 1.07 billion 117 66
Claude Sonnet 5.5, $10 1.61 billion 176 99
Qwen4-Max, $4.50 3.6 billion 1.1 years 223
DeepSeek's own API, peak, $1.20 14.3 billion 4.3 years 2.4 years
DeepSeek's own API, off-peak, $0.60 31 billion 9.2 years 5.2 years

Against a $20 frontier model that is still a quarter at full load, a year at a 25 percent duty cycle, two and a half years at 10 percent. Against the model's own API it is now longer than the useful life of the hardware under any assumption.

There is a cleaner way to see what the price rise did. Spread $16,000 over three years and add the electricity, and the pair's all-in cost per million output tokens at full load is about $1.70 on the current engine and about $1.00 on the August one. That is above DeepSeek's own peak price of $1.20 in the first case and above the off-peak price in both. At the June price the same figures were $0.90 and $0.55, under the API in three of the four comparisons. In other words, at today's hardware prices a saturated pair of GB10s no longer undercuts the maker's API on tokens even in theory, while it still undercuts every frontier API by an order of magnitude. At a 25 percent duty cycle the all-in cost is about $6.50 per million, more than Qwen4-Max charges and less than Sonnet; at 10 percent it is about $16, close to the frontier price itself.

None of this changes the second half of the article. The window, the privacy, the fixed model and the absence of a meter cost the same whether the boxes were $8,000 or $16,000, and a pair that is already on the desk has a payback of zero. What the price rise changes is the advice for someone who has not bought yet: the case for buying two GB10s to save money on tokens was good in June against the frontier APIs and poor against DeepSeek's own; today it is fair against the frontier APIs and gone against DeepSeek's own. Buy them for what the money buys, or wait for the price to come back down.

Frequently Asked Questions

Is it cheaper to run an LLM locally or to use an API? +

Per token, local electricity is cheaper than any API: two DGX Sparks running a 763B model cost $0.06 to $0.16 per million output tokens in power, against $0.60 to $40 from the APIs. Whether the hardware ever pays back depends on what you would otherwise buy. Against a $20 frontier model, an $8,000 pair pays back in 25 to 44 days of full load, a pair at today's price of almost $16,000 in 49 to 88; against the same open model from its maker's API at $1.20, the payback is years and in practice never. Hardware you already own pays back from the first token.

How much electricity does a local LLM use per million tokens? +

Measured on two GB10 boxes: 0.26 kWh per million output tokens with one stream and 0.15 kWh saturated on vLLM in August; 0.43 kWh saturated on the faster TensorFold engine we run now, which draws 165 W for the pair under load. Reading the prompt costs about 0.085 joules per token, under a cent per million. A single RTX 5090 running an 8B model uses about 0.44 kWh per million at 338 W and 212 tokens a second.

How long does a DGX Spark take to pay for itself? +

Two boxes at $8,000 against Claude Opus 5.5 or GPT-5.6 Sol at $20 per million output tokens: 402 million tokens, which is 44 days of continuous generation at the current engine's 106 tokens a second or 25 days at the August engine's 188. Divide by your duty cycle: a quarter gives about half a year, a tenth about fifteen months. Against Sonnet 5.5 at $10 it is twice as long; against DeepSeek's own API at $1.20 it is over two years continuous. A pair bought today costs almost $16,000, so double all of it: 88 days against the $20 models at full load, and more than four years against DeepSeek's own API.

Does the electricity price change the break-even? +

Barely. Energy is about 0.4% of a $20 token, so going from Serbia's €0.15 per kWh to Germany's €0.37 moves a 44-day payback by a few hours. Hardware price scales the payback directly and utilisation divides it; those two decide it. Solar or cheap power mostly removes the idle cost of keeping the machine on, about 600 kWh a year.

What does it cost to keep a local AI server running idle? +

Two GB10s idle at 22 to 23 W on the GPU rails and roughly 60 to 80 W at the wall with everything on, about 600 kWh a year: €90 at Serbian household rates, $112 at the US average, €229 at German rates. It is the one recurring cost a metered API does not have, and it buys a model that answers in a fifth of a second with no queue.

When is a frontier API worth paying for instead of a local model? +

When the task is one the local model loses on: repository-scale synthesis from a specification, the hardest multi-step reasoning, low-level correctness-critical code, where our 2.9-bit model gives back some of the hard competition problems the unquantised version solves. The practical setup is both in one tool, the local endpoint for the volume and a frontier model for the turns that earn $20 per million. For confidential material the question does not arise; the local model is the only option.

What training data do you already have?

Answer 6 quick questions and get your AI training data score — plus a personalized checklist of what to prepare.

Take the 2-Minute Data Check
Share: Post Share

Read next