InferIndex
Language, English, EN
Account

Calculator

Hy4 flash: self-host or API?

Self-hosting

Derived (an estimate)

Estimate. The API is cheaper at any volume ($0.061/M at a 3:1 input:output mix vs $0.124-$0.721/M self-hosted at 50% utilization).

At 50% utilization · Cheapest API offer: $0.061 per million tokens at NanoGPT (3:1 input:output mix)

Hardware rental only: the hourly price the provider publishes for the machine. It does not count the engineering to deploy and run the model, monitoring, redundancy, start-up time, or storage and network costs billed separately.

How it is calculated

Break-even volume
3,908.79 million tokens a day

What published figures show

Settings

More settings
Or describe your requests

Instead of tokens per day: the three fields go together, and your own input:output mix is used.

Rented configuration

8 x L40 48GB at CoreWeave

$240.00 a day · $10.00 an hour · Guaranteed · 384 GB of GPU memory · fp8

Checked Nov 28, 2026 Price page at the provider (opens in a new tab)

Calculation detail

Throughput scenarios

ScenarioTokens/s · Tokens per secondCapacity (M tokens / day) · Usable capacity (million tokens a day)Break-even · Break-even utilizationCost / M tokens · Self-hosted cost per million tokensvs API · Against the cheapest API offer
Prudent 7,708.8 333.02 Never (Above 100%) $0.72 Dearer
Median 19,271.9 832.55 Never (Above 100%) $0.29 Dearer
Optimistic 44,851 1,937.56 Never (Above 100%) $0.12 Dearer

7 offers comparedCheapest of 7 current standard offers, promotions, unstable prices, off-peak prices without published hours and unverified prices far below those of the other providers excluded Checked Nov 28, 2026

Assumptions

  • same architecture type, scaled by memory bandwidth and active weights (x1.92)
  • Hardware rental only: the hourly price the provider publishes for the machine. It does not count the engineering to deploy and run the model, monitoring, redundancy, start-up time, or storage and network costs billed separately.
  • Configuration: we pick the cheapest one whose weights fit. If a configuration costing up to 25% more has a measured throughput, we pick it instead; failing that, one with a derived throughput; failing that, one with a published lower bound that settles the verdict; among equals, the cheaper. A configuration whose throughput is only a wide estimate is never preferred over the cheapest. This is our rule, not a technical requirement.
  • Quantization fp8; guaranteed tier prices as published by the provider; utilization 50%.
  • Published figures are generally peak throughput measured at high concurrency; an interactive service with latency targets sustains less.
  • Throughput is aggregate (input and output tokens, 3:1). Published figures in generated tokens are converted with a prefill/generation speed ratio of 3 (prudent), 5 (median) and 8 (optimistic). We treat a published output figure as if the GPUs only generated tokens, ignoring that the benchmark also read prompts: this understates the throughput of the whole configuration, which is the cautious side for self-hosting.
  • Break-even = daily GPU cost / API price per million tokens (3,909 million tokens a day). Self-hosting is cheaper only if the average utilization you can sustain exceeds break-even / raw capacity (the break-even utilization of each scenario), whatever the number of GPUs.

Same answer as JSON