aliteq.

What it costs to run Gemma 4 26B-A4B (MoE)

Trying to decide what to buy? The best GPU for Gemma 4 26B-A4B (MoE) →

25.8B paramsMoE · 128 experts, 8 active256k max contextapache-2.0

Cheapest way to rent it right now

$0.03/hr

NVIDIA GeForce RTX 3060 12GB · Q2_K · spot · ≈ $8/mo at 8h/day

Live price captured Fri, 06 Nov 2026 02:20:08 GMT.Referral link — we may earn a commission at no cost to you; it never changes which card is cheapest.

Just want to use it? Per-token API

$0.13in·$0.40out

per 1M tokens · Gemma 4 26B A4B on Novita AI · read Oct 29, 2026

No GPU to manage: you pay per token, which suits occasional use. Your prompts run on Novita's servers, not your own machine.

Use it on Novita AIReferral link

Price as listed on Novita's pricing page on Oct 29, 2026; it may have changed. We may earn a commission at no cost to you.

Rent a GPU or pay per token?

A per-token API charges for every token, so it is cheapest when you use Gemma 4 26B-A4B (MoE) a little. A rented GPU charges by the hour whether it is busy or idle, so it only pays off once you push enough tokens through it. Set your daily volume and see where the line falls for this model, using the cheapest live rental that fits and that we have a memory-bandwidth figure for (RTX 3060, Q2_K, $0.033/hr spot) and Novita AI's published rate.

Tokens per day (input + output)
Input : output tokens
  • Pay per token · Novita AI$5.93/mo

    $0.20/day · $0.20 per 1M tokens blended at 3:1

  • Rent RTX 3060 · Vast.ai$1.00/mo

    $0.03/day · 0.5 GPU-hours needed, 1 h minimum billed

At 1M tokens/day renting is cheaper. Below ~169K tokens/day the API is cheaper; above it, renting the RTX 3060 wins.

Rent onVast.aiReferral link

At a glance · 3:1 input:output

Tokens/dayAPI /moRent /mo
100K$0.59$1.00
1M$5.93$1.00
10M$59.25$5.32
100M$593$53.15

Cheaper option in green. 30-day month. Break-even: ~169K tokens/day.

How we work it out. API cost = input tokens × $0.13 + output tokens × $0.40 per 1M. Rent cost = the hourly price × the GPU time needed, with at least 1 hour billed per day (spin-up, model load and idle time cost money too). GPU time assumes the RTX 3060 writes ~170 output tokens/sec for Gemma 4 26B-A4B (MoE) at Q2_K (our estimate: its 360 GB/s memory bandwidth from the spec sheet, not yet confirmed by a second source ÷ the bytes of weights read per token, × 75% efficiency, one request at a time) and reads prompt tokens 10× faster than it writes. Above 24 GPU-hours a day you would need more than one card.

These are estimates: the tokens/sec figure is our model, not a benchmark, and batching many requests (vLLM, SGLang) can raise a rented card's throughput a lot, which moves the break-even lower. Rental price captured Fri, 06 Nov 2026 02:20:08 GMT; it is a spot price, and spot machines can be interrupted. API price as listed by Novita AI on Oct 29, 2026; API prices change. Referral links: we may earn a commission at no cost to you, and it never changes which option the numbers favour.

Memory needed, by quantisation

At 16k context. Weights + KV cache + ~0.8 GB overhead.

QuantWeightsKV cacheTotalQuality
F1648.1 GB0.3 GB49.2 GBFull precision. Reference quality, twice the size of Q8 for no practical gain in most chat use.
Q8_025.5 GB0.3 GB26.6 GBEffectively lossless. Use when VRAM is not the constraint.
Q6_K19.7 GB0.3 GB20.8 GBVery close to Q8 at meaningfully less memory. A safe high-quality pick.
Q5_K_M17.1 GB0.3 GB18.2 GBSmall, hard-to-notice quality loss. Good balance.
Q5_016.6 GB0.3 GB17.7 GBOlder-style 5-bit. Q5_K_M is usually the better pick at the same size.
Q4_K_M14.6 GB0.3 GB15.7 GBThe community default. Best quality-per-gigabyte for most people.
Q4_013.7 GB0.3 GB14.8 GBOlder-style 4-bit, measurably worse than Q4_K_M at a similar size. Avoid unless required.
IQ4_XS12.8 GB0.3 GB13.9 GBNewer 4-bit, smaller than Q4_K_M with comparable quality. Needs a recent llama.cpp.
Q3_K_M11.7 GB0.3 GB12.8 GBNoticeable degradation. Use to fit a larger model that would otherwise not run.
Q2_K10.1 GB0.3 GB11.2 GBHeavy degradation. Almost always better to run a smaller model at Q4_K_M instead.
IQ3_XS9.9 GB0.3 GB11.0 GBAggressive. Usually better than a smaller model at Q4, but test before trusting it.

Cards that can run it

Best quantisation each card fits at 16k context, with live rental price where we track one.

GPUVRAMBest fitUses~tok/sRent from
Apple M3 Ultra512 GBF1649 GB——
Apple M2 Ultra192 GBF1649 GB——
Apple M4 Max (16-core CPU / 40-core GPU)128 GBF1649 GB——
AMD Ryzen AI Max+ 395 (Strix Halo, 128 GB)128 GBF1649 GB——
NVIDIA DGX Spark (GB10 Grace Blackwell)128 GBF1649 GB—$0.160/hrVast.ai
NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition96 GBF1649 GB—$1.590/hrLium
NVIDIA RTX PRO 6000 Blackwell Workstation Edition96 GBF1649 GB—$1.490/hrLium
Apple M2 Max96 GBF1649 GB——
Apple M4 Pro64 GBF1649 GB——
NVIDIA RTX 6000 Ada Generation48 GBQ8_027 GB—$0.347/hrVast.ai
AMD Radeon PRO W790048 GBQ8_027 GB——
NVIDIA RTX A600048 GBQ8_027 GB—$0.107/hrVast.ai
Apple M4 Max (14-core CPU / 32-core GPU)36 GBQ8_027 GB——
NVIDIA GeForce RTX 509032 GBQ8_027 GB—$0.267/hrVast.ai
NVIDIA RTX 5000 Ada Generation32 GBQ8_027 GB—$0.307/hrVast.ai
NVIDIA GeForce RTX 409024 GBQ6_K21 GB—$0.170/hrNovita AI
AMD Radeon RX 7900 XTX24 GBQ6_K21 GB——
NVIDIA GeForce RTX 3090 Ti24 GBQ6_K21 GB—$0.093/hrVast.ai
NVIDIA RTX A500024 GBQ6_K21 GB—$0.220/hrVast.ai
NVIDIA GeForce RTX 309024 GBQ6_K21 GB——
AMD Radeon RX 7900 XT20 GBQ5_K_Mtight18 GB——
NVIDIA GeForce RTX 5060 Ti 16GB16 GBQ4_K_Mtight16 GB—$0.067/hrVast.ai
AMD Radeon RX 9070 XT16 GBQ4_K_Mtight16 GB——
AMD Radeon RX 907016 GBQ4_K_Mtight16 GB——
NVIDIA GeForce RTX 4060 Ti 16GB16 GBQ4_K_Mtight16 GB—$0.057/hrVast.ai
NVIDIA GeForce RTX 4070 Ti SUPER16 GBQ4_K_Mtight16 GB—$0.091/hrVast.ai
NVIDIA GeForce RTX 408016 GBQ4_K_Mtight16 GB——
NVIDIA GeForce RTX 4080 SUPER16 GBQ4_K_Mtight16 GB—$0.133/hrVast.ai
NVIDIA RTX A400016 GBQ4_K_Mtight16 GB—$0.056/hrVast.ai
AMD Radeon RX 9060 XT 16GB16 GBQ4_K_Mtight16 GB——
NVIDIA GeForce RTX 508016 GBQ4_K_Mtight16 GB—$0.200/hrLium
NVIDIA GeForce RTX 5070 Ti16 GBQ4_K_Mtight16 GB—$0.093/hrVast.ai
NVIDIA GeForce RTX 4070 Ti12 GBQ2_Ktight11 GB——
NVIDIA GeForce RTX 4070 SUPER12 GBQ2_Ktight11 GB—$0.093/hrVast.ai
NVIDIA GeForce RTX 407012 GBQ2_Ktight11 GB—$0.067/hrVast.ai
NVIDIA GeForce RTX 3080 Ti12 GBQ2_Ktight11 GB—$0.093/hrVast.ai
NVIDIA GeForce RTX 3060 12GB12 GBQ2_Ktight11 GB—$0.033/hrVast.ai
NVIDIA GeForce RTX 507012 GBQ2_Ktight11 GB——
NVIDIA GeForce RTX 3080 12GB12 GBQ2_Ktight11 GB—$0.067/hrVast.ai

How these numbers are produced

  • Model shape comes from the model's own config.json — 5 layers, 16 attention heads, 2 KV heads.
  • Weight size is parameters × effective bits-per-weight. Those constants are checked against real published quantised file sizes — median error 0.7% across 40 measurements.
  • KV cache is 2 × layers × KV-heads × head-dim × context × 2 bytes. Using KV-heads rather than attention heads is what makes this correct for grouped-query attention; treating a GQA model as multi-head overstates the cache by up to 8×.
  • Tokens/sec is an estimate, not a benchmark. Generation is memory-bandwidth-bound, so this is bandwidth ÷ weight-bytes derated to 75%. Real throughput depends on your runtime, batch size and kernels. We don't run our own hardware tests — see our editorial policy.
  • This is a mixture-of-experts model. Generation reads only the experts active for each token (8 of 128), so throughput is scored on ~3.8B active parameters, not the full 26B. Memory is the opposite: every expert must still be resident in VRAM, so the figures above use the full weight set.Hybrid attention: 30 layers, 5 full (global: 2 KV heads × 512 head_dim) + 25 sliding-window (1,024 tokens: 8 KV heads × 256, a fixed ~0.2 GB at fp16). `layers`/kv_heads/head_dim describe the 5 global layers so long-context KV is right. Active count = vendor-published 3.8B. Multimodal weights included in params. Accessed 25 Sep 2026.
  • Some memory-bandwidth figures are not yet independently verified.Where that's the case we show no tokens/sec at all rather than a number we can't stand behind.
  • Rental prices are pulled hourly from provider APIs (last updated Fri, 06 Nov 2026 02:20:08 GMT). Spot/interruptible pricing can change or vanish without notice.

Try it interactively

Drag the context slider and watch the KV cache fill the card

Worth reading before you buy

Other models