AI

Trainium3 & TPU on SemiAnalysis InferenceX: Unpacking the 2.28x Perf-per-Dollar AgentX Preview

SemiAnalysis's November 25-27, 2026 InferenceX AgentX preview shows AWS Trainium3 UltraServers delivering 2.28x the tokens per modeled dollar of NVIDIA GB300 NVL72 on a 744B MoE coding-agent trace, alongside Google TPU v7 Ironwood results. A closer look at the underlying API rows reveals that 96% of Trainium3's 2.28x advantage comes from modeled TCO ($1.05 vs $2.31/chip-hr) rather than raw per-chip throughput, with higher time-to-first-token (4.5s vs 1.8s) and an unverified preview status.

By 0xScorPionSon

10 min read

Trainium3 & TPU on SemiAnalysis InferenceX: Unpacking the 2.28x Perf-per-Dollar AgentX Preview

Trainium3 InferenceX AgentX 3D isometric architecture and TCO comparison

Executive Summary

On November 25–27, 2026, semiconductor research firm SemiAnalysis published its first official preview of Amazon Web Services (AWS) Trainium3 UltraServer results on AgentX, its agentic inference benchmark suite within InferenceX, alongside expanded coverage of Google's custom TPU accelerators. The headline claim—that Trainium3 delivers 2.28x better performance per dollar than NVIDIA's GB300 NVL72, NVIDIA B300, and AMD MI355X—immediately drew industry attention because it directly tests hyperscaler custom silicon on multi-turn coding-agent traces rather than synthetic single-turn chat prompts.

However, an empirical audit of the underlying InferenceX API rows and SemiAnalysis's TCO methodology shows a more nuanced reality for infrastructure teams:

  • Cost Assumptions Drive Nearly the Entire Multiple: At the 2.28x operating point (~246 tokens per second per user at P90 interactivity), Trainium3's per-chip throughput is only ~3.6% higher than GB300 (9,266 vs. 8,942 total tokens/chip/sec). The 2.28x ratio arises primarily because SemiAnalysis's External TCO model prices Trainium3 at $1.05 per chip-hour versus $2.31 per GB300 chip-hour (a 2.20x cost ratio).
  • Peak Throughput vs. Cost Trade-Off: At peak throughput (89 tok/s/user P90 interactivity), GB300 produces 2.05x more tokens per chip (63,647 vs. 31,045 tok/s/chip), narrowing Trainium3's External-basis cost lead to roughly 7% (106.4M vs. 99.2M tokens per TCO dollar).
  • Latency & Verification Caveats: At the 2.28x operating point, P90 Time to First Token (TTFT) is 4.5 seconds on Trainium3 compared to 1.8 seconds on GB300. Furthermore, the Trainium3 rows carry an Official Preview label without public GitHub reproduction commits or run logs, and list the model as GLM-5.3 on Trainium3 versus GLM-5.2 on GB300.

Confidence level: Medium-High for hardware specifications, AgentX trace parameters, TPU v7 SGLang-TorchTPU numbers, and the reconstructed November 25–26 InferenceX API rows; Provisional for Trainium3's 2.28x cross-vendor ranking until SemiAnalysis completes independent reproduction and AWS publishes commercial Trn3 pricing.


Architecture & How AgentX Works

Why AgentX Differs from Static Chat Benchmarks

Traditional LLM inference leaderboards evaluate isolated prompt-response pairs with short inputs and uniform batch sizes. That profile fails to capture production coding agents, which maintain deep repository context, pause during tool execution, and spawn parallel sub-agents.

According to InferenceX documentation and the PyTorch SGLang-TorchTPU engineering report, AgentX v1.0 is constructed from 393 opt-in Claude Code sessions replayed with deterministic seeds and synthetic tokens while preserving exact request lengths, prefix-sharing trees, tool-call delays, and sub-agent fan-out graphs:

AgentX v1.0 Trace Property Verified Value Production Implication
Published Sessions 393 Deterministic replay across hardware stacks
Median Input Tokens / Request 142,016 Heavy prefill and KV-cache capacity pressure
Median Output Tokens / Request 444 Total throughput is dominated by input/prefix processing
Sessions with Sub-Agent Bursts 44% Closed-loop concurrency spikes in-flight HTTP requests
Context Window Variants 1M (full) / 256K (truncated) Tests long-context memory walls and cache eviction

Because AgentX simulates closed-loop agent clients—where turn n+1 waits for turn n and parallel sub-agent branches—tail latency stalls directly reduce effective system concurrency.

flowchart LR
    A[Main Agent Turn<br/>142K Median Input] --> B{Prefix Cache Hit?<br/>HBM / Host DRAM L2}
    B -->|Hit| C[Decode & Tool Call<br/>444 Median Output]
    B -->|Evicted| D[Full Context Re-Prefill<br/>TTFT Spike: 1.8s–4.5s]
    C --> E[44% Sub-Agent Fan-Out<br/>Parallel HTTP Bursts]
    E --> F[Join & Next Turn]

Custom Silicon Profiles: AWS Trainium3 vs. Google TPU v7 & 8th-Gen

Both AWS and Google have architected their latest accelerators specifically around Mixture-of-Experts (MoE) routing and multi-hundred-kilobyte KV caches:

  1. AWS EC2 Trn3 UltraServers (Trainium3): Announced as generally available on December 2, 2025, AWS Trainium3 is AWS's first 3nm AI chip. Each chip delivers 2.52 FP8 PFLOPs, 144 GB of HBM3e, and 4.9 TB/s of memory bandwidth. A full Trn3 UltraServer scales up to 144 Trainium3 chips (362 MXFP8 PFLOPs, 20.7 TB HBM3e, 706 TB/s aggregate memory bandwidth) connected via NeuronSwitch-v1 and NeuronLink-v4 (2 TB/s per-chip interconnect). AWS states Trn3 delivers up to 4.4x higher compute, 3.9x memory bandwidth, and 4x performance per watt compared to Trn2 UltraServers.
  2. Google TPU v7 (Ironwood) & TPU 8tx / 8i Max: Google's seventh-generation Ironwood TPU packs 192 GiB of HBM per chip at 7.37 TB/s (split across two chiplets/devices per chip, 2,307 BF16 TFLOPs and 4,614 FP8 TFLOPs peak), linked by 6 ICI links totaling 1,200 GB/s per chip. On November 9, 2026, Google expanded its eighth-generation lineup with TPU 8tx (confidential compute paired with 5th-Gen AMD EPYC hosts) and TPU 8i Max (dual-chip package doubling compute, SRAM, and HBM bandwidth for massive agentic contexts), alongside TorchTPU and TPU Sync for disaggregated KV streaming.
{
  "benchmark": "InferenceX_AgentX_v1.0",
  "workload": "744B_MoE_Coding_Agent_Replay",
  "trace_profile": {
    "sessions": 393,
    "median_input_tokens": 142016,
    "median_output_tokens": 444,
    "subagent_session_share": 0.44
  },
  "trainium3_submission": {
    "chips_total": 112,
    "decode_topology": "5_workers_x_16_chips_wide_EP",
    "precision": "FP4",
    "serving_engine": "vLLM_container_preview",
    "external_tco_usd_per_chip_hr": 1.05
  }
}

Benchmarks, Cost & Latency Analysis

Trainium3 UltraServer vs. NVIDIA GB300 NVL72 on AgentX

According to Supercomputing News's reconstruction of the November 25, 2026 InferenceX API data, the Trainium3 preview run used 112 Trainium3 chips (with decode split across five 16-chip workers using wide expert parallelism) running GLM-5.3 in FP4 with vLLM, compared against 24 NVIDIA GB300 GPUs running GLM-5.2 in FP4 with NVIDIA Dynamo and SGLang. (Z.ai notes that GLM-5.2 and GLM-5.3 share the same 744B-parameter base model.)

Metric AWS Trainium3 (vLLM, FP4) NVIDIA GB300 NVL72 (Dynamo SGLang, FP4) Ratio / Delta
Modeled External TCO ($/chip-hr) $1.05 $2.31 2.20x cheaper per chip-hr
Throughput at 246 tok/s P90 (tok/s/chip) 9,266 8,942 +3.6% per chip
Tokens per TCO Dollar at 246 tok/s P90 31.8M 13.9M 2.28x perf/$ (headline)
P90 Time to First Token (at 246 tok/s) 4.5 seconds 1.8 seconds 2.5x slower TTFT on Trn3
Peak Throughput at 89 tok/s P90 (tok/s/chip) 31,045 63,647 GB300 is 2.05x faster/chip
Peak Tokens per TCO Dollar (External) 106.4M 99.2M 1.07x (+7% on Trn3)

Across the Pareto curve reported by Magica, Trainium3's modeled tokens-per-dollar advantage over GB300 NVL72 fluctuates with target user interactivity:

  • 140 tok/s/user (P90): 1.98x
  • 190 tok/s/user (P90): 2.18x
  • 250 tok/s/user (P90): 2.28x (peak relative advantage)
  • 350 tok/s/user (P90): 2.01x (Trainium3's curve extends past 450 tok/s/user)

The TCO Denominator Effect & Internal vs. External Basis

SemiAnalysis's InferenceX cost model estimates hyperscaler-volume ownership costs over an assumed multi-year economic life rather than reflecting public cloud on-demand list prices:

Accelerator Modeled External Cost ($/chip-hr) Notes
AWS Trainium3 $1.05 Internal basis drops to $0.83/chip-hr; AWS lists no public Trn3 hourly rate
Google TPU v7 (Ironwood) $1.21 Used in PyTorch's 1M-context AgentX baseline
AMD MI355X $1.50 Competed in AgentX FP4 sweeps
NVIDIA GB200 $1.86 Baseline for TPU v7 1M-context AgentX comparisons
NVIDIA B300 $2.26 Included in SemiAnalysis's Nov 25 comparison
NVIDIA GB300 $2.31 2.20x Trainium3's External chip-hour estimate

Switching from the External basis ($1.05/hr) to the Internal basis ($0.83/hr) shifts rankings significantly—and SemiAnalysis's own comparison page notes that NVIDIA's upcoming Vera Rubin NVL72 (also an official preview) posts 3.3x the tokens per dollar of Trainium3 at 273 tok/s/user under the Internal view.

Google TPU v7 on AgentX: SGLang-TorchTPU & Megakernel Gains

While Trainium3 relies on wide expert parallelism across 112 chips, the PyTorch and RadixArk team demonstrated on November 10, 2026 how software co-design makes a single 4-chip TPU v7 host (8 logical devices) competitive on the full 1M-context AgentX trace set serving Meta's 816B-parameter Muse Spark Open (42B active, FP8 compute with NVFP4 expert weights):

  • AgentX 1M-Context Curve: Runs from 6,101 tok/s/chip at 433 output tok/s/request up to 25,906 tok/s/chip at 95 output tok/s/request, completing all requests within 47 seconds at P90.
  • Whole-Step Pallas Megakernel: Executing all 62 MoE layers inside a single pallas_call per decode/verify step eliminates ~45 µs per-layer collective overhead, cutting single-request time per output token by 1.94x (3.78 ms to 1.95 ms).
  • L2 HiCache & Session-Aware Eviction: Using the 960 GB host DRAM as an L2 KV cache tier raised agentic throughput by up to 77%, while session-aware radix eviction prevented idle parent agents (waiting on sub-agents) from losing their 100K+ token prefixes—bringing prefill recomputation within 1–5% of an oracle cache.

Production Deployment & Trade-Offs

1. Wide Expert Parallelism (EP) Requires Scale-Up Fabric & High Concurrency

Trainium3's 2.28x run spread a 744B MoE model across 112 chips (five 16-chip decode workers) via wide EP, whereas GB300 NVL72 needed only 24 GPUs at the same operating point. Wide EP minimizes per-chip weight movement and maximizes HBM bandwidth utilization, but it requires high-bandwidth all-to-all interconnects (NeuronSwitch-v1) and sufficient concurrent agent traffic to amortize a 112-chip minimum deployment footprint. Small or bursty teams may find 4-chip TPU v7 hosts or 8–24 GPU nodes far easier to right-size.

2. Verification Gaps & Software Stack Friction

Engineers evaluating Trainium3 for 2027 capacity should separate verified hardware facts from provisional benchmark claims:

  • Missing Reproduction Artifacts: Unlike NVIDIA GB300 rows that link directly to commits in the InferenceX GitHub repository, the November 25 Trainium3 rows lack public run logs, exact container commit hashes, and confirmation of whether custom kernels or standard TorchNeuron were used.
  • Model Label Mismatch: The Trainium3 row lists GLM-5.3 while the GB300 row lists GLM-5.2. Even though both share a base model, independent buyers should require identical model weights and checkpoints before signing multi-year commitments.
  • Ecosystem Maturity: Although vLLM supports Trainium and Google open-sourced TorchTPU for vLLM and SGLang, CUDA/SGLang/TensorRT-LLM remains the lowest-friction path when deploying brand-new model architectures on day one.

3. Workload Shape Dictates Whether Custom Silicon Wins

If your production workload consists of short-context (<4K tokens) classification, extraction, or batch summarization, AgentX rankings do not apply—static throughput benchmarks favor high-FLOPs GPU configurations. Conversely, if your system runs long-horizon coding or research agents with >100K-token contexts, heavy prefix reuse, and sub-agent fan-out, prefix cache capacity (20.7 TB HBM3e on Trn3 UltraServer or L2 HiCache on TPU v7) and $/1M agent tokens at your target P90 TTFT matter more than peak FP8 TFLOPs.


Frequently Asked Questions

Does Trainium3 run 2.28x faster than NVIDIA GB300 NVL72?

No. At the 2.28x operating point (~246 tok/s/user P90 interactivity), Trainium3's per-chip throughput is only 3.6% higher than GB300 (9,266 vs. 8,942 total tokens/chip/sec), and its P90 Time to First Token is slower (4.5s vs. 1.8s). The 2.28x figure measures tokens per modeled TCO dollar, driven by SemiAnalysis's $1.05 vs. $2.31 chip-hour cost assumption.

Are SemiAnalysis's $1.05/hr Trainium3 and $2.31/hr GB300 figures AWS and NVIDIA cloud prices?

No. Those are SemiAnalysis's modeled External TCO estimates for large-scale hyperscaler hardware ownership over a multi-year lifecycle. AWS does not publish public on-demand hourly list pricing on its EC2 Trn3 UltraServer product page, so enterprise buyers must substitute their own negotiated contract rates.

Why are the Trainium3 AgentX results labeled "Official Preview"?

SemiAnalysis applies the "Official Preview" label to vendor-submitted or early-access results (including Trainium3, TPU7x, and NVIDIA Vera Rubin NVL72) that do not yet have full public reproduction logs, GitHub commit links, and independent reruns by the SemiAnalysis team.

How does Google TPU v7 compare to Trainium3 and NVIDIA on AgentX?

In PyTorch and RadixArk's November 2026 SGLang-TorchTPU evaluation on a 4-chip TPU v7 host (modeled at $1.21/chip-hr vs. $1.86/hr for GB200), TPU v7 ran the full 1M-context AgentX trace set at up to 25,906 tok/s/chip using a Pallas megakernel and host-DRAM L2 HiCache. Earlier SemiAnalysis TPUv7 Ironwood previews also showed up to 50% better perf/$ than B200/B300 in FP8, though NVIDIA retained the lead on native FP4.

When should an engineering team pilot Trainium3 or TPU v7 over NVIDIA GPUs?

Consider piloting Trainium3 or TPU v7 when your workload has >100K-token contexts with high prefix reuse (such as coding agents), you can supply enough concurrency to utilize wide expert parallelism or multi-chip slices, and your cloud vendor provides reproducible AgentX replay scripts alongside firm Trn3/TPU contract pricing.


Sources

More on AI

AI

llama.cpp Launches Public AMD Benchmark Dashboard on Hugging Face: PP512, TG128, and Context Scaling

On November 26, 2026, ggml-org launched a public llama.cpp benchmark dashboard on Hugging Face for AMD Radeon 8060S (gfx1151) and Radeon AI Pro R9700S (gfx1201) systems. Running weekly llama-bench suites on prebuilt llama-install.sh binaries with 10 repetitions and Flash Attention toggled, the explorer exposes PP512 prompt processing, TG128 token generation, and context-scaling curves backed by raw JSONL telemetry.

10 min read

Tell us what is not working

A thirty-minute call, no deck and no obligation. You will leave with a straight answer about whether this is worth building - including if that answer is no.

Start a project

Direct line

hello@codebumble.net
Dhaka, Bangladesh  :   local timeCalls in English or Bangla