AWS Trainium · training and inference chips · checked October 2026

AWS Trainium: what it is, what it costs, and when it beats a GPU.

AWS Trainium is AWS’s own chip for training and serving AI models. You rent it as EC2 Trn2 instances or Trn3 UltraServers and program it with the AWS Neuron SDK. AWS says Trn2 gives 30 to 40% better price performance than its P5e and P5en GPU instances. It pays off most for steady training of mainstream models.

Trn2 vs P5e/P5en (AWS)
30 to 40% better
newest chip
Trainium3 (3nm)
software
AWS Neuron SDK
partner-filed funding
$50K to $150K
TL;DR
  • Trainium is AWS-designed silicon for training, and AWS now also positions it for serving large models. You rent it as EC2 instances (Trn1, Trn2) or UltraServers (Trn2, Trn3). AWS states that Trn2 gives 30 to 40% better price performance than GPU-based P5e and P5en instances. Benchmark your own model before you plan around that number.
  • The trade is software. GPUs run CUDA; Trainium runs the AWS Neuron SDK. AWS says PyTorch, vLLM, Hugging Face and Ray run on current Neuron releases without code changes. Models built on custom CUDA kernels still need work, through the Neuron Kernel Interface (NKI).
  • Funding: your matched AWS partner can file POC funding to test a run on Trainium, or incremental workload (IW) funding if you already run on AWS and this is new work. For startups that is $50K to $150K. Depends on the workload; AWS approves. AWS Activate credits are separate: you apply for them yourself.
the basics

IWhat AWS Trainium is

Trainium is a family of AI chips that AWS designs in-house through Annapurna Labs, the team behind Graviton and Inferentia. You never buy the chip. You rent it inside AWS.

Each chip holds several compute engines called NeuronCores, high-bandwidth memory for weights and activations, and dedicated hardware for the collective operations (all-reduce, all-gather) that distributed training spends much of its time on. Chips inside a server talk over NeuronLink, AWS’s chip-to-chip interconnect. Servers talk to each other over Elastic Fabric Adapter (EFA).

The pitch is cost, not peak speed. A top Nvidia GPU can finish a single step faster. AWS’s claim is that a Trainium instance costs enough less per hour that a fixed budget buys more training. Whether that holds for your model depends on how well it maps to the Neuron compiler, which is why this page keeps its numbers sourced and its advice hedged.

Trainium used to be the training half of AWS’s chip line, with Inferentia for inference. AWS now positions Trainium2 and Trainium3 for both training and serving large models. Inferentia2 is still the lower-cost choice for steady inference of smaller models.

the hardware

IITrn1, Trn2, Trn2 UltraServers and Trainium3

Four configurations are live. The one you pick depends on model size and how far you need to push training time down.

Trn1 runs on the first Trainium chip. It is a lower-cost choice for fine-tuning and for models that fit in its memory.

Trn2 runs on Trainium2 and is the default for most teams in 2026. Per AWS’s Trn2 page, one Trn2 instance has 16 Trainium2 chips and 1.5 TB of accelerator memory. A Trn2 UltraServer links 64 Trainium2 chips across four instances over NeuronLink, for models too large for one node.

Trainium3 is AWS’s first 3nm AI chip, with 144 GB of HBM3e per chip. Per AWS’s Trn3 page, a Trn3 UltraServer scales up to 144 Trainium3 chips and delivers up to 4.4x higher performance than a Trn2 UltraServer. It targets frontier-scale training and serving: mixture-of-experts, reasoning and long-context models.

All of them scale out into EC2 UltraClusters: many instances in one Availability Zone joined by EFA, so gradient sync across nodes does not become the bottleneck.

Trainium configurations · AWS figures checked October 10, 2026
ConfigurationChipBest forScale (per AWS)
Trn1Trainium1Fine-tuning, mid-size modelsSingle instance or UltraCluster
Trn2Trainium2LLM training and fine-tuning (default)16 chips, 1.5 TB accelerator memory
Trn2 UltraServerTrainium2Models too large for one node64 chips across 4 instances
Trn3 UltraServerTrainium3 (3nm)Frontier-scale training and servingUp to 144 chips
Chip counts, memory and regional availability change. Confirm current specs on the AWS Trn2 and Trn3 pages before you size a run.
the pitch

IIIPrice performance vs Nvidia GPUs, with the caveats

AWS’s published figure is specific: Trn2 instances offer 30 to 40% better price performance than GPU-based EC2 P5e and P5en instances. Read it carefully before you plan around it.

The figure is price performance: training throughput per dollar, not raw speed. It compares Trn2 with AWS’s own P5e and P5en instances (source: AWS Trn2 page, checked October 10, 2026). Three structural reasons make it plausible: AWS owns the chip, so there is no third-party hardware margin; the silicon is narrowed to the math training needs; and AWS designs the chip, interconnect, network and compiler together.

Caveat one: it depends on the workload. A model with operations the Neuron compiler handles less well will see a smaller gain. Caveat two: it leaves out porting. If your model needs custom kernels rewritten, that engineering time comes off the saving, especially on a one-off run. Caveat three: the GPU baseline moves. Compare against the exact GPU instance and price you would otherwise use.

the metric that matters

Compare dollars per trained model, not dollars per hour or step time. A Trn2 instance that is slower per step can still finish the run cheaper. Measure total dollars to your target loss, on your model, at today’s prices.

the software

IVThe Neuron SDK and what porting takes

Trainium does not run CUDA. It runs the AWS Neuron SDK: a compiler, a runtime and framework integrations. Adopting Trainium is mostly a question of how much of your code moves cleanly.

Neuron plugs into the tools most teams already use. AWS says PyTorch (including native eager mode and FSDP), vLLM, Hugging Face Transformers, TorchTitan and Ray run on Trainium without code changes on current releases. Orchestration works through Amazon EKS, ECS, AWS Batch, Slurm and SageMaker HyperPod. The Neuron documentation lists supported models and sample training scripts.

The friction is at the edges. A model that leans on hand-written CUDA kernels, or on a GPU-only attention implementation, will not run as-is. You need a supported alternative or a kernel written with the Neuron Kernel Interface (NKI), which is real engineering work. A brand-new architecture can also need a Neuron update before it trains at full speed.

What moves cleanly and what takes work

  • Usually moves cleanly: standard decoder-only and encoder transformers, Llama-class and most open-weight LLM families, Hugging Face models, full fine-tuning and LoRA, and standard data, tensor and pipeline parallelism.
  • Takes real work: custom CUDA kernels with no Neuron equivalent, GPU-only fused operations, very new architectures, and anything where you need NKI kernels to recover speed.
running it

VRunning a real job: instances, clusters and capacity

Small jobs run on one instance. Large runs span an UltraCluster and need checkpointing and reserved capacity.

For porting and fine-tuning, launch a single Trn2 instance from a Neuron Deep Learning AMI or container, which ships with the SDK and drivers installed. For a large run, use SageMaker HyperPod (built for long distributed training that survives hardware failures), Amazon EKS, or an HPC-style scheduler such as Slurm.

Two things to budget for. Checkpointing: across thousands of chips over a long run, hardware failures are expected, so checkpoint often and use tooling that resumes cleanly. Capacity: large blocks of new accelerators are in demand. For a big run, reserve capacity ahead, for example with EC2 Capacity Blocks for ML or a Capacity Reservation, instead of assuming it is free on demand.

adoption

VIWho uses Trainium

AWS’s Trainium page names Anthropic, Databricks, Decart, OpenAI, Ricoh, SplashMusic and Uber as customers using Trainium instances and UltraServers.

The most visible user is Anthropic. AWS and Anthropic have described large Trainium2 build-outs, including Amazon’s Project Rainier cluster, for training and serving Claude models. That is a signal the Neuron stack handles very large training jobs. Customer lists change; check the AWS Trainium page for the current one.

Nvidia GPUs are still the industry default. The fair reading is that Trainium is proven at the high end and is a sound choice for cost-sensitive teams with mainstream models, not that everyone has switched.

the decision

VIIWhen to choose Trainium vs a GPU

The decision is one trade: a price-performance gain (favors Trainium) against porting and ecosystem cost (favors GPU). The more you train on the same, mainstream code, the more Trainium wins.

Choose Trainium when

  • You train or fine-tune a mainstream transformer or open-weight LLM that Neuron supports.
  • You will train repeatedly on the same code, so any porting cost is paid once and spread over many runs.
  • Cost is a primary constraint and a lower cost per trained model matters to your runway.
  • You want to stay on AWS for SageMaker, EFA networking and AWS funding.

Choose a GPU when

  • You depend on custom CUDA kernels or GPU-only code that would be costly to rewrite in NKI.
  • You do fast-moving research on new architectures that need day-one framework support.
  • The job is a one-off where porting work would cancel the hardware saving.
  • You need maximum single-run speed regardless of cost.
the common middle path

Many teams prototype on GPUs, then move stable, repeated training to Trainium once the architecture stops changing. Pick per workload, not forever.

Trainium and Inferentia

VIIITrain on Trainium, serve on Inferentia (or on Trainium)

Both chip families use the same Neuron SDK, so a model trained on Trainium can be compiled for inference without changing toolchains.

The classic split is to train or fine-tune on Trn2 and serve on Inf2 instances (Inferentia2), which are built for low-cost steady inference. AWS says Inferentia2 delivers up to 4x higher throughput and up to 10x lower latency than the first Inferentia chip.

For very large models, AWS now also positions Trn2 and Trn3 for serving, because they hold more memory per chip. A practical rule: serve small and mid-size models on Inf2, and serve frontier-size models where they fit, which may be Trainium. See the AWS Inferentia guide for the inference side.

first steps

IXGetting started with Trainium

Prove the path on one instance before you commit a large run.

  • Pick a known-good model: Start with a supported architecture, such as a Llama-class model or a Hugging Face model, on a single Trn2 instance. Do not start with your most unusual in-house model.
  • Use a prebuilt environment: Launch from a Neuron Deep Learning AMI or container with the SDK and drivers installed.
  • Run a short job and compare: Point your training loop at the Neuron device, run a short job, and check that the loss curve matches your GPU baseline.
  • Measure dollars per trained model: Compare throughput and cost against the GPU instance you would otherwise rent, at current prices. This is the number the decision turns on.
  • Scale if it pays: Move to an UltraCluster through SageMaker HyperPod or EKS, add checkpointing, and reserve capacity. This is also the point to line up funding, covered next.
funding the run

XHow to fund a Trainium run, and who files it

Two kinds of AWS money can pay for Trainium hours, and different people file them.

Partner-filed funding. Your matched AWS partner can file POC funding to test the run on Trainium, or incremental workload (IW) funding if you already run on AWS and the training is new work. If the workload runs on another cloud today, MAP funding can apply to the move. For startups, partner-filed funding is $50K to $150K. Depends on the workload; AWS approves. The partner can also do the Neuron porting and cluster setup with your team.

AWS Activate credits. You apply for these yourself. Activate Founders is $1,000 to start, up to $5,000, with no investor needed. Activate Portfolio is up to $200,000, using the Org ID from your VC, accelerator or angel group if it is an AWS Activate Provider. A consulting partner cannot file Activate for you. Promotional credits do not pay Savings Plans or Reserved Instance upfront fees.

The AWS Generative AI Accelerator gave its 2025 cohort of 40 startups up to $1 million each in AWS credits. AWS selects the startups; no partner files it. Startups pay CloudRoute nothing. Partners pay CloudRoute a monthly membership plus 10% of AWS-approved funding. See how POC funding works for the details.

Who files it
FundingWho files itAmountWhen it fits
Migration Acceleration Program (MAP)Your matched AWS partner$50K to $150K for startups. Depends on the workload; AWS approves.You are not on AWS yet and want to migrate.
Proof of concept (POC) fundingYour matched AWS partner$50K to $150K for startups. Depends on the workload; AWS approves.You want to test something, whether or not you are on AWS today.
Incremental workload (IW) fundingYour matched AWS partner$50K to $150K for startups. Depends on the workload; AWS approves.You are already on AWS and are launching new work: a new AI feature, a new customer or a new contract.
AWS Activate FoundersFounder applies$1,000 to start, up to $5,000Self-funded startups with no investor or accelerator behind them.
AWS Activate PortfolioFounder appliesup to $200,000Startups backed by a VC firm, accelerator or angel investor that is an AWS Activate Provider.
AWS Credits for AI StartupsInvite only (AWS account manager)$200,000 or more, by invitationAI startups ready to scale after Activate Portfolio, invited by AWS.
Facts checked on October 10, 2026. AWS decides every application.
side by side

Trainium vs Nvidia GPU for training

Trainium wins on cost per unit of training and AWS integration. GPUs win on ecosystem and raw single-run speed. Porting effort is the row that most often decides it.

DimensionAWS Trainium (Trn2, Trn3)Nvidia GPU (P5e, P5en and newer)
Price performanceAWS: Trn2 is 30 to 40% better than P5e and P5en (benchmark your model)The baseline AWS compares against
Single-run speedStrong; top GPUs can still win some stepsOften the fastest per step
SoftwareAWS Neuron SDK: PyTorch, JAX, vLLM, Hugging Face, NKICUDA: near-universal support
Porting effortLow for mainstream models; real work for custom CUDA kernelsNone
New architecturesMay need a Neuron update or NKI kernelsUsually supported on day one
Best forRepeated, cost-sensitive training of mainstream modelsFast research, exotic kernels, one-off runs
AWS figures checked on October 10, 2026. Prices and per-chip throughput change. Confirm current Trn and P-instance rates on the AWS EC2 pricing page and benchmark on your own model.
about to size a training cluster?
Get matched with a partner who knows Neuron and can file POC or IW funding
Start in 3 minutes →
how a match works

How a match works (example)

  1. You tell us about the work

    You fill in a short form: what you run today, what you want to move, test or build, your stage and your region.

  2. We pick one partner

    We read your answers and pick one vetted AWS consulting partner that fits the work, the stack and the region. We reply within 24 hours; your matched partner reaches out within 5 business days.

  3. The partner checks POC funding

    Your matched partner scopes the test with you. Then it checks whether the test qualifies for POC (proof of concept) funding. A POC can fit whether or not you run on AWS today.

  4. The partner files, AWS decides

    If the work qualifies, the partner files the funding request with AWS. AWS reviews it and decides. The amount depends on the workload.

  5. You pay nothing

    CloudRoute is free for startups. Partners pay CloudRoute a monthly membership plus 10% of AWS-approved funding.

AWS Activate credits are separate, and you apply for them yourself. Use Activate Founders if no investor backs you. Use Activate Portfolio with the Org ID or invite from your VC, accelerator, incubator or angel group if it is an Activate Provider. A consulting partner cannot apply for Activate on your behalf.

faq

Common questions

What is AWS Trainium?
AWS Trainium is a family of AI chips that AWS designs in-house to train and serve models at lower cost than comparable GPUs. You rent it as EC2 Trn1 or Trn2 instances, or as Trn2 and Trn3 UltraServers, and you program it with the AWS Neuron SDK instead of CUDA.
Is Trainium cheaper than Nvidia GPUs?
AWS states that Trn2 instances offer 30 to 40% better price performance than its GPU-based P5e and P5en instances (AWS Trn2 page, checked October 10, 2026). Your result depends on the model and on how much porting it needs, so benchmark dollars per trained model on your own workload before you commit.
What is Trainium3?
Trainium3 is AWS’s fourth-generation AI chip and its first built on a 3nm process, with 144 GB of HBM3e per chip. Trn3 UltraServers scale up to 144 Trainium3 chips. AWS says they deliver up to 4.4x higher performance than Trn2 UltraServers.
What is the difference between Trainium and Inferentia?
Both are AWS AI chips that use the Neuron SDK. Trainium targets training, and AWS now also positions Trainium2 and Trainium3 for serving very large models. Inferentia targets low-cost inference, mostly for small and mid-size models on Inf2 instances. A common pattern is to train on Trainium and serve on Inferentia with the same toolchain.
How hard is it to port a model to the Neuron SDK?
For mainstream models, AWS says PyTorch, vLLM, Hugging Face and Ray run on current Neuron releases without code changes. The hard cases are models built on custom CUDA kernels or very new architectures, which need NKI kernels or a Neuron update. That porting cost is the biggest variable in the Trainium decision.
When should I choose a GPU over Trainium?
Choose a GPU when you depend on custom CUDA kernels, when you do fast research on new architectures, when the job is a one-off that would not repay porting work, or when you need maximum single-run speed regardless of cost. Choose Trainium for repeated, cost-sensitive training of mainstream models.
Who files AWS funding for a Trainium run?
Your matched AWS partner can file POC funding to test the run, or incremental workload (IW) funding if you already run on AWS and this is new work. For startups that is $50K to $150K; it depends on the workload, and AWS approves. AWS Activate credits are separate and you apply for them yourself. A consulting partner cannot file Activate. CloudRoute is free for startups; partners pay CloudRoute.

Plan a Trainium run with a partner who can file the funding

CloudRoute matches ML teams with a vetted AWS partner. The partner can do the Neuron work and file POC or IW funding when the workload qualifies and AWS approves. Startups pay CloudRoute nothing. Partners pay CloudRoute a monthly membership plus 10% of AWS-approved funding.

partner-filed funding$50K to $150K
cost to youfree