1 spark 10 Billion tokens later vs api cost

tldr: I just hit 10 billion tokens on a single spark! 01111001 01100001 01111001

1 spark + frontier-at-the-time-local-fitting models + 10 billion tokens later = $4400-ish USD at the brick and mortar counter at time of purchase.

Compared to low tier Sonnet 4.6 then, to 5.5 now (accounting for cost changes): 10 billion token @ base level Sonnet cost: $34,440 USD

Usage (pmp cse fwiw): full stack enterprise iOS/web (parity!wtf!) app build through spec draft, dev, testing, gold, live service, maintenance, to revenue.

It’s cartoonish to debate the value in these little engines, versus api costs. Yes, I know you can debate Sonnet was always better cjcjcj. Performant cost to output will never equate to a $30,000 fomo, without even mentioning cooldown timing forced stoppage.

That cost comparison is striking, especially the jump from about $4,400 for the Spark to over $34,000 in API fees for the same 10 billion tokens. It also says a lot that the full app went from spec to live service on local models.

On the other end of the fleet spectrum, same conclusion. I’ve been tracking this in Grafana for six months.

Setup: 4× GB10 Sparks + 2× RTX 5070 + 1× RTX 5080, ~$20K at the counter. Everything routes through LiteLLM, so my local token counts are exact and whatever still goes to cloud gets priced at API-equivalent updated weekly.

Six months in (May 20 → Nov 20): 16.8B tokens served locally, $68.8K avoided at API list prices (deepseek-v4-flash doing ~60% of the work, priced against Opus 4.8). Cloud API-equivalent spend over the same window was $61.8K — almost all of it from before the fleet was fully routed. I’ve been using cloud to bootstrap an enterprise lab stack at home.

Migration timeline approximates:

Jun: 14% local, $8.3K cloud
Jul: 20% local, $31.4K cloud ← peak
Aug: 71% local, $8.7K cloud ← routing flipped
Oct: 94% local, $1.0K cloud
Nov: 89% local, $1.1K cloud

Hardware “paid for itself” around August–September. At the current run rate it re-covers the whole fleet’s cost every month or two.

Usage: multi-agent dev crews, a 24/7 research agent, an OSINT enrichment pipeline over ~1,100 feeds, plus day-to-day coding. Same point as VCR — the workloads that burn tokens around the clock are exactly the ones you can’t put on a meter and are split between cpu and GPU work.

My “avoided cost” depends on which cloud model you call the analogue. Map deepseek-v4-flash to a mid-tier model instead of Opus and the dollar figure shrinks a lot. The number I’m focused on is the local, sovereign capture rate — 90%ish of the work now runs on hardware I own, and the cloud bill is down ~95%. Power isn’t on the dashboard but it’s low at NH rates. ( I use the higher numbers to justify boxes showing up with the wife ;) )

Congrats on the 10B on a single box. I can’t leave the stack alone long enough playing with other models to consolidate.

Large caveat hiding back in the closet: Majority of my cloud token usage outside of Anthropic is work subsidized. I front loaded a lot of that in June through August knowing they’d likely turn the tap to a trickle quickly.

Nice. Output/Input/Cache?

10 billion cached tokens are $60 with deepseek api and $1000-$2000 with anthropic api

That employer token cost is always the craziest metric to me. Having been in producer and cto roles, I’d be hammering the cfo to put a spark on every desk and have them networked for data centre work off-shift. The annual savings there is 7 figures for a small dev shop of 15-20. Then you’ve got write-offs, rp candidates for contributory white papers, etc.

Nice setup for you though. That’s a lot more tinkering vs production than I’m comfortable with! I use a 5090 on a second box with shallow context to fit models onto metal, but every output is brought into the spark for needle precision efficacy review. < fp4 has always hallucinated enough to be considered unreliable irrespective of utility, which lead to the spark’s abilities ofc.

How are you orchestrating/sharding the different hardware these days?

tokens: “input”: 8078007346, “output”: 54820084, “reasoning”: 6355750,
cache: “read”: 1843692231

fwiw I find these stats kind of arbitrary. Each person’s workflow (especially solo-develling) varies enough for it to be an ambiguous performance metric. But I’m always up to learn more if I’m fundamentally missing something.

Appreciate it — tinkering ratio is higher than I’d run at work, but I came up through systems and network engineering rather than dev, so chasing down why something broke is half the fun. The Grafana numbers are just how I keep myself honest about whether it’s worth it.

Not sharding one model across all four. Layout:

  • Pair A: DeepSeek-V4-Flash, vLLM, TP=2 — workhorse, ~60% of tokens
  • Pair B: GLM-5.3-Flash NVFP4, TP=2 — coding/agent traffic
  • Pairs joined over both CX7 ports with passive DACs; ~110 Gb/s per link, ~179 Gb/s measured per node striped
  • All four on a switchless DAC ring — CRS804 on order since July, still in queue
  • TP=4 is a future task; two pairs for two models has beaten one bigger shard so far
  • Routing: LiteLLM with a custom placement hook — local first, cloud only when it can’t be served in-house
  • Governance: change-control layer gating every production change — agents can propose, nothing lands without passing the gates and leaving a receipt
  • Small cards: 5070 for embeddings/enrichment, 5070 for QLoRA/SFT, 5080 as scratch

On < FP4 — agreed, mostly. Pair B is NVFP4 and holds up on my probes (corrupted-token checks, terminal-loop classifier), but I wouldn’t put sub-FP4 in front of anything that needs to be right. Your 5090-draft / Spark-review split is a good fit for that; mine’s the inverse, the review tier is just a different pair. As i get more into dev, its shifting the GB10s to more pure inference and code.

“Spark on every desk, pooled off-shift” is exactly the pattern: I’ve been writing up the routing side as a sovereignty-constrained placement problem (CSPF with jurisdiction as a hard constraint, which is the network-engineer brain showing). Happy to share if useful.

Agreed the raw counts you listed are arbitrary, but your ratios aren’t: ~0.7% output/input and ~23% cache hit says you’re running a heavy context-re-read workload, i look to cache optimization workflows for improvement and as a better metric than just pure count. In the end the cost per task and impact created by the work are the ones the c-suite cares about. Goes back to hhr three slider: quality, speed, quantity… One will always suffer.

For me, spec building is as important to output quality. So the big cache re-reads are sort of the gold standard for expectation results. Albeit my setup is currently bloated system_architecture hub per spoke dive, it lends that weight to agent testing hardening when it’s not being monitored over night.

Now you’ve got me noticing that a lot of the review I’ve been brought in for on other projects has a really empty pmp focused doc stack. When I baked that training into agent rules (not model training cause it’s a moving/mutable target) quality raised exponentially. Maybe give it a whirl on those twin tp2 for an empirical review.

I don’t think you do, but those stats can make a big difference between the API cost calculation

If your input token stats are not increased because of unecessary cache misses, local AI really makes sense for you

I love the sparks for privacy and stable quality output, but my use case will never break even, based on API cost calculations

I envy people with free electricity. My calculation put electricity at 80% of local token cost, other 20% was unit depreciation over 5 years. Will never break even for me but sure if you can push utilization to 70-80% by autonomous agents or users in different geo or on constant supply of red bull - totally real.

Api is perceived as honest metric but as competition grows cost of token with same intelligence drops sharply. Plus you have subscriptions with up to 70-90% discounts.

For me main reason besides education, hands on experience and ability to experiment it’s having money spent as sunk cost, then you get to use it. As a result I experiment much more, build and test way more prototypes as testing ideas becomes cheap. I wasn’t doing any of it when was using subs and api.

0rand, your and other’s work here keeps my stack in regular rotation chasing optimal configurations and settings for my stack - thank you for that! Electric rates and self-roasted coffee beans/double shots keep me going along with the persistent feeling of being “behind.”

My contributions are small, standing on shoulders of giants. But if I build something useful - I rush to share with community. Sharing is caring. Mama taught me that. Thanks for kind words.

You helped me and others a lot with those DeepSeek recipes