Self-host granite 4.2 8b vs. API cost

Live OpenRouter API pricing is $0.06/1M input & $0.15/1M output. Renting 1× L4 on Vast.ai costs $0.32/hr ($234/mo) and breaks even at 93.7M tokens/day.

GPU: 2026-12-05 · API (OpenRouter live): 2026-12-05 Run granite-4.2-8b VRAM guide → Fine-tune cost →

Interactive breakeven calculator

API spend (OpenRouter)
-
-
Cheapest self-host GPU (24h/day)
-
-
Recommendation & breakeven
-
-

All FP8 self-hosting setups for granite-4.2-8b (~12 GB VRAM)

GPU setup Provider GPU / hr Monthly (730h) Est. peak tok/s Self-host $/1M @ 40% Breakeven Deploy
1× NVIDIA L4 Cheapest Vast.ai logo Vast.ai $0.32/hr $234 130 tok/s $1.714 93.7M/day Launch ↗
1× NVIDIA RTX 4090 TensorDock logo TensorDock $0.38/hr $277 449 tok/s $0.588 111.2M/day Launch ↗
1× NVIDIA RTX A6000 Vast.ai logo Vast.ai $0.40/hr $292 338 tok/s $0.822 117.1M/day Launch ↗
1× NVIDIA RTX A6000 TensorDock logo TensorDock $0.45/hr $329 338 tok/s $0.925 131.7M/day Launch ↗
1× NVIDIA RTX 4090 Vast.ai logo Vast.ai $0.45/hr $329 449 tok/s $0.696 131.7M/day Launch ↗
1× NVIDIA RTX 5090 Vast.ai logo Vast.ai $0.53/hr $387 793 tok/s $0.464 155.1M/day Launch ↗
1× NVIDIA L4 Google Cloud logo Google Cloud $0.56/hr $409 130 tok/s $3.000 163.9M/day Launch ↗
1× NVIDIA A100 80GB SXM Vast.ai logo Vast.ai $0.58/hr $423 904 tok/s $0.446 169.8M/day Launch ↗

All 4-bit (Q4) self-hosting setups for granite-4.2-8b (~7 GB VRAM)

GPU setup Provider GPU / hr Monthly (730h) Est. peak tok/s Self-host $/1M @ 40% Breakeven Deploy
1× NVIDIA L4 Cheapest Vast.ai $0.32/hr $234 241 tok/s $0.923 93.7M/day Launch ↗
1× NVIDIA RTX 4090 TensorDock $0.38/hr $277 813 tok/s $0.325 111.2M/day Launch ↗
1× NVIDIA RTX A6000 Vast.ai $0.40/hr $292 618 tok/s $0.449 117.1M/day Launch ↗
1× NVIDIA RTX A6000 TensorDock $0.45/hr $329 618 tok/s $0.506 131.7M/day Launch ↗
1× NVIDIA RTX 4090 Vast.ai $0.45/hr $329 813 tok/s $0.385 131.7M/day Launch ↗
1× NVIDIA RTX 5090 Vast.ai $0.53/hr $387 1,443 tok/s $0.255 155.1M/day Launch ↗
1× NVIDIA L4 Google Cloud $0.56/hr $409 241 tok/s $1.615 163.9M/day Launch ↗
1× NVIDIA A100 80GB SXM Vast.ai $0.58/hr $423 1,625 tok/s $0.248 169.8M/day Launch ↗

Physics & breakeven methodology

1. Dollar breakeven: breakeven_M_per_day = (GPU_$/hr × 24) ÷ blended_API_$/1M. We pull live token pricing from OpenRouter's public API so API benchmarks stay current.

2. Throughput & node count: Autoregressive decoding is memory-bandwidth bound: single_stream_tok_s = min(250, (total_BW_TB/s × 600) ÷ active_GB) using 8.8B active parameters. Continuous batching (vLLM / SGLang) multiplies peak node throughput by 6.5×, scaled by your selected utilization preset (15%, 40%, or 75%). If your daily volume exceeds 1 node's capacity, the calculator automatically multiplies the node count needed.