ROCm vs CUDA: running LLMs on MI325X and MI355X

Teams serving open models in production hit the same wall sooner or later. A new model like GLM 5.3 or Kimi K3 won’t fit on the GPUs they have, or agent traffic pushes the inference bill past what they planned for. Either way, they need more GPU memory for less money.

That search usually leads to AMD. The MI325X has 256 GB per GPU and costs less per GB of memory than Nvidia’s newest chips. Then comes the doubt every engineer has heard: ROCm breaks, kernels are missing, and the savings disappear into weeks of debugging.

This post answers whether that’s still true for your model. We compare ROCm and CUDA, show which models run well on MI325X today and which don’t, explain what the newer MI355X changes, and share our own throughput and cost numbers. By the end, you’ll know what to check before moving a model to an AMD GPU for AI: whether its weights fit in a node’s memory, and whether its kernels are tuned for the chip.

ROCm vs CUDA: What is different

CUDA has wider library support and gets new model kernels first. ROCm runs the same serving engines on GPUs that give you more memory per dollar.

Table: ROCm vs CUDA for LLM inference

AreaROCm on MI325XROCm on MI355XCUDA (Nvidia)
Software supportvLLM and SGLang run, with validated containers from AMD. New models can need nightly builds. TensorRT-LLM isn’t available.Same frameworks. Kernel tuning for new models usually lands here before MI325X.vLLM, SGLang and TensorRT-LLM are all supported.
KernelsNo FP4 matrix instructions, so FP4 models use fallback kernels or get converted at load. FlashAttention 3 isn’t available.Native MXFP4 and MXFP6 matrix instructions, so FP4 models run without conversion.FlashAttention 3 and TensorRT-LLM kernels are available. Blackwell GPUs run FP4 natively.
Memory per GPU256 GB288 GBH100: 80 GB. B200: 180 GB. B300: 288 GB.
Price per GPU hour$1.10$1.50B300: $2.26
LicenseOpen sourceOpen sourceProprietary

Sources: AMD’s ROCm 10 announcement for containers, Spheron’s ROCm vs CUDA compatibility matrix for TensorRT-LLM and FlashAttention 3, and the vLLM DeepSeek V4.1 recipe for MI325X FP4 support. Memory figures come from our dedicated GPU page. Prices are SemiAnalysis’s July 2026 hyperscaler ownership costs, not rental rates.

For LLM serving, the gap sits in kernels, not in frameworks. If your stack is PyTorch with vLLM or SGLang, you can move to ROCm without rewriting your serving code. If you depend on TensorRT-LLM, or on FP4 checkpoints, plan for extra work on MI325X. The MI355X removes the FP4 part of that work.

MI325X vs MI355X specs

The AMD Instinct MI325X pairs 256 GB of HBM3E with 6 TB/s of memory bandwidth. The MI355X raises that to 288 GB and 8 TB/s, lifts dense FP8 compute 1.9x and adds native FP4.

Table: AMD Instinct MI325X vs MI355X specs

SpecMI325XMI355X
ArchitectureCDNA 3CDNA 4
Memory256 GB HBM3E288 GB HBM3E
Memory bandwidth6 TB/s8 TB/s
Peak FP8 (dense)2.61 PFLOPs5 PFLOPs
Peak FP4 (MXFP4)Not supported10.1 PFLOPs
Board power1,000 W1,400 W
Launch dateOctober 10, 2024June 12, 2025

These are AMD’s peak figures from its MI325X page and MI355X page. AMD’s MI325X page doesn’t list FP4. SemiAnalysis’s MI325X chip page lists dense FP4 as not supported.

For LLM inference, the 256 GB matters more than the compute figures. Memory decides how many GPUs a model needs, and decode speed tracks memory bandwidth.

Against the MI325X, the MI355X’s extra 32 GB and 2 TB/s per GPU help most with long context and decode speed. It also draws 400 W more per GPU. The bigger change for LLMs is native FP4, which we cover below.

What runs well on MI325X today and what still needs work

GLM 5.3 and Kimi K3 run well on MI325X today. DeepSeek V4 still needs work, because its fastest kernels target FP4 hardware the MI325X lacks.

We serve both models on MI325X nodes, as listed on our dedicated GPU page.

GLM 5.3

We run it on 4x MI325X per dedicated instance. For GLM 5.2, we built custom AMD kernels for its sparse attention with Z.ai and AMD, as our GLM 5.2 vs Opus post explains. GLM 5.3 uses the same attention design, according to SemiAnalysis.

Kimi K3

We run it on 8 to 12 MI325X GPUs. The model has 2.8 trillion parameters, so it needs the larger memory pool. Its expert weights ship in MXFP4, which the MI325X can’t run natively. On MI325X, those weights get converted before they run. The public route, shown in Shakudo’s deployment guide, dequantizes the MXFP4 experts and requantizes them to grouped int4 once at startup, then serves them on AMD’s AITER kernels. That adds a few minutes to startup and avoids FP4 kernels altogether.

DeepSeek V4

DeepSeek V4 runs on MI325X, but it isn’t tuned yet. These are the four problems in the public vLLM work:

  • No FP4 hardware path: The MI325X has no FP4 matrix instructions. The vLLM recipe for DeepSeek V4.1 Flash runs its MXFP4 experts through a slower Triton kernel instead.
  • Nightly builds only: The same recipe needs a ROCm nightly build from October 20, 2026 or later. The stable vLLM 0.31.0 release doesn’t support MI325X for this model.
  • Graph capture limits: Piecewise CUDA graph capture crashes workers on MI325X. The recipe runs prefill in eager mode, which is slower.
  • Untuned kernels: A vLLM issue reports DeepSeek V4 Pro on MI325X falling below H200 per chip in SemiAnalysis tests from August 11, 2026. The author links this to kernel tuning that has focused on MI355X first. The issue is still open.

If DeepSeek V4 is your main model, run it on Nvidia for now. The MI355X closes part of this gap, as the next section shows.

What changes on MI355X

The MI355X fixes the MI325X’s biggest gap for current open models: it runs FP4 in hardware. Its CDNA 4 matrix cores take MXFP4 and MXFP6 directly, at 10.1 PFLOPs, so 4-bit expert weights don’t need a fallback kernel or a conversion step at load.

It also gets ROCm’s attention first. The vLLM issue on DeepSeek V4 Pro says kernel tuning has focused on MI355X, with MI325X lower in the queue. That work moves fast: SemiAnalysis measured a 110x rise in MI355X throughput on DeepSeek V4 Pro with SGLang over 26 days.

Against Nvidia, the results depend on the serving engine. In SemiAnalysis’s agentic benchmarks from August 2026, MI355X with SGLang matched B200 with vLLM on performance per dollar for DeepSeek V4 Pro, until vLLM updates on August 21 moved B200 ahead. AMD’s own ATOM engine on MI355X beat GB300 NVL72 on performance per dollar across part of the latency range for both GLM 5.3 and Kimi K3. On GLM 5.3 with open-source SGLang, Nvidia was up to 5x cheaper per token at 150 tokens per second per user, a gap SemiAnalysis puts down to software, not hardware.

The trade-off is the data center. Each MI355X draws 1,400 W, against 1,000 W for the MI325X, and AMD’s 8-GPU MI355X platform is direct liquid cooled. SemiAnalysis’s cost model puts it at about $1.50 per GPU-hour to own at hyperscaler scale, against $1.10 for the MI325X.

If your model ships in FP4 and you can get MI355X capacity, it’s worth testing. If you run FP8 models that fit in 256 GB per GPU, such as GLM 5.3, the MI325X already does the job today.

Our benchmark: GLM 5.3 on 4x MI325X

In our tests, GLM 5.3 on 4x MI325X holds about 73 output tokens per second per session. That holds from 1 to 8 concurrent agent sessions, which is the instance’s limit, as listed on our GLM 5.3 page. At 8 sessions, we estimate about 584 output tokens per second in total (8 × 73).

We tested GLM 5.3 with 256K context under sustained agentic use. That’s a heavier load than a short-prompt benchmark, so it isn’t directly comparable with the GLM 5.2 figures below.

How does throughput change as you add users? Our GLM 5.2 results on the same hardware show the pattern.

Table: GLM 5.2 on 4x MI325X, in our tests (July 2026)

PrecisionOne streamPer stream, 16 usersTotal, 16 users
(tok/s)(tok/s)(tok/s)
FP8112641,034
Q4143921,482

Source: our GLM 5.2 vs Opus post, July 16, 2026. Q4 is a custom setup we’re still evaluating.

How we ran each test:

  • GLM 5.3: 256K context, sustained agentic sessions, 1 to 8 sessions at once on one 4x MI325X instance.
  • GLM 5.2: 8K tokens in and 1K tokens out on coding tasks, with DSpark speculative decoding. Speeds can drop at longer context.
  • Software: Our own optimized stack on ROCm, with custom GLM kernels and shared KV caching.

Cost per million tokens on each GPU

On our pricing, 4x MI325X serves GLM 5.2 at an estimated $2.80 per million output tokens at full load. On one B300 instance, the same work costs an estimated $7.82, or 2.8x more.

We worked out each figure with this formula:

Cost per million tokens = Monthly price ÷ (Tokens per second × 2,592,000 ÷ 1,000,000)

2,592,000 is the number of seconds in a 30-day month. The throughput figures come from the benchmark section above.

Table: Estimated cost per million output tokens by GPU

SetupMonthly priceOutputOutput tokens per monthCost per million
(tok/s)(output tokens)
4x MI325X, GLM 5.2 Q4, 16 users$7,5001,4823,841M$1.95
4x MI325X, GLM 5.2 FP8, 16 users$7,5001,0342,680M$2.80
8x MI325X (full node), GLM 5.2 FP8$15,0002,0685,360M$2.80
4x MI325X, GLM 5.3, 8 sessions$7,5005841,514M$4.95
One B300 instance, GLM 5.2 FP8$23,3601,1532,988M$7.82

How to read the estimates:

  • Full load assumed: Each row assumes the node runs at that load 24 hours a day for 30 days. At lower use, your cost per token rises.
  • Full node throughput: The 8x MI325X row assumes 2x the 4x MI325X FP8 throughput (2 × 1,034). We haven’t published a separate 8-GPU benchmark.
  • B300 throughput: In our GLM 5.2 tests, one B300 instance gave about 11.5% more throughput than 4x MI325X, at $23,360 a month. We applied that 11.5% to the FP8 figure (1,034 × 1.115).
  • GLM 5.3 row: It uses 256K context and agentic sessions, so compare it with the other rows with care.
  • Input tokens: Dedicated nodes bill a flat monthly price. Input and cached tokens don’t add to the bill, so the true cost per total token is lower.

Sources: the $7,500 price and GLM 5.3 speed are from our GLM 5.3 page. The B300 price and uplift are from our GLM 5.2 vs Opus post.

These figures cover the GPUs we offer. For MI355X, SemiAnalysis’s InferenceX publishes cost per million tokens by model and workload, based on its own ownership-cost estimates.

Which GPU for which model

The right GPU depends on two things: whether your model’s weights fit in the node’s memory, and whether its kernels are tuned for that chip. That’s the main test when you compare AMD vs Nvidia for AI inference.

Featherless offers dedicated nodes on AMD MI325X and on Nvidia B300, B200, H100 and RTX Pro 6000, as listed on our dedicated GPU page. Memory per GPU is in the ROCm vs CUDA table above. The RTX Pro 6000 has 96 GB.

Table: Which GPU for which model

ModelWeights (estimate)Our pickWhy
GLM 5.3 (744B)About 744 GB at FP84x MI325X1,024 GB of memory leaves room for KV cache at 256K context.
GLM 5.3 with 1M contextAbout 744 GB at FP88x MI325X (full node)The full node supports up to 1M context.
Kimi K3 (2.8T)About 1.4 TB at 4-bit8 to 12x MI325X8x MI325X gives 2,048 GB.
DeepSeek V4Varies by versionB300 or B200The MI325X path still relies on nightly builds and fallback kernels.
Smaller models, such as Gemma 4 31BUnder 80 GBH100 or RTX Pro 6000They fit on one GPU, so a smaller node costs less.

We estimated weights at 1 byte per parameter for FP8 and 0.5 bytes for 4-bit. These figures leave out KV cache, which grows with context length and users. GLM 5.3’s size comes from SemiAnalysis, Kimi K3’s from Shakudo, and the 1M context limit from our GLM 5.3 page.

The same math shows why GLM 5.3 at FP8 won’t fit on 8x H100 (640 GB) or 4x B200 (720 GB). If you already run DeepSeek V4 on CUDA, stay there for now. If cost drives your choice and you run GLM or Kimi, start with MI325X.

One option sits outside this table. If your model ships FP4 weights, as DeepSeek V4.1 Flash and Kimi K3 do, the MI355X runs them natively and is worth testing wherever you can get capacity.

Get your model sized by an engineer

By now you know the two checks: does your model fit in a node’s memory, and are its kernels tuned for the chip. For your own model, the quickest way to answer both is to ask the people who run these models in production.

Tell a Featherless engineer which model you run, your context length and how many users or agents you expect. We’ll come back with how many MI325X GPUs it needs, the throughput to expect and the monthly cost, or tell you if one of our Nvidia nodes fits better. Dedicated MI325X nodes start at $7,500 a month.

FAQ

Can I run vLLM or SGLang on ROCm?

Yes. AMD ships validated vLLM and SGLang containers for ROCm, according to its ROCm 10 announcement. Support for a new model can still lag on MI325X, as the DeepSeek V4 case shows.

Do I need to change my code to use your MI325X nodes?

No. Our endpoints work with Claude Code, Cursor, Cline and the OpenAI and Anthropic SDKs. You usually change only the base URL and API key, as our GLM 5.3 page explains.

Does the MI325X support FP8?

Yes. AMD’s MI325X datasheet lists FP8, FP16, BF16 and INT8. Our GLM 5.2 benchmark ran in FP8.

How is the MI355X different from the MI325X for LLMs?

The MI355X adds native FP4, which suits models that ship in MXFP4, such as Kimi K3. It also brings more memory, bandwidth and FP8 compute, as the specs table above shows.

Should I wait for MI355X?

Only if your main model ships in FP4 and you’re ready to test a newer software path. For GLM 5.3 and other FP8 models that fit in 256 GB per GPU, the MI325X runs well today and costs less per GPU-hour.

What does a full 8x MI325X node cost?

A full node costs $15,000 a month, and a 4x MI325X instance starts at $7,500. Pricing is flat, so adding agents doesn’t raise the bill until the node is full.

Start building under 3 minutes