Speculative Decoding: Mathematical Foundations, Distribution Preservation Proofs, Tree-Structured Verification, and Memory-Bandwidth Amortization

Autoregressive large language model (LLM) generation suffers from an acute hardware efficiency mismatch during inference. While the prefill phase (processing the input prompt) processes tokens in parallel and achieves high arithmetic intensity on modern matrix accelerators, the decode phase (generating text token-by-token) is fundamentally memory-bandwidth bound. At small batch sizes, each generated token requires transferring the model's entire multi-billion-parameter weight matrix from High-Ba

12 min
Speculative Decoding: Mathematical Foundations, Distribution Preservation Proofs, Tree-Structured Verification, and Memory-Bandwidth Amortization

Autoregressive large language model (LLM) generation suffers from an acute hardware efficiency mismatch during inference. While the prefill phase (processing the input prompt) processes tokens in parallel and achieves high arithmetic intensity on modern matrix accelerators, the decode phase (generating text token-by-token) is fundamentally memory-bandwidth bound. At small batch sizes, each generated token requires transferring the model's entire multi-billion-parameter weight matrix from High-Bandwidth Memory (HBM) into on-chip Static Random-Access Memory (SRAM) and register files to execute a single matrix-vector product.

Speculative decoding, formalized independently by Leviathan, Kalman, and Matias (2022) and Chen et al. (2023), breaks this sequential memory bottleneck. By employing a fast, lightweight draft mechanism (such as a smaller companion model or specialized prediction heads) to propose sequences of candidate tokens and verifying them concurrently in a single forward pass of the larger target model, speculative decoding achieves 2x to 4x latency reductions. Crucially, through an exact speculative rejection sampling criterion, speculative decoding guarantees that the output token distribution remains identical to sampling directly from the target model.

The Memory-Wall Bottleneck in Autoregressive Generation

To understand the mechanics and necessity of speculative decoding, one must evaluate autoregressive inference through the Roofline model on modern GPU accelerators.

Arithmetic Intensity and the Roofline Model

The theoretical execution performance PP (in FLOPs per second) on an accelerator is governed by:

P=min(Ppeak,I×Bpeak)P = \min\left(P_{\text{peak}}, I \times B_{\text{peak}}\right)

where PpeakP_{\text{peak}} represents peak floating-point compute capacity (FLOP/s), BpeakB_{\text{peak}} denotes peak memory bandwidth (bytes/s), and Arithmetic Intensity (I)Arithmetic\ Intensity\ (I) represents the ratio of computational operations to bytes transferred from global memory:

I=Floating-Point Operations (FLOPs)Memory Transferred (Bytes)I = \frac{\text{Floating-Point Operations (FLOPs)}}{\text{Memory Transferred (Bytes)}}

The machine balance threshold Ithreshold=Ppeak/BpeakI_{\text{threshold}} = P_{\text{peak}} / B_{\text{peak}} defines the transition between memory-bandwidth bound and compute-bound regimes.

Consider an NVIDIA H100 SXM5 GPU:

  • Peak 16-bit Tensor Core compute (PpeakP_{\text{peak}}): 989.4 TFLOP/s (dense FP16/BF16)
  • Peak HBM3 bandwidth (BpeakB_{\text{peak}}): 3.35 TB/s
  • Machine balance threshold (IthresholdI_{\text{threshold}}): 295.3 FLOPs/byte\approx 295.3 \text{ FLOPs/byte}

The Arithmetic Intensity of Single-Token Decoding

For a standard Transformer decoder model with parameter count NparamsN_{\text{params}} operating in 16-bit precision (2 bytes per parameter), computing a forward pass on a batch of BB tokens requires:

  • Compute: 2×Nparams×B FLOPs2 \times N_{\text{params}} \times B \text{ FLOPs} (from linear projection layers, ignoring minor attention terms for short contexts)
  • Memory Movement: 2×Nparams bytes2 \times N_{\text{params}} \text{ bytes} to read weights from HBM, plus key-value cache access 2×L×2×dmodel×S bytes2 \times L \times 2 \times d_{\text{model}} \times S \text{ bytes} (where LL is layer depth and SS is context length).

When generating a single token for a single sequence (B=1B = 1):

Idecode=2×Nparams×12×Nparams=1 FLOP/byteI_{\text{decode}} = \frac{2 \times N_{\text{params}} \times 1}{2 \times N_{\text{params}}} = 1 \text{ FLOP/byte}

Because Idecode=1295.3 FLOPs/byteI_{\text{decode}} = 1 \ll 295.3 \text{ FLOPs/byte}, single-token autoregressive decoding utilizes less than 0.5% of the accelerator's available arithmetic execution units. The GPU cores spend over 99% of execution cycles waiting for weights to travel across the memory bus.

Prefill vs. Verification Arithmetic Intensity

When verifying a sequence of KK candidate tokens concurrently, the target model processes all KK tokens in parallel within the same forward pass:

Iverify=2×Nparams×K2×Nparams=K FLOPs/byteI_{\text{verify}} = \frac{2 \times N_{\text{params}} \times K}{2 \times N_{\text{params}}} = K \text{ FLOPs/byte}

For K=5K = 5, arithmetic intensity increases by 5×5\times while loading the exact same parameter weights from HBM once. Because the latency to read weights dominates the execution time, evaluating KK tokens simultaneously in parallel takes roughly the same wall-clock time as evaluating a single token. Speculative decoding exploits this slack capacity to convert wasted memory-read cycles into useful token verification.

Speculative Decoding Architecture and Tree Verification

Mathematical Foundations of Speculative Sampling

The primary theoretical achievement of speculative decoding is proving that acceleration does not require output approximation. The generated text follows the exact target distribution P(x)P(x) without altering token probabilities or sampling entropy.

Problem Formulation

Let V\mathcal{V} denote the vocabulary space.

  • Target model distribution: P(xx<t)=P(x)P(x \mid x_{<t}) = P(x)
  • Draft model distribution: Q(xx<t)=Q(x)Q(x \mid x_{<t}) = Q(x)

At step tt, the draft model generates a sequence of γ\gamma speculative tokens sequentially:

x~1Q(xx<t),x~2Q(xx<t,x~1),,x~γQ(xx<t,x~1,,x~γ1)\tilde{x}_1 \sim Q(x \mid x_{<t}), \quad \tilde{x}_2 \sim Q(x \mid x_{<t}, \tilde{x}_1), \quad \dots, \quad \tilde{x}_\gamma \sim Q(x \mid x_{<t}, \tilde{x}_1, \dots, \tilde{x}_{\gamma-1})

The target model then performs a single parallel forward pass over the concatenated sequence [x<t,x~1,,x~γ][x_{<t}, \tilde{x}_1, \dots, \tilde{x}_\gamma], obtaining the exact conditional probability distributions P(xx<t,x~1,,x~i1)P(x \mid x_{<t}, \tilde{x}_1, \dots, \tilde{x}_{i-1}) for all i{1,,γ}i \in \{1, \dots, \gamma\} simultaneously.

The Modified Rejection Sampling Algorithm

For each candidate token x~i\tilde{x}_i at position i{1,,γ}i \in \{1, \dots, \gamma\}, we evaluate the speculative acceptance probability α(x~i)\alpha(\tilde{x}_i):

α(x~i)=min(1,P(x~i)Q(x~i))\alpha(\tilde{x}_i) = \min\left(1, \frac{P(\tilde{x}_i)}{Q(\tilde{x}_i)}\right)

We sample a uniform random variable riU(0,1)r_i \sim \mathcal{U}(0, 1):

  1. Acceptance: If riα(x~i)r_i \le \alpha(\tilde{x}_i), the candidate token x~i\tilde{x}_i is accepted: xi=x~ix_i = \tilde{x}_i. The verification proceeds to token i+1i+1.
  2. Rejection: If ri>α(x~i)r_i > \alpha(\tilde{x}_i), the candidate token x~i\tilde{x}_i is rejected. The loop terminates immediately. A replacement token xix_i is sampled from the adjusted residual distribution P(x)P'(x):

P(x)=max(0,P(x)Q(x))yVmax(0,P(y)Q(y))P'(x) = \frac{\max\left(0, P(x) - Q(x)\right)}{\sum_{y \in \mathcal{V}} \max\left(0, P(y) - Q(y)\right)}

All subsequent draft tokens x~i+1,,x~γ\tilde{x}_{i+1}, \dots, \tilde{x}_\gamma are discarded.

  1. Bonus Token: If all γ\gamma candidate tokens are accepted, the target model's forward pass has already computed P(xx<t,x~1,,x~γ)P(x \mid x_{<t}, \tilde{x}_1, \dots, \tilde{x}_\gamma) for the (γ+1)(\gamma+1)-th position. A bonus token xγ+1x_{\gamma+1} is sampled directly from P(xx<t,x~1,,x~γ)P(x \mid x_{<t}, \tilde{x}_1, \dots, \tilde{x}_\gamma) at zero additional marginal inference cost.

Thus, each speculative round produces between 11 and γ+1\gamma+1 valid tokens.

Mathematical Proof of Exact Distribution Preservation

We now prove that sampling a token XX through this speculative rejection mechanism yields the identical distribution as sampling directly from the target model: P(X=x)=P(x)\mathbb{P}(X = x) = P(x) for all xVx \in \mathcal{V}.

Proof

Let XX be the random variable representing the token chosen at position ii. A token xx can be produced via two mutually exclusive events:

  1. xx was proposed by the draft model (Xdraft=xX_{\text{draft}} = x) and subsequently accepted.
  2. The draft model proposed some token yy, which was rejected, and xx was sampled from the residual distribution PP'.

The total probability is:

P(X=x)=P(Draft proposes x and accepts)+P(Draft is rejected)P(x)\mathbb{P}(X = x) = \mathbb{P}(\text{Draft proposes } x \text{ and accepts}) + \mathbb{P}(\text{Draft is rejected}) \cdot P'(x)

First, evaluate the probability of proposing xx and accepting it:

P(Draft proposes x and accepts)=Q(x)α(x)=Q(x)min(1,P(x)Q(x))=min(Q(x),P(x))\mathbb{P}(\text{Draft proposes } x \text{ and accepts}) = Q(x) \cdot \alpha(x) = Q(x) \cdot \min\left(1, \frac{P(x)}{Q(x)}\right) = \min\left(Q(x), P(x)\right)

Second, evaluate the total acceptance rate β\beta, defined as the marginal probability that any proposed draft token is accepted:

β=yVQ(y)α(y)=yVmin(Q(y),P(y))\beta = \sum_{y \in \mathcal{V}} Q(y) \alpha(y) = \sum_{y \in \mathcal{V}} \min\left(Q(y), P(y)\right)

Consequently, the total probability of rejection is:

1β=1yVmin(Q(y),P(y))1 - \beta = 1 - \sum_{y \in \mathcal{V}} \min\left(Q(y), P(y)\right)

Using the algebraic identity max(0,ab)=amin(a,b)\max(0, a - b) = a - \min(a, b), we have:

yVmax(0,P(y)Q(y))=yVP(y)yVmin(Q(y),P(y))=1β\sum_{y \in \mathcal{V}} \max\left(0, P(y) - Q(y)\right) = \sum_{y \in \mathcal{V}} P(y) - \sum_{y \in \mathcal{V}} \min\left(Q(y), P(y)\right) = 1 - \beta

Substituting this into the definition of the residual distribution P(x)P'(x):

P(x)=max(0,P(x)Q(x))1βP'(x) = \frac{\max\left(0, P(x) - Q(x)\right)}{1 - \beta}

Now, substitute these expressions back into the total probability formula:

P(X=x)=min(Q(x),P(x))+(1β)max(0,P(x)Q(x))1β\mathbb{P}(X = x) = \min\left(Q(x), P(x)\right) + (1 - \beta) \cdot \frac{\max\left(0, P(x) - Q(x)\right)}{1 - \beta}

P(X=x)=min(Q(x),P(x))+max(0,P(x)Q(x))\mathbb{P}(X = x) = \min\left(Q(x), P(x)\right) + \max\left(0, P(x) - Q(x)\right)

Using the identity min(a,b)+max(0,ab)=a\min(a, b) + \max(0, a - b) = a:

P(X=x)=P(x)\mathbb{P}(X = x) = P(x)

This completes the proof. The output distribution of speculative decoding is mathematically identical to the target model distribution.

Greedy Decoding Equivalence

For greedy decoding (temperature T=0T = 0), the target and draft distributions collapse to Dirac delta distributions:

P(x)={1if x=argmaxvP(v)0otherwise,Q(x)={1if x=argmaxvQ(v)0otherwiseP(x) = \begin{cases} 1 & \text{if } x = \arg\max_{v} P(v) \\ 0 & \text{otherwise} \end{cases}, \quad Q(x) = \begin{cases} 1 & \text{if } x = \arg\max_{v} Q(v) \\ 0 & \text{otherwise} \end{cases}

The acceptance criterion simplifies to deterministic equality:

α(x~)=1    argmaxvP(v)=argmaxvQ(v)\alpha(\tilde{x}) = 1 \iff \arg\max_{v} P(v) = \arg\max_{v} Q(v)

If the draft model's greedy prediction matches the target model's greedy prediction, it is accepted; otherwise, execution rolls back and emits the target model's greedy token.

Theoretical Speedup and Performance Economics

The acceleration achieved by speculative decoding depends on three interacting variables: the draft acceptance rate, the draft model latency, and the speculation window length.

Expected Accepted Tokens per Speculative Round

Assume an independent and identically distributed per-token acceptance rate β[0,1]\beta \in [0, 1] across a speculation horizon of γ\gamma draft tokens.

The probability of accepting exactly kk draft tokens (where 0kγ0 \le k \le \gamma) follows a geometric truncated distribution:

  • For 0k<γ0 \le k < \gamma: Probability of accepting kk tokens and rejecting on token k+1k+1 is βk(1β)\beta^k (1 - \beta). Each such event yields k+1k + 1 total emitted tokens (including the corrective token from PP').
  • For k=γk = \gamma: Probability of accepting all γ\gamma tokens is βγ\beta^\gamma. This event yields γ+1\gamma + 1 total emitted tokens (including the bonus token).

The expected number of emitted tokens per round E[N]\mathbb{E}[N] is:

E[N]=k=0γ1(k+1)βk(1β)+(γ+1)βγ=1βγ+11β\mathbb{E}[N] = \sum_{k=0}^{\gamma-1} (k + 1) \beta^k (1 - \beta) + (\gamma + 1) \beta^\gamma = \frac{1 - \beta^{\gamma+1}}{1 - \beta}

As β1\beta \to 1, E[N]γ+1\mathbb{E}[N] \to \gamma + 1. When β=0.8\beta = 0.8 and γ=5\gamma = 5:

E[N]=10.8610.8=10.2621440.2=3.689 tokens/round\mathbb{E}[N] = \frac{1 - 0.8^6}{1 - 0.8} = \frac{1 - 0.262144}{0.2} = 3.689 \text{ tokens/round}

Wall-Clock Speedup Formulation

Let:

  • ttargett_{\text{target}} = execution time for one forward pass of the target model
  • tdraftt_{\text{draft}} = execution time for one forward pass of the draft model
  • c=tdraft/ttargetc = t_{\text{draft}} / t_{\text{target}} = relative cost ratio (0<c10 < c \ll 1)

One round of speculative decoding with speculation length γ\gamma takes:

Tspec=γtdraft+ttarget=(γc+1)ttargetT_{\text{spec}} = \gamma \cdot t_{\text{draft}} + t_{\text{target}} = (\gamma \cdot c + 1) t_{\text{target}}

Standard autoregressive decoding requires ttargett_{\text{target}} for every single token, taking E[N]ttarget\mathbb{E}[N] \cdot t_{\text{target}} to produce E[N]\mathbb{E}[N] tokens. The theoretical speedup factor SS is:

S=Standard LatencySpeculative Latency=E[N]ttarget(γc+1)ttarget=1βγ+1(1β)(γc+1)S = \frac{\text{Standard Latency}}{\text{Speculative Latency}} = \frac{\mathbb{E}[N] \cdot t_{\text{target}}}{(\gamma \cdot c + 1) t_{\text{target}}} = \frac{1 - \beta^{\gamma+1}}{(1 - \beta)(\gamma \cdot c + 1)}

Table: Theoretical Speedup as a Function of Acceptance Rate (beta) and Cost Ratio (c) for gamma = 5
-------------------------------------------------------------------------------------------------
Acceptance (beta) | Cost Ratio (c = 0.05) | Cost Ratio (c = 0.10) | Cost Ratio (c = 0.15)
-------------------------------------------------------------------------------------------------
0.50              | 1.57x                 | 1.31x                 | 1.12x
0.70              | 2.37x                 | 1.97x                 | 1.69x
0.80              | 2.95x                 | 2.46x                 | 2.11x
0.90              | 3.75x                 | 3.12x                 | 2.68x
0.95              | 4.27x                 | 3.56x                 | 3.05x
-------------------------------------------------------------------------------------------------

Optimal Speculation Horizon (γ\gamma^*)

Differentiating the speedup equation with respect to γ\gamma reveals that an optimal speculation horizon γ\gamma^* exists for any pair (β,c)(\beta, c):

  • If γ\gamma is too small, the system underutilizes the target model's parallel verification capacity.
  • If γ\gamma is too large, the marginal probability βγ\beta^\gamma of accepting distant tokens approaches zero, but the draft model cost γc\gamma \cdot c continues to accumulate linearly, degrading overall throughput.

In production systems such as vLLM and SGLang, dynamic speculative schedulers track the running acceptance rate β^\hat{\beta} per sequence and adaptively resize γ[3,7]\gamma \in [3, 7] on a per-step basis.

Tree-Structured Speculation Topologies

Standard speculative decoding uses a linear sequence of candidate tokens. However, linear speculation suffers from sequential dependency: if the second candidate token is rejected, all subsequent tokens (x~3,,x~γ\tilde{x}_3, \dots, \tilde{x}_\gamma) are immediately invalidated, regardless of their intrinsic quality.

Tree-based speculation constructs a branched tree of hypotheses, allowing the target model to evaluate multiple candidate execution paths in parallel.

SpecInfer and Tree-Based Verification

SpecInfer (Miao et al., 2023) introduced tree-structured speculation. The draft model generates a prefix tree (trie) of candidate tokens with branching factor bb and depth dd.

To verify a tree topology with MM total nodes in a single forward pass of the target model, SpecInfer constructs a specialized causal tree 2D attention mask Atree{0,1}M×MA_{\text{tree}} \in \{0, 1\}^{M \times M}:

Atree(i,j)={1if node j is an ancestor of node i (or j=i)0otherwiseA_{\text{tree}}(i, j) = \begin{cases} 1 & \text{if node } j \text{ is an ancestor of node } i \text{ (or } j = i \text{)} \\ 0 & \text{otherwise} \end{cases}

This causal tree mask prevents attention leakage across distinct sibling branches while allowing each token to attend to its exact historical prefix path. The target model evaluates all MM nodes in a single forward kernel call, selects the longest valid accepted path, and rolls back all unselected branches.

Medusa: Multi-Head Speculation Without Companion Models

Medusa (Cai et al., 2024) eliminates the requirement for a separate draft model by appending KK lightweight decoding heads (single-layer feed-forward networks) directly to the final hidden state of the target model:

H=TransformerLayerL(xt)H = \text{TransformerLayer}_L(x_{\le t})

x~t+1=Head0(H),x~t+2=Head1(H),,x~t+K=HeadK(H)\tilde{x}_{t+1} = \text{Head}_0(H), \quad \tilde{x}_{t+2} = \text{Head}_1(H), \quad \dots, \quad \tilde{x}_{t+K} = \text{Head}_K(H)

Medusa heads generate top-kk predictions at each positional offset simultaneously. The system takes the Cartesian product of the top candidates, filters them into a fixed tree structure (e.g., 64 candidate paths), and validates them via tree-attention masking in the next target step. Because Medusa heads run concurrently on the target model's existing activations, draft generation latency tdraft0t_{\text{draft}} \approx 0.

EAGLE and EAGLE-2: Feature-Level Extrapolation

EAGLE (Li et al., 2024) and EAGLE-2 (Li et al., 2024) observe that language modeling is substantially more predictable in feature representation space than in discrete token space.

EAGLE feeds the target model's second-to-last layer hidden states into a single transformer decoder layer, predicting top-level feature vectors autoregressively before projecting to token logits. EAGLE-2 incorporates dynamic draft trees that condition their branching factor on contextual draft confidence (entropy of draft heads), achieving acceptance rates exceeding 85% on coding and structured data benchmarks.

Drafting Paradigms: A Comparative Analysis

Modern inference engines utilize four primary speculative drafting architectures:

Speculative Drafting Architectures
----------------------------------------------------------------------------------------
1. Small Companion Model (Draft Model)
   - Mechanism: Separate smaller model from the same architecture family (e.g. Llama-3-8B drafting for Llama-3-70B).
   - Advantages: High acceptance fidelity, shares token vocabulary and tokenizer.
   - Disadvantages: Requires additional GPU memory allocation for draft weights and draft KV cache.

2. Multi-Head Predictions (Medusa / Hydra)
   - Mechanism: Additional linear / MLP heads attached to target model's final hidden state.
   - Advantages: Zero additional weight memory overhead; no inter-model synchronization.
   - Disadvantages: Requires dedicated supervised fine-tuning of heads; lower acceptance on out-of-distribution reasoning.

3. Feature-Level Recurrent Predictors (EAGLE / EAGLE-2)
   - Mechanism: Single-layer transformer operating on top-layer target embeddings.
   - Advantages: High acceptance rates (80-90%); robust across diverse temperatures.
   - Disadvantages: Requires training an auxiliary lightweight feature module.

4. N-Gram & Prompt Lookup (Prompt-Lookup / REST)
   - Mechanism: Matches context n-grams against prompt history to fetch candidate continuations.
   - Advantages: Zero compute overhead, zero parameter training.
   - Disadvantages: Effective only on high-redundancy tasks (retrieval-augmented generation, document summarization, code editing).

Production Serving Constraints and System Dynamics

While speculative decoding consistently accelerates single-stream generation (B=1B = 1), its economic viability shifts under heavy batch serving conditions.

The Batch Size Throughput Trade-off

As concurrent serving batch size BB increases on a GPU:

  1. High batch sizes (B64B \ge 64) naturally elevate arithmetic intensity I=B×1 FLOP/byteI = B \times 1 \text{ FLOP/byte}, pushing the GPU out of the memory-bandwidth bound regime and into the compute-bound regime.
  2. In the compute-bound regime, verifying KK speculative tokens requires K×K\times additional FLOPs that compete directly with other concurrent requests for Tensor Core execution slots.
  3. If the acceptance rate β\beta is insufficient, the compute cost of rejected speculative tokens reduces overall token throughput (tokens/second across all users) compared to standard continuous batching without speculation.

Consequently, modern LLM inference systems deploy speculative decoding strategically:

  • Low concurrency / Strict SLA regimes: Speculative decoding is activated to minimize Time-to-First-Token (TTFT) and Inter-Token Latency (ITL).
  • High throughput / Saturated queue regimes: Speculative decoding is dynamically throttled or disabled to maximize global cluster throughput.

KV Cache Management in Speculative Verification

In standard autoregressive decoding, exactly one KV entry is appended to the KV cache per sequence per step. In speculative decoding:

  1. Speculative Allocation: Space for γ\gamma candidate tokens must be reserved in the paged KV cache during draft generation.
  2. Selective Pruning and Rollback: Upon target verification, only the accepted prefix of length kγk \le \gamma is retained. The memory manager must immediately reclaim the unaccepted slots (k+1k+1 through γ\gamma) without causing memory fragmentation or incurring memory copy overhead.

Engines such as vLLM implement paged tree-KV tables, using logical-to-physical block mapping tables to prune rejected branches with O(1)O(1) pointer reassignments.

Sources

Written by

More to read

  • LLM Guardrails and Runtime Safety in Production: Comparing NeMo Guardrails, Guardrails AI, Meta Llama Guard, and Lakera

    LLM Guardrails and Runtime Safety in Production: Comparing NeMo Guardrails, Guardrails AI, Meta Llama Guard, and Lakera Deploying large language models (LLMs) into production environments introduces runtime risks that offline evaluation and static system prompts cannot eliminate. User-facing applications face prompt injections, jailbreaks, data exfiltration, toxicity, hallucinations, and malformed structured outputs. Relying solely on system prompt instructions ("You are a helpful assistant tha

    1 min
  • Post-Training Quantization (PTQ): Mathematical Foundations of Optimal Brain Surgeon, GPTQ Hessian Inversion, AWQ Salient Scaling, and SmoothQuant Outlier Migration

    Post-Training Quantization (PTQ): Mathematical Foundations of Optimal Brain Surgeon, GPTQ Hessian Inversion, AWQ Salient Scaling, and SmoothQuant Outlier Migration Serving modern large language models at scale requires addressing severe hardware constraints. In autoregressive generation, decoding is fundamentally bounded by memory bandwidth rather than floating-point computation throughput. Each generated token requires reading every parameter from High Bandwidth Memory (HBM) into SRAM to perfo

    1 min
  • Moonshot AI Seeks Up to 30% Revenue Share from Microsoft, Amazon, and Google to Host Kimi K3

    China-based artificial intelligence startup Moonshot AI is in early negotiations with Microsoft, Amazon Web Services (AWS), and Google Cloud regarding revenue-sharing agreements to host its open-weight Kimi K3 model on their respective cloud platforms, according to a report from Reuters. According to people familiar with the matter, Moonshot is seeking up to a 30% cut of all revenue generated from hosting and serving Kimi K3 on the US hyperscaler platforms. Commercial Licensing Clauses on Ope

    1 min