Blog Home
Listen
0:00

Kremlinology for LLM Infrastructure

Kremlinology was the art of speculating about the inner workings of the Soviet central command headquartered in the Kremlin. Because it was a highly closed and secretive group, its thinking mostly had to be inferred indirectly, filling in the gaps from the downstream results of visible policy actions. When it comes to inference providers in our modern day and age, we find ourselves similarly situated in some ways. We are told that a model is being served at an endpoint, and we can call it and get responses back, but in many ways the inner workings remain a mystery. What hardware is it running on? What optimizations or approximations are being used? In some cases, is a different model being used entirely? Is someone else actually the one serving it?

There are ways and means of figuring this out, but to my knowledge they haven't been extensively explored or used in public. For open-weight models, at least, we have a good idea of what serving would or should look like, including under various optimizations. For closed models, there are a fair number of educated guesses we can make about what is going on. We have a number of signals to work with: time to first token (TTFT), fairly detailed inter-token latency (ITL) from streaming responses, logprobs in some cases, API design, cache hits and misses, and usage counters.

I looked at these signals on a bunch of inference providers, mostly serving open-weight models on OpenRouter. I used synthetic prompts and public datasets, and for tens of dollars of API spend and lots of analysis was able to learn a lot about how the models were served: which providers are serving the same thing, what you learn from API bugs, what generation speed tells you about speculative decoding, and so on.

Caching: the breakpoint tell

With full attention a KV cache is just the keys and values of every token. You can resume at any point that is a prefix of the cached prompt. Generally this is done in blocks, though, so you'll have a segment of, say, 16 or 32 tokens where the caching will round to the nearest block. However if you look at Anthropic's API, you'll notice it doesn't allow that. You mark cache breakpoints and have to specifically write the cache. Which raises the question: why does it matter where you might be resuming?

The answer, I think, is that Claude uses sliding window attention. In sliding window attention you have some fixed windows of local KV cache associated with attention heads that are local only. What that means is you are able to throw away the KV cache for parts of the prompt where you are not going to resume, and you often want to because it is large: for a hybrid like Qwen3.5-27B, a checkpoint every 512 tokens already costs more cache per token than Llama 3.3-70B. OpenAI's models switched to the same behavior starting with GPT-5.6: they now charge for cache writes and resume only where an earlier request ended. It isn't definitive proof but it's highly suggestive of these models using SWA. Serving choices matter too: in the open-model table below, the same sliding-window model resumes from any prefix at one provider and only from request ends at another.

test Claude Haiku 4.5, Haiku / Sonnet / Opus 5.5 GPT-5.6, GPT-6, GPT-6.1 GPT-5 / 5.4 nano DeepSeek-V4 Flash (via OpenRouter)
repeat, no breakpoint no cache whole prompt 128-token blocks 256-token blocks
first half shared, then diverges 0 (full rewrite; 85 of 85 trials) 0 (full rewrite; 61 of 61) half reused (20 of 22) mostly a full rewrite (half reused 1 of 20)
follow-up chat turn previous prompt reused previous prompt reused exactly reused —
cache writes charged yes (1.25×) yes no no
default lifetime hits to 5.5 min (4–5 min: 7 of 7; 5.5 min: 2 of 3), misses at 7 min (0 of 2); ttl: 1h holds at 7 min ≥ 7 min — —

DeepSeek's own API, tested later, reuses any shared prefix in 64-token blocks.

Open models, same tests (2026-11-17, 20 trials per endpoint over three runs, witnessed; reports/cache-semantics-open-models-2026-11-17.md)

endpoint (attention) first half shared, then new follow-up turn reading
Llama 3.3-70B · CoreWeave (full) 99% (15/20) 99% (16/20) any prefix (when the repeat lands on a server with it)
gpt-oss-120b · Nebius (sliding 128) 100% (20/20) 100% (20/20) any prefix
Gemma 4 31B · DeepInfra (sliding 1,024) 6/6 before 05:20 UTC, then 0/14 at 08:14 99% (20/20) any prefix, then request ends only (changed within the day)
gpt-oss-120b · CoreWeave / Parasail (sliding 128) 3% (0/40) 100% (38/40) request ends only
Gemma 4 26B · CoreWeave (sliding 1,024) 0% (0/20) 50% (10/20) request ends only; flaky cache
Qwen3.5-397B · Parasail / DeepInfra (linear hybrid) 0% (0/40) 76% / 51% (37/40) last whole block of the previous request
Qwen3.6-35B · CoreWeave (linear hybrid) 0% (0/20) 76% (15/20) same
Qwen3-Next 80B · Parasail (linear hybrid) 0% (1/20) 92% (20/20) same

Figures Share of the reusable prefix read from cache, by model and test, grouped by attention type, with hit counts and 95% Wilson intervals: breakpoint-only for Claude and new OpenAI models; any prefix for older OpenAI, DeepSeek and full attention; request ends only for linear hybrids and some sliding-window stacks.

Observed prefix-cache hits on Llama 3.3-70B: 16- and 32-token blocks.

Cache per token for hybrid models if their state is saved every N tokens.

Cache read and write prices as multiples of the input price.

How long providers keep your cache

This probe is simple. It sends a unique prompt of about 1.5k tokens, waits a while, and then sends it again. It then checks what the second request reports in terms of the cached tokens at various delays and different endpoints.

CoreWeave keeps caches for 30 to 60 minutes and Nebius for 5 to 30, while most keep them for 1 to 5 minutes and Parasail for under a minute. Others never reported hits.

Some other interesting patterns emerged. Baidu hit about half of the time across the whole range of delays, though it was rate-limited to two trials per delay. AkashML and Groq hit only occasionally, at delays from seconds to half an hour. Both patterns are consistent with individual replicas that each hold their own cache, with no global cache, and requests spread between them. Groq lists a cached read price for gpt-oss-120b but reported a hit on only 8 of 119 repeats.

endpoint 2 s 1 min 5 min 15 min 30 min 60 min retention
CoreWeave (Llama 70B) 16/20 16/20 15/20 14/20 15/20 0/20 30–60 min
Nebius (gpt-oss-120b) 20/20 19/20 11/20 7/20 0/20 0/20 fades over 5–30 min
DeepInfra (DeepSeek-V3.2) 15/20 13/20 5/19 4/19 0/19 0/20 mostly ~1 min, some to 15
GMI Cloud (DeepSeek-V3.2) 19/20 8/19 4/20 0/19 0/20 0/19 ~1–5 min
Chutes (Gemma 4) 20/20 12/20 5/20 0/20 0/20 0/19 ~1–5 min
DeepInfra (Gemma 4); Novita (Kimi K2.5) 18/20; 15/20 5/20; 7/20 2/20; 2/20 0/20 0/20 0/20 under a minute, mostly
Parasail (Llama 70B) 10/19 0/20 0/20 0/20 0/20 0/19 seconds
AkashML (Llama 70B) 4/20 1/20 4/20 2/20 0/20 0/20 rare hits to 15 min
Groq (gpt-oss-120b) 1/20 2/20 0/20 2/20 3/20 0/19 scattered (8 of 119)
SiliconFlow (gpt-oss-120b); DeepInfra (Qwen3.5-397B) 0/19; 0/19 0 0 0 0 0 never
Baidu (DeepSeek-V3.2) 1/2 2/2 1/2 1/2 1/2 1/2 rate-limited: still 2 per cell

Did a unique prompt still hit the cache after each delay? Hits out of trials, with 95% Wilson intervals; four runs pooled, ~20 trials per cell (Baidu: 2).

Are cache hits real, and does the router chase them?

A cache hit should manifest not just as savings but also as time saved. We should be able to see it in the time to first token (TTFT) and the usage statistics.

It's always possible that these don't match up: that a provider reuses its cache but does not report a cache hit or reports a cache hit when they did not in fact have the cache. They might do this because it is to their price or performance advantage in terms of getting more traffic and/or making more money.

To test this I sent a unique long prompt to 20 different endpoints and the identical prompt 3 seconds later. I repeated that about 20 times per endpoint and timed the first token only. Cache hits consistently returned the first token faster, typically 1.2 to 2.5 times quicker. Some, like CoreWeave, Crusoe, and Baseten, reported cache hits but billed them at full price, which is consistent with what their listings say. Groq's Llama endpoint listed a discounted cache hit price but never reported a hit.

Separately there's also the matter of the router. A cache hit can only happen if the cache is shared between where the first request was routed and where the second request went. If it's routed to a different provider, typically they won't have a shared cache.

I tested this on gpt-oss-120b: repeated, cacheable requests went back to the provider that held the cache only 31% of the time, where chance would give 25%. For DeepSeek V3.2 it was 55% against 50%. These pool a first run of about a dozen prompts per model with a rerun of 30, and both runs agree. The repeated requests that switched lost the cache and paid for the full prompt again. If you want to take advantage of caching, it is generally better to pin the provider.

I did find one case where the reported numbers and the clock disagree. 10 to 20 minutes after Moonshot cached a prompt, a follow-up request reported no cached tokens and was billed at the full input price, but answered in about 1.7 seconds (the speed of a cache hit), well below the 3 seconds a cold request of that size took. This indicates the cache is still being used but not being applied to the billing.

A cold request vs the identical request 3 seconds later

endpoint (~20 trials each) hits reported first token on hits, cold → warm billed for a hit reading
CoreWeave, gpt-oss-120b / Llama 3.3-70B 20/20 / 19/21 0.67 → 0.26 s / 0.34 → 0.15 s 100% real hits, no discount (as listed)
Crusoe, gpt-oss-120b 18/19 0.58 → 0.32 s 100% real, no discount (as listed)
Nebius / Parasail / Near AI, gpt-oss-120b 20/20, 21/21, 21/21 0.58 → 0.46 / 0.65 → 0.52 / 1.23 → 0.98 s 67% / 56% / 51% real, discounted
Parasail, Llama 3.3-70B 10/21 1.35 → 0.58 s 50% real, discounted, but only half the repeats hit
GMI Cloud / DeepInfra, DeepSeek-V3.2 21/21 / 15/20 1.70 → 1.53 / 0.73 → 0.70 s 23% / 51% reported and discounted, little speed-up
Baseten, gpt-oss-120b 11/20 0.23 → 0.18 s 100% reported; prefill too fast to see much
AkashML, Llama 3.3-70B / gpt-oss-120b 4/21 / 3/20 0.80 → 0.35 s (Llama) 50% / 100% occasional hits
DeepInfra, Llama 3.3-70B (turbo) 0/18 8 of 18 repeats in 0.31–0.44 s; every first request ≥ 0.87 s 100% cache used, never reported, billed in full (p = 0.001)
Groq, Llama 3.3-70B 0/20 no repeat beat the fastest first request 100% no cache, despite a listed cached price ($0.295/M)
SambaNova, Bedrock, Vertex (gpt-oss) 0, 0, 1 of 21 — 100% no cache

Where repeats went with the provider unpinned

model providers used repeats on the first provider by chance
gpt-oss-120b (42 prompts, 126 repeats) Google 60, Crusoe 50, Parasail 20, DigitalOcean 18, PrimeIntellect 9, Sail Research 6, Near AI 3, Venice 2 31% 25%
DeepSeek-V3.2 (40 prompts, 120 repeats) DeepInfra 80, GMI Cloud 80 55% 50%

Time to first token by the cache's age

endpoint no cache (unloaded cold sends) hits, 5 s – 5 min 10 min 20 min
Kimi K2.6 · Moonshot 3.18 s (158 sends, fastest 2.95) 1.51–1.98 s, 6,144 cached, discounted (139 hits) 1.76 s, 0 cached reported, full price (0/40 report a hit) 1.65 s, same (0/22)
gpt-oss-120b · Nebius 0.63 s 0.48–0.53 s, 20/20 hits per delay 0.69 s, 19/20 hits 0.52 s, 19/20 hits
DeepSeek-V4.1 · DeepInfra 0.62 s 0.52–0.61 s, 20/20 0.57 s, 20/20 0.59 s, 20/20

Figures Time to first token by total prompt size with part of it cached, against the same size fully uncached (dashed). Median, 95% CI; 19–21 trials per point.

Follow-up time to first token and hit rate vs time since the cache was written; dashed: no cache. Moonshot keeps answering at cache speed after it stops reporting hits.

Reported vs recovered (recovered = the share of the recompute time a hit actually saved; 1 means the hit was free)

endpoint (DeepSeek-V4.1 Flash) reported share recovered, 16k → 32k
Together 0.99–1.00 0.81 → 0.83
Fireworks / CoreWeave ~1.00 0.81–0.92
Parasail / Baseten ~1.00 0.41–0.71
DeepInfra ~1.00 0.30 → 0.44
Novita ~1.00 0.19 → 0.38
GMI Cloud 0.99–1.00 0.16 → 0.36

A six-fold spread in corroboration behind an identical claim. Either those counters are optimistic (bookkeeping says cached; the replica recomputes) or their cache read costs half or more of recompute — and either way, "cached_tokens ≈ 1 means I skipped the compute" is wrong at those endpoints. Retested at 20 trials up to 64k (2026-11-22): DeepInfra's recovered fraction climbs with size to 0.68 (0.55–0.82), and Novita's stays flat at 0.33 (0.23–0.40). Both are real caches whose hits are far from free, so the second reading is the right one for them. GMI Cloud stopped serving the model before it could be retested.

DeepSeek's own API (a disk cache: a hit is billed at 2–4% of a miss, saves no time up to 64k, and saves about 30% of the recompute at 128k–256k)

size cold → warm TTFT reported cached warm ÷ cold billed
16k 0.89 → 0.95 s 15,616 / 15,787 0.04
32k 0.93 → 0.99 s 31,360 / 31,562 0.03
64k 1.20 → 1.23 s 62,848 / 63,093 0.02
128k (n=20) 1.64 → 1.39 s ~100% 0.02
256k (n=20) 2.44 → 1.90 s ~100% 0.02

Why Caches Die Young: the Economics

Why keep caches for minutes and not days? The answer is that there's a trade-off. You have to hold keys and values in memory or you have to recompute them. How that trade-off shakes out depends on the architecture, the relative cost of computing them, the latency requirements, and the quality of caching implementation you can build to meet them. At 32k context, Llama 3.3-70B needs 320 KiB per token, DeepSeek's compressed MLA cache 69 KiB, and gpt-oss-120b 36 KiB.

For a 32k-token Llama 3.3-70B prefix on H100s, holding the cache in fully contended GPU memory breaks even against recomputing it after about two minutes, host DRAM after about three hours, and NVMe after about two weeks. Spinning disk never pays in terms of latency: reloading from it stalls the GPU longer than recomputing would. It may still pay in terms of cost, and optimized implementations can go a long way.

Tier Break-even
HBM, memory fully contended ~2 min
Host DRAM ~3 h
Cloud object storage ~22 h
NVMe ~2 weeks
HDD RAID never: reloading at our measured 380 MB/s stalls the GPU longer than recomputing

Figures KV cache per token for 908 of the 1,000 most-downloaded open LLMs.

Holding 1 GB of cache on each tier vs recomputing it.

How soon prompt blocks are reused (Mooncake traces).

Saving from caching on each tier vs TTL.

Are you getting the model you're paying for?

A number of providers all list, for instance, Llama 3.3-70B. Are they all serving the same thing? The logprobs give a mechanism to measure it.

For 400 prompts from public datasets, I compared each provider's first token distributions with CoreWeave, which declared FP16, using the total variation (effectively the amount of probability mass you'd have to move around to match the distributions). CoreWeave is consistent with itself across repeats, within about 1%. Other providers differ from it by 5 to 7%.

That might sound bad at first, but when you dig into where the difference is, it's not so bad. When two candidates are close, providers differ by about 10%, but when the model is confident in a top token, the difference is only 0 to 1%. That is exactly what you'd expect from low-precision arithmetic rather than from a different model: with close top choices the softmax is sensitive to small nudges. A different model would vary more. Regardless, top-one agreement stays in the mid-90s.

Llama 3.3-70B, against CoreWeave fp16

Provider Average TV
AkashML fp8 ~6.5%
Parasail fp8 ~5.4%
SambaNova ~5.8%
CoreWeave vs itself ~1%

Qwen3.5-397B, against Alibaba

Provider code wiki
Alibaba vs itself 4.8% 6–10%
Novita 4.4% 7–10%
Parasail fp8 6.7% 9–13%
Venice 7.2% 9–12%
StreamLake 9.1% 15–19%

Gemma 4 31B, against Novita bf16

Provider code wiki
Novita vs itself 2.2% 6%
Parasail fp8 3.0% 8%
DekaLLM 9.9% 21%
CoreWeave fp4 11.6% 24%
Modal 11.7% 21%
NextBit fp4 14.6% 25%

Figure First-token TV vs CoreWeave fp16, and where the difference sits.

Without logprobs: recovering logits from samples, and checking the sampler

There's a problem, though: some providers don't provide logprobs. However if you can repeatedly sample from the distribution, then you can estimate what the log probs actually are. Since the log probs are useful for doing a detailed analysis, this can help you boost the richness of the information that you're getting.

Of course, a detailed picture requires many samples, and plain sampling gets there slowly: a token five or more nats below the top choice turns up less than once in a few thousand draws. The temperature, top-P and top-K parameters help a lot. The trick is to sample hot and narrow. At temperature 2 with a top-K cutoff of 10, every logit gap is halved and no samples are wasted outside the top ten, so the tail appears quickly.

Top-P gives the absolute numbers, by the rule that a token can only be sampled if everything ranked above it adds up to less than P. Sample a token from below the top K at a given P, and the top K must hold less than P; push P up and down, rank by rank, and you bracket the mass above each token, and so each token's own probability. I tested this against a local model whose true logits I could read directly: every bracket contained the true value, and with 100,000 samples the second token's probability was pinned to within 0.0001 on 96 of 100 prompts.

Likewise we can check the sampler itself. A provider that ignores top-k gives itself away in a single request asking for several samples, because it returns tokens outside the top k. One that ignores temperature produces a distribution that doesn't fit, and fake logprobs don't match the samples. On the four providers I could check, nobody cut corners (a fifth, DeepInfra, returns no logprobs to compare against): top-k was honored exactly, samples at temperature 1 matched the reported probabilities, and halving the temperature sharpened the distribution by about the right amount. The one parameter silently dropped was n: asking OpenRouter for several completions at once returned just one.

Recovery against the local ground truth, by sample budget

1,000 samples 10,000 100,000
ranks 2–10 recovered, T=1 69% 88% 97%
ranks 2–10 recovered, T=2 + top-K=10 96% 100% 100%
median gap error (T=2 top-10) 0.20 nats 0.07 0.02
95% intervals that cover the truth 95% 96% 95%

How close the recovered distribution is (total variation over the top 10 tokens, median over 100 prompts, 95% bootstrap CI):

1,000 samples 10,000 100,000
plain sampling, T=1 2.4% (2.0–2.8) 0.70% (0.61–0.78) 0.25% (0.23–0.28)
T=2 + top-K=10 (reaches the tail) 3.4% (2.8–3.9) 1.2% (1.1–1.5) 0.38% (0.34–0.42)

Hosted Llama 3.3-70B endpoints compared from samples alone (this works where logprobs are missing, as at DeepInfra)

pair TV from samples (median over prompts) per-prompt range prompts
CoreWeave fp16 ~ Parasail fp8 6.0% (typical interval ±2.4) 0–14% 10
CoreWeave fp16 ~ DeepInfra turbo (no logprobs) 4.7% 0.3–13.5% 10
Parasail fp8 ~ DeepInfra turbo 5.1% 1.4–12.5% 10

Sampler checks

provider top_k=1 / top_k=2 T=1 samples vs reported logprobs T=0.5, fitted temperature
CoreWeave fp16 0 violations / 0 match (p=0.86) 0.40
Parasail fp8 0 / 0 match (p=0.21) 0.41
AkashML fp8 0 / 0 match (p=0.16) 0.54
SambaNova 0 / 0 match (p=0.88) 0.44
DeepInfra turbo no logprobs, can't be checked

Figure Recovering logit gaps from samples: error and tail recovery vs sample budget (95% bootstrap CIs over prompts).

Who's really serving you? Resellers

On OpenRouter, Venice and Parasail are listed as separate providers of Qwen3.5-397B, with different prices and different listings. Their numbers say they're the same machines. Logprobs from independent deployments of a model never match exactly: across every other pair of providers I tested there were zero exact matches in roughly 600 comparisons. Venice's matched Parasail's to within 0.002 nats on 72% of requests, the same rate at which Parasail matches itself. When Parasail's own two repeats disagreed, Venice reproduced one of them 87% of the time and never produced a third variant.

The router's own records agree. 97% of Venice's responses carried Parasail-format upstream IDs and arrived about 90 ms after Parasail's own, which is one extra hop. For Gemma 4 26B, a prompt cached through one of them was a cache hit through the other. On Qwen3.5, Venice charges 50% more than Parasail for input and 25% more for output, and its listing discloses less: quantization "unknown" rather than fp8, and half the context length.

Traffic gets there through routing. OpenRouter shifts load away from providers that return errors. On the day I looked, Parasail's endpoint was flagged as degraded and Venice's wasn't, and Venice's one-day uptime was slightly better than Parasail's even though it runs on Parasail, presumably because it fails over when Parasail errors. So requests steered away from a struggling Parasail land mostly on Parasail anyway, at a markup. A day later it had changed: Venice's responses carried OpenRouter's own generation IDs and no logprobs, so its supplier for the same model had switched overnight with no change to its listing. If you'd rather not pay for the extra hop, provider.ignore: ["venice"] does it.

model Venice→Parasail Parasail→Venice same-route repeats
Gemma 4 26B 2/3 hit 2/3 hit 4/6
GLM-5.3 Flash, MiniMax-M3, Kimi K2.6 0/9 0/9 15/16
model Venice Parasail difference same backend?
Qwen3.5-397B $0.75 / $4.50 $0.50 / $3.60 +50% / +25% yes (numerics)
Gemma 4 26B $0.13 / $0.40 $0.13 / $0.40 0 yes (cache)
Qwen3.8-27B $0.45 / $3.20 $0.24 / $2.20 +87% / +45% untested
DeepSeek-V4 Pro $1.65 / $4.95 $1.32 / $3.96 +25% untested
gpt-oss-120b $0.03 / $0.15 $0.10 / $0.75 −70% / −80% int4 vs fp4: probably not

Figure How often two Qwen3.5 routes return identical logprobs. Venice matches Parasail as often as Parasail matches itself, Novita matches Alibaba the same way, and every other pair is zero.

Tokenizers and Templates

Requests don't expose the tokenizer used by the model but they do give you information about token counts and that's sufficient to reverse engineer the chat template. For Llama 3.3-70B, the published chat template reproduced every provider's prompt-token count on all 3,200 requests, including a system header with a "Cutting Knowledge Date" and today's date. The counts also show what you can't do: every provider closed a partial assistant message as a finished turn and wrapped raw completion requests in a second chat template, so there's no way to force a shared history and compare later tokens.

When the API tells on itself

Sometimes an API gives itself away by getting something wrong. Cloudflare advertises logprobs and returns none. Novita and AkashML return the logprob of only the final token. GMI Cloud's streamed top-logprob lists are misaligned, with the chosen token ranked above the reported top choice in nearly half the records.

Some of the bugs cost money. Asked for at most 64 tokens, SiliconFlow's gpt-oss-120b endpoint ignored the cap entirely and returned, and billed, roughly 1,200–1,400 tokens, about 20 times the limit; the same provider's DeepSeek endpoint stopped at exactly 64. GMI Cloud's DeepSeek-V3.2 stopped the visible answer near 64 tokens but switched on reasoning nobody asked for and billed 3,500–16,700 reasoning tokens, making each request 40–170 times more expensive than the same request at DeepInfra.

What max_tokens caps on Kimi K2.5, a reasoning model, by provider

Provider Behavior with max_tokens: 1 Explicit reasoning budget (64 tokens)
Amazon Bedrock Caps all output tokens; reasoning disabled by default —
Atlas Cloud (INT4) Caps reasoning + answer; small caps can produce an empty answer Honored
SiliconFlow (INT4) Caps visible answer only; reasoning remains uncapped and billed (median: 192 tokens) Honored
Novita Caps visible answer only; reasoning remains uncapped (median: 272 billed tokens; max: 639) Ignored (~240 tokens)

Timing, speculation and hardware

Without speculative decoding, tokens per second should not depend on the predictability of the text. With speculative decoding we should expect to have larger chunks of tokens per unit time when text is predictable. We can test this using streaming responses. Additionally the timing, absent speculation, tells us some combination of the memory bandwidth of the hardware used and the quantization level of the weights (since all the weights need to be loaded in memory for a dense model, at least, to do a forward pass of inference).

Groq's Llama 3.3-70B ran 2.3–2.5 times faster on copying and counting than on the story, SambaNova, Cerebras and Nebius 1.5–1.9 times faster, and Parasail's Llama counted 3.3 times faster than it wrote stories. CoreWeave, AkashML, DeepInfra, Chutes, Baseten and Parasail's Gemma and gpt-oss were flat. So was Groq's gpt-oss-120b, which means Groq speculates on one model and not the other.

We can also read the rhythm of a stream. When speculation is active, groups of tokens that were speculated together and accepted arrive together, so predictable text comes in bigger bursts. We observe this with Parasail's Llama and Crusoe's Gemma, which send about 2.6 times as many tokens at a time when counting as when writing a story. Another matter is pauses. DeepInfra's and Parasail's Gemma spend about a tenth to a fifth of their time stalled when decoding, more likely because prefill is being run in between than because of anything about the text. Others, like Groq's Llama, show both phenomena at once.

Speed also bounds what hardware is being used. Absent speculation each decode step has to load every active weight at least once. If you know or presume a precision then you can bound the hardware it needs to be running on to generate at a given speed. For instance CoreWeave serves Llama 3.3-70B at fp16 at about 95 tokens per second and it's just as fast with random text, indicating it's not using speculation. This would require at least 13.6 TB/s, which is more than any single GPU offers, so we can conclude that the model is split across at least 5 different H100s (realistically 8, given node sizes) or 2 B200s (or other counts of different chips accordingly).

Likewise each step reads all of the KV cache that everything has generated so far, which does confound these bounds and make them more conservative. For short prompts it can be very small, about 0.1 GB of cache, versus 141 GB of FP16 weights, but at 32K tokens context it can be up to around 8%. That is, of course, just for one sequence. Given things are running in batch, we should expect a noticeable change attributable to that in tokens per second. The relation can also be run backwards: if you know the hardware, the model being served and the speed, you can bound the precision. So the 62 tokens a second that AkashML manages on random text at a declared fp8 means more than one GPU, and a provider claiming bf16 on one card couldn't be that fast at all. Speed can't tell you the precision, but it rules combinations out.

Decode speed, and the speed-up on copying and counting relative to the story

story tok/s random tok/s copy count
Groq, Llama 3.3-70B 293 161 2.35× (2.16–2.50) 2.53× (2.41–2.61)
SambaNova, Llama 3.3-70B 302 136 1.85× (1.82–1.87) 1.92× (1.88–1.94)
Cerebras, gpt-oss-120b 1,767 1,438 1.48× (1.27–1.61) 1.60× (1.29–1.82)
Nebius, gpt-oss-120b 319 288 1.50× (1.36–1.70) 1.66× (1.52–1.86)
Parasail, Llama 3.3-70B 55 34 1.44× (1.20–1.78) 3.26× (2.66–3.96)
Crusoe, Gemma 4 31B 36 36 1.78× (1.36–2.16) 2.81× (2.07–3.41)
GMI Cloud, DeepSeek-V3.2 51 55 1.21× (1.11–1.37) 1.52× (1.36–1.60)

Tokens per delivery, by prompt

pair copy / count / story (story 2) / random count ÷ story
Crusoe, Gemma 4 31B 5.4 / 8.5 / 3.2 (3.6) / 3.8 2.7×
Parasail, Llama 3.3-70B 10.6 / 21.3 / 8.3 (8.0) / 5.7 2.6×
SambaNova, Llama 3.3-70B 28.1 / 32.0 / 17.1 (17.1) / 8.0 1.9×
Nebius, gpt-oss-120b 10.2 / 13.1 / 8.3 (8.5) / 6.9 1.6×
Groq, Llama 3.3-70B 6.4 / 7.2 / 5.2 (5.3) / 4.6 1.4×
GMI Cloud, DeepSeek-V3.2 10.9 / 13.0 / 9.6 (8.8) / 9.5 1.3×
CoreWeave, Llama 3.3-70B (flat, for comparison) 5.0 / 4.9 / 4.9 (4.9) / 5.0 1.0×
everyone else (11 pairs) 0.97–1.13

Figures Left: decode speed by prompt (median, 95% bootstrap CI; random text at T=1). Right: the minimum memory bandwidth implied by random-text speed (dot: fp8 weights, whiskers: 95% CI; bar: fp4 to bf16), with one H100, eight H100s and eight B200s marked.

Left: tokens per delivery by prompt: speculation arrives in bigger bursts on predictable text and smaller on random text. Right: share of decode time stalled. Medians with 95% bootstrap CIs.

Prefill speed, and can you see disaggregation?

Before the first token is outputted, prefill needs to be completed. The model reads the whole prompt and processes it. It can be done in as little as one parallel pass, though chunked prefill is often used.

We can use the timing of the first token across prompt sizes to get a slope and intercept for the prefill speed. We should be able to read off which providers are using disaggregated prefill, having dedicated machines and groups of machines to perform prefill and others to perform decoding. Fireworks and Baseten mention that they do this in their documentation, as well as DeepSeek and Moonshot.

I was expecting this to manifest as a delay between the output of the first token and the second but I did not see that. I did, however, see it for Moonshot, which lends support to the theory of a handoff post-prefill on dedicated machines.

endpoint says it disaggregates? prefill (tok/s) fixed overhead gap before 2nd token vs prompt size
Fireworks (DeepSeek-V4.1) yes (docs) ~72k 0.40 s flat
Baseten (DeepSeek-V4.1) yes (docs) ~51k 0.32 s flat
Together (DeepSeek-V4.1) third-party claims only ~116k 0.15 s flat
CoreWeave / DeepInfra (DeepSeek-V4.1) not stated ~92k / ~62k 0.54 / 0.44 s flat
Parasail / Novita / GMI (DeepSeek-V4.1) not stated ~44k / ~30k / ~26k 0.35 / 0.81 / 1.65 s flat to slight growth (+0.1–0.7 ms per 1k tokens)
Moonshot (Kimi K2.6) yes (Mooncake) ~3.6k 2.25 s flat, but 256–311 ms vs ~38 ms later steps
DeepInfra / Parasail (Kimi K2.6) not stated ~23k / ~16k 0.74 / 0.57 s +1.2–2.4 ms per 1k

~20 trials per size, four runs pooled (2,518 calls, $6.13). Some fits moved from the 6-trial version (Fireworks ~125k → ~72k, DeepInfra ~90k → ~62k): prefill speed under load varies through the day. CoreWeave reports no DeepSeek cache below 32k tokens.

Figure Cold and warm time to first token, and the gap before the second token, by prompt size and provider (median, 95% bootstrap CI). * = says it disaggregates; † = third-party claims only.

Check it yourself: the findings page, and how it keeps your key safe

I made a lot of claims, and I did this with a relatively small amount of data. You may want to look into some of these things for your favorite models or inference providers, so I made everything checkable. Everything in this post was measured with a small toolkit that I'm open sourcing, and the findings and the evidence for them are collected and categorized on a public page on my website here. You can use it to browse the data, run some of the investigations yourself and get the results to share with the world - or not.

The obvious worry is your API key, so here is exactly how it stays private. In TLS 1.3, once the handshake is done, each direction of a connection has its own traffic secret, derived from the session's shared key by a one-way function (HKDF). The relay sits on the network path: it opens the connection to the provider itself and passes the encrypted records through in both directions, timestamping each one, but it holds no keys. When the response is complete, your client gives the relay three secrets and nothing else. The server's handshake secret lets it decrypt the provider's certificate, its CertificateVerify signature over the whole handshake and its Finished message, which proves the session really was with the holder of that site's certificate. The server's application secret lets it decrypt the response, and every record's authentication tag must check. For the request, your client sends the request line, the Host header and the Authorization header first, then a TLS KeyUpdate that moves its sending direction to a new secret, and only then the remaining headers and the body. It reveals only that new secret. The update derives the new secret from the old one with the same one-way function, so the relay can read everything after it but not the record that carried your key, and nothing it holds lets it work back to the earlier secret. It also checks that the sealed part is exactly as long as a request line, Host header and authorization header of the declared length would be, so nothing else can hide in it.

Neither side can fake the result. The relay read the provider's encrypted bytes off its own connection, and only the provider could have signed that handshake, so a client can't swap in a different response. The relay's signature makes each receipt checkable by anyone with its public key. Your key is also scrubbed from everything the toolkit saves; I checked that across every language client. On hosts that still use TLS 1.2, which has no KeyUpdate, only the response can be attested.

What the relay does see is your prompts and the responses, and it keeps them. The terms say so, so don't send anything private through it. And you're trusting my relay to sign honestly. The code is open, and anyone can run their own.

What this can't tell you

This is, of course, limited to inferring from downstream signals. We don't have the view from the inside of what all these implementations actually are, and in some cases different optimizations or software stacks could produce the same outputs. For closed models we have to guess about the architecture as well. And for all these oddities, I didn't find any provider serving a different model than they claimed.

Conclusion

A public API can give you a lot more information than just what tokens a model might have predicted. Caching, pricing, and behavior hint at the architecture. Cache lifetimes match the economics of memory. Log probs separate benign differences in precision from significant ones. A few fields, like upstream IDs, cache token counts, and response times, are enough to show that one listed provider is another in disguise with a markup. None of it needs special access, and a single check can cost as little as a couple of cents.

Appendix: methods, data and code

Facts - Repo: https://github.com/alexlitz/kremlinology: analyses in experiments/, the request harness in src/kremlinology/bench/, run configs in configs/bench/, the toolkit in kremlin/. - Toolkit: kremlin 0.3.3 (MIT): investigations, witness relay, hub, any-language proxy. Source: https://github.com/alexlitz/kremlinology (kremlin/); wheel at https://alexlitzenberger.com/kremlinology/. - Everything in this post, reproducible: https://github.com/alexlitz/kremlinology: each section's report, scripts and figures (see its README map); raw evidence as release archives. - Attested runs: https://alexlitzenberger.com/kremlinology/ (findings.json and per-run bundles for re-auditing). - Evidence: every request and response (API keys redacted), as archives on the repo's GitHub release; each run directory carries a SHA-256 manifest, and witnessed runs their signed receipts. - Main write-ups: - reports/llama70b-dataset-tv-2026-11-10.md - reports/kv-cache-economics/README.md - reports/later-token-forcing-pilot-2026-11-10.md - reports/qwen35-dataset-tv-2026-11-13.md (resellers), reports/cache-isolation-2026-11-13.md, reports/max-tokens-2026-11-13.md - reports/cache-semantics-2026-11-13.md, reports/timing-speculation-2026-11-13.md, reports/logit-reconstruction-2026-11-13.md - reports/timing-jitter-2026-11-16.md, reports/cache-routing-honesty-2026-11-16.md, reports/sampling-audit-2026-10-04.md - 2026-11-20: reports/cache-clock-audit-2026-11-20.md (the miss distribution as a reference clock), reports/deepseek-cache-reconciliation-2026-11-20.md (first-party DeepSeek: a disk cache, real as a discount; no time saved up to 64k, about 30% of the recompute at 128k–256k) - 2026-11-17/19: reports/adaptive-tv-2026-11-17.md, reports/logprob-template-2026-11-17.md, reports/logit-lattice-2026-11-18.md, reports/cache-refresh-2026-11-18.md (keep-alive), reports/reasoning-cap-2026-11-19.md, reports/cache-ping-policy-money-2026-11-19.md and reports/cache-ping-predict-2026-11-19.md (does pinging pay; how well returns can be predicted) - 2026-11-22/23: reports/precision-audit-2026-11-22.md (declared precision vs measured TV), reports/cache-tier-sniff-2026-11-23.md (cache tiers from outside) - Attestation: the experiments that started unwitnessed were re-run end-to-end through the witness relay on 2026-11-19, with kremlin audit --require-witness passing on every session: the cache keep-alive arms, the logprobs-on/off A/B (hub) and the whole sampling-only TV comparison (116,633 records, 112,165 receipts; too large for the hub, in the kremlinology-data-adaptive-tv release archive). They reproduce the original findings.

AI assistance I did this work with an LLM coding assistant. It wrote and ran the experiment and analysis code, produced the figures, and drafted the tables and bulleted facts, working under my direction; parts of the prose began as its drafts. The questions, the arguments and the conclusions are mine, and I have reviewed what is here, but an LLM can be confidently wrong, so every number links to a report and the raw requests and responses are public (see the appendix). If something looks off, check it against the evidence and tell me.