Before you start: words you need#
| Word | Plain meaning |
|---|---|
| Hyperscaler | One of the giant cloud and internet companies — AWS, Google, Microsoft, Meta. |
| In-house chip | A chip a company designs for its own use, usually with a design partner such as Broadcom or Marvell. |
| NeuronCore | The compute block inside AWS’s Trainium chips. |
| Software-managed SRAM | On-chip memory that the compiler or programmer fills explicitly; nothing is cached automatically. |
| UltraServer | AWS’s name for a group of Trainium chips joined into one fast scale-up domain. |
| Gross margin | The part of a product’s price above what it cost to make. |
1. What is it?#
The companies that buy the most AI hardware also design their own. AWS has Trainium (and the older inference-only Inferentia), Microsoft has Maia, Meta has MTIA, and Google has the TPU (7.i). Each is a bet that, at their volume, a chip designed for their own workloads and bought at cost beats paying a merchant vendor’s margin.
Trainium3, generally available since December 2025, is the most widely rented of these after the TPU: 144 GB of HBM3e per chip, 144 chips in one scale-up “UltraServer”, and a software stack, Neuron, that exposes the chip’s engines directly to kernel writers.
Facts checked on 11 November 2026.
2. Why does it matter?#
- Price per token in the cloud. Hyperscaler chips are often the cheapest way to rent large amounts of compute in that cloud.
- Where frontier models run. Anthropic trains and serves on Trainium as well as TPUs and GPUs; Microsoft serves its own traffic on Maia. If you work at or with these companies, you will meet these chips.
- The design choices teach you the problem. Maia 200’s 272 MB of SRAM and Google’s TPU 8i’s 384 MB both say the same thing about decode: keep more of the hot working set on the chip.
3. Simple analogy#
A restaurant chain big enough can stop buying ovens from a catalogue and have its own designed: sized for its exact menu, at the cost of building them, without the catalogue’s markup. For a single restaurant, the design fee would never pay back. For a chain of ten thousand, it pays back many times over.
4. Tiny example#
A rough break-even, using placeholder numbers:
design program per generation: $800 million
merchant GPU: $35,000
in-house chip, at cost: $12,000, but 1.4 needed to match one GPU on this workloadAt 10,000 GPU-equivalents, buying GPUs costs about $0.4 billion and building costs $1.0 billion — the design fee dominates. At 100,000, buying costs about $3.9 billion and building $2.8 billion. The program in section 6 finds the crossover.
5. Technical explanation#
Inside a NeuronCore#
A NeuronCore is a small dataflow machine with four specialised engines that run in parallel, each fed from a large software-managed SRAM (SBUF):
| Engine | Does | GPU analogue |
|---|---|---|
| Tensor | matrix multiply on a systolic array (7.i) | tensor cores |
| Vector | elementwise and reduction work over vectors | CUDA cores on vectors |
| Scalar | per-element non-linear functions (exp, GELU) | special-function units |
| GpSimd | general-purpose C++ code for anything else | ordinary CUDA threads |
Nothing is cached automatically: the compiler, or a kernel written in NKI (Neuron Kernel Interface, a Python-embedded kernel language), decides which tiles move from HBM into SBUF and when, and schedules the four engines to overlap. That is more work than CUDA for the programmer, and more predictable once done. Dedicated collective engines run all-reduce and all-to-all over NeuronLink without taking engine time.
The generations#
| Trainium2 (GA Dec 2024) | Trainium3 (GA Dec 2025) | Trainium4 (previewed) | |
|---|---|---|---|
| Process | 5 nm | TSMC 3 nm | not disclosed |
| FP8 dense | ~1.3 PF | 2.52 PF (MXFP8) | ~3x Trn3 (target) |
| FP4 | n/a | MXFP4 supported | ~6x Trn3 (target) |
| Memory | 96 GB HBM3, 2.9 TB/s | 144 GB HBM3e, 4.9 TB/s | ~4x Trn3 bandwidth (target) |
| Scale-up unit | 64-chip Trn2 UltraServer | 144-chip Trn3 UltraServer, 362 PF MXFP8, 20.7 TB HBM | to support NVLink Fusion |
Trainium4’s planned support for NVIDIA’s NVLink Fusion (9.d) is notable: AWS intends to put its own chips and NVIDIA GPUs in the same scale-up fabric. Beyond an UltraServer, chips scale out over AWS’s EFA network into “UltraClusters”; Project Rainier, built for Anthropic in 2025, was hundreds of thousands of Trainium2 chips, and Trainium3 capacity expanded through 2026. Inferentia2 remains available for small, cheap inference, but Trainium now handles both training and serving.
Microsoft Maia#
Maia 200, announced in January 2026, is an inference chip: TSMC 3 nm, 216 GB of HBM3e at about 7 TB/s, 272 MB of on-chip SRAM, native FP8 and FP4, about 10 PF of FP4 at 750 W according to Microsoft’s paper. Microsoft claims about 30% better performance per dollar than its previous hardware. A successor, Maia 300 (multi-chiplet, 2 nm, HBM4), was reported in October 2026 but not confirmed by Microsoft at the time of checking.
Meta MTIA#
Meta’s MTIA chips started with the workload that dominates Meta’s data centers: recommendation and ranking. MTIA v2 (2024) used LPDDR5 rather than HBM and ran at about 90 W, because ranking models are dominated by embedding lookups and small matrices, where capacity and cost matter more than bandwidth. At Hot Chips 2026 Meta presented later MTIA generations aimed increasingly at generative AI; Meta also remains one of the largest buyers of NVIDIA and AMD GPUs.
Why build your own chip#
| Reason | What it means |
|---|---|
| Margin | A merchant GPU’s price includes a large gross margin; an in-house chip is bought at cost |
| Supply | A second source of compute when GPUs are scarce, and leverage in negotiations |
| Fit | Size the memory, SRAM and interconnect for your own models and data centers |
| Power | Better performance per watt on known workloads, in power-limited buildings |
The costs are real: a leading-edge chip program costs hundreds of millions of dollars per generation, needs a design partner (Broadcom, Marvell, Alchip, MediaTek and others), takes two to three years, and its software must be good enough that internal teams choose it.
6. Under the hood#
A break-even model for an in-house accelerator program against buying merchant GPUs.
// custom.go — at what fleet size does designing your own chip pay off?
package main
import "fmt"
func main() {
const (
programCost = 800e6 // design, masks, software team, per generation (dollars)
years = 3.0 // useful life of one generation
gpuPrice = 35000.0
gpuWatts = 1400.0
asicPrice = 12000.0 // at cost, but you need more of them for the same work
asicWatts = 900.0
asicPerGPU = 1.4 // ASICs needed to match one GPU on your workload
dollarsKWh = 0.08
pue = 1.25
)
energy := func(watts, n float64) float64 {
return watts / 1000 * n * 24 * 365 * years * pue * dollarsKWh
}
fmt.Println("GPU-equivalents merchant GPUs in-house ASICs winner")
for _, n := range []float64{10e3, 50e3, 100e3, 250e3, 1e6} {
buy := n*gpuPrice + energy(gpuWatts, n)
a := n * asicPerGPU
build := programCost + a*asicPrice + energy(asicWatts, a)
w := "buy"
if build < buy {
w = "build"
}
fmt.Printf("%15.0f $%12.2f B $%12.2f B %s\n", n, buy/1e9, build/1e9, w)
}
}Output:
GPU-equivalents merchant GPUs in-house ASICs winner
10000 $ 0.39 B $ 1.00 B buy
50000 $ 1.93 B $ 1.81 B build
100000 $ 3.87 B $ 2.81 B build
250000 $ 9.67 B $ 5.83 B build
1000000 $ 38.68 B $ 20.91 B buildWith these placeholder numbers the program breaks even at about 43,000 GPU-equivalents and wins
comfortably above that — which is why only the very largest buyers do this. Change asicPerGPU to
reflect a weaker chip or immature software and the break-even moves out quickly.
7. Performance implications#
- Trainium3 has less bandwidth per chip (4.9 TB/s) than B200 or MI355X (8 TB/s), so per-chip decode is slower; it competes on price and on the 144-chip UltraServer domain.
- SRAM-heavy inference chips (Maia 200, TPU 8i) aim at decode, where reading from on-chip SRAM beats HBM by an order of magnitude for whatever fits.
- Software-managed memory means performance depends heavily on the compiler or on NKI kernels for your exact model.
8. Production implications#
- Availability: Trainium is rented in AWS; Maia and MTIA are not sold or rented to outside customers.
- Serving stack: AWS’s Neuron SDK and its vLLM integration support a list of popular models; check yours, its precision and its context length before planning.
- Portability: code written against NKI or Neuron is AWS-specific. Keep a GPU path if you need multi-cloud.
- Cost model: compare cost per million tokens at your latency target against GPU instances in the same cloud (23.c).
9. Common mistakes#
- Assuming a hyperscaler chip is a drop-in GPU. The programming model differs.
- Comparing FP8 numbers across MXFP8 and plain FP8 without checking the format.
- Building your own chip below hyperscaler volume. The design fee never pays back.
- Ignoring the software team’s cost. It is part of the program cost.
10. Hands-on exercise#
- Run
custom.go. Find the fleet size at which build and buy cost the same. Then setasicPerGPUto 2.0 and find it again. - Read the NKI documentation and write, in pseudo-code, how you would tile a 4096 × 4096 matrix multiply into SBUF.
- Compare Maia 200’s SRAM-to-HBM ratio with Ironwood’s, TPU 8i’s and Rubin’s. What does a larger ratio suggest about the workload each was built for?
11. Interview questions#
- Name the four engines of a NeuronCore and the job of each.
- What does “software-managed SRAM” mean, and what does it cost the programmer?
- Why did Meta’s first MTIA chips use LPDDR instead of HBM?
- Give three reasons a hyperscaler builds its own accelerator, and the main reason a smaller company should not.
- Why is Trainium4’s NVLink Fusion support significant?
12. Further reading#
Checked on 11 November 2026.
- AWS Trainium
- AWS brings Trainium3 to market (HPCwire, December 2025)
- AWS Neuron documentation and NKI
- Microsoft: Maia 200, the AI accelerator built for inference
- Maia 200: a software-defined dataflow system (arXiv, August 2026)
- TrendForce on Maia 300 (13 October 2026)
- Meta MTIA v2 (Meta engineering blog, 2024)