Skip to content

Private vs public AI cost estimator

Compare the cost of public API models against hosting private open-weight models for your daily operations.

Sets the currency, the engineer's example rate and the region machines start in.
Documents, tickets, chats or records a day.
Instructions, the document and any examples you send. Count a real one with a provider's token counter.
When replies are needed

Replies stream as they're written; machines are sized for the busiest hour.

Spread evenly over a 10-hour working day it's 10%; over 24 hours, 4.2%.
Public API

Split the requests across models and providers, the way the work is actually done.

$2.00 in and $10.00 out per million tokens, list prices of 10 October 2026. $2,100 a month.

Private AI

An open-weight model on a machine you rent by the hour or buy.

Apache 2.0; 131,072 tokens of context. One request needs about 72 GB: 16 of the 21 listed machines have the memory.
Precision
$3.36 an hour on demand in US East (N. Virginia), checked 10 October 2026. Showing the 16 of 21 listed machines with the memory for it.
Optional: a quote, reserved pricing, or 0 for a machine already paid for. Blank uses the list price.
Spare machine

A second machine keeps the work running through a failure or an update.

Updates, monitoring, fixes and on-call for the machines.
The site's example salary for your country with employer costs, over 2,080 hours. Use your own.
Optional, from your own load test. Blank uses the estimate: 1,928.

Public API cost

$2,100/mo

Private AI cost

$2,915/mo

Public API is cheaper by $815/mo

Show the working

Private $2,915.08 − public $2,100.00 = $815/mo

The two monthly costs above, to the cent.

Machines for the busiest hour
1
Busy 3% of the time on average.
Private is cheaper from
14,000 a day
Per 1,000 requests
$7.00
$9.72 private

At 10,000 requests a day, one machine is busy only 3% of the time, and it costs the same idle as working, so the API's per-token bill stays below its fixed cost. Engineer time is $460 of the private cost.

With these choices, hosting privately costs less from about 14,000 requests a day.

Public APIs charge by the token. Private AI charges a flat rate for the machine, regardless of how much you generate.

Monthly cost as daily requests grow
  • Public API
  • Private AI

Daily requests across, on a log scale; cost a month up the side, also on a log scale.

The two costs at each volume
Daily requestsPublic APIPrivate AI
100$21$2,915
681$143$2,915
4,642$974$2,915
31,623$6,640$2,915
215,443$45,243$5,370
1,467,799$308,237$27,465
10,000,000$2,100,000$179,680

Public API cost a month

GPT-6.1 Sol
$2,100
Public API cost
$2,100

Private AI cost a month

1 machine at $2,455
$2,455
Engineer time, 10 hours at $46
$460
Private AI cost
$2,915

How the private side is sized

  • One request needs about 71.8 GB of the machine's 96 GB; about 366 fit at once.
  • Estimated from Llama 3.1 8B on 1 × NVIDIA L40S (NVIDIA NIM 1.8.0, FP8), scaled by memory bandwidth and model size (× 0.65). One machine handles about 3.9 requests a second (1,928 answer tokens a second).
  • The busiest hour brings 0.28 requests a second, 7.2% of one machine's capacity.
  • No single reply can be written faster than about 626 tokens a second on this machine: its memory bandwidth divided by the model's active weights.

Source: Llama 3.1 8B Instruct: model card, NIM for LLMs benchmarking: performance

Published measurements of gpt-oss-120b

  • 8 × NVIDIA H200: 24,103 answer tokens a second for the system (MLPerf Inference v6.0, server scenario (Red Hat, vLLM with llm-d): answers average about 1,280 tokens).
  • 8 × NVIDIA B200: 90,205 answer tokens a second for the system (MLPerf Inference v6.1, server scenario (CoreWeave, TensorRT-LLM with Dynamo)).
  • 8 × NVIDIA RTX PRO 6000 Blackwell Server: 14,817 answer tokens a second for the system (MLPerf Inference v6.1, server scenario (Cisco, TensorRT-LLM)).
  • NVIDIA H200: 6,868 answer tokens a second per GPU (TensorRT-LLM 1.1 at full load, 1,000-token prompts and answers).
  • NVIDIA H100: 4,685 answer tokens a second per GPU (TensorRT-LLM 1.1 at full load, 1,000-token prompts and answers).
  • Apple M2 Ultra: 85.6 answer tokens a second (llama.cpp, one request alone).
  • NVIDIA DGX Spark: 58.7 answer tokens a second (llama.cpp, one request alone).

Source: Measurements on DGX Spark, Performance overview (release 1.1), MLPerf Inference v6.0 results, MLPerf Inference v6.1 results, MLPerf Inference reference implementation: gpt-oss-120b, Measurements on Mac M2 Ultra

Half or twice the estimated throughput still needs 1 machine at this volume, so the private cost doesn't move: the estimate matters only once the work fills a machine.

Machines that run gpt-oss-120b at 4-bit

Every listed machine with the memory for it, at your prompt and answer lengths and your volume. One reply alone is how fast its answer is written: the range measured runs of this kind of model reached, under the machine's physical ceiling. The whole machine is how much it answers with many requests at once, counting the time it spends reading prompts. Pick a machine to use it.

Sort by
  • $5,499 to buy

    One reply alone
    116 to 259tokens a second; at most 471
    Whole machine
    193answer tokens a second, time to read prompts included; 0.4 requests a second
    Measured on this GPU
    None published
    At your volume
    $6121 machine, busy 30%
  • $6,950 to buy

    One reply alone
    26 to 59tokens a second; at most 107
    Whole machine
    330answer tokens a second, time to read prompts included; 0.7 requests a second
    Measured on this GPU
    None published
    At your volume
    $6531 machine, busy 18%
  • $9,499 to buy

    One reply alone
    116 to 259tokens a second; at most 471
    Whole machine
    193answer tokens a second, time to read prompts included; 0.4 requests a second
    Measured on this GPU
    None published
    At your volume
    $7231 machine, busy 30%
  • $3,449 to buy

    One reply alone
    25 to 55tokens a second; at most 100
    Whole machine
    13answer tokens a second, time to read prompts included; 0.03 requests a second
    Measured on this GPU
    None published
    At your volume
    $1,51311 machines, busy 40%
  • 1 × H100 SXM, 80 GB, ₹255.55 an hour

    One reply alone
    324 to 723tokens a second; at most 1,314
    Whole machine
    2,431answer tokens a second, time to read prompts included; 4.9 requests a second
    Measured on this GPU
    4,685 (TensorRT-LLM, full load)
    At your volume
    $2,3881 machine, busy 2.4%
  • AWS g7e.2xlargeIn use

    1 × RTX PRO 6000 Blackwell Server, 96 GB, $3.36 an hour

    One reply alone
    154 to 345tokens a second; at most 626
    Whole machine
    1,928answer tokens a second, time to read prompts included; 3.9 requests a second
    Measured on this GPU
    1,852 (MLPerf v6.1, server, scaled from 8 GPUs)
    At your volume
    $2,9151 machine, busy 3%
  • 1 × A100 80 GB PCIe, 80 GB, $3.67 an hour

    One reply alone
    187 to 417tokens a second; at most 759
    Whole machine
    1,404answer tokens a second, time to read prompts included; 2.8 requests a second
    Measured on this GPU
    None published
    At your volume
    $3,1411 machine, busy 4.1%
  • 1 × H100 SXM, 80 GB, ₹356.00 an hour

    One reply alone
    324 to 723tokens a second; at most 1,314
    Whole machine
    2,431answer tokens a second, time to read prompts included; 4.9 requests a second
    Measured on this GPU
    4,685 (TensorRT-LLM, full load)
    At your volume
    $3,1461 machine, busy 2.4%
  • 1 × H200, 141 GB, ₹379.05 an hour

    One reply alone
    464 to 1,035tokens a second; at most 1,882
    Whole machine
    3,400answer tokens a second, time to read prompts included; 6.8 requests a second
    Measured on this GPU
    3,013 (MLPerf v6.0, server, scaled from 8 GPUs)6,868 (TensorRT-LLM, full load)
    At your volume
    $3,3201 machine, busy 1.7%
  • 1 × H100 SXM, 80 GB, $6.88 an hour

    One reply alone
    324 to 723tokens a second; at most 1,314
    Whole machine
    2,431answer tokens a second, time to read prompts included; 4.9 requests a second
    Measured on this GPU
    4,685 (TensorRT-LLM, full load)
    At your volume
    $5,4821 machine, busy 2.4%
  • 1 × H100 NVL, 94 GB, $6.98 an hour

    One reply alone
    377 to 841tokens a second; at most 1,529
    Whole machine
    3,770answer tokens a second, time to read prompts included; 7.5 requests a second
    Measured on this GPU
    None published
    At your volume
    $5,5551 machine, busy 1.5%
  • 4 × L40S, 192 GB, $10.49 an hour

    One reply alone
    167 to 373tokens a second; at most 678
    Whole machine
    4,172answer tokens a second, time to read prompts included; 8.3 requests a second
    Measured on this GPU
    None published
    At your volume
    $8,1191 machine, busy 1.4%
  • 8 × H100 SXM, 640 GB, $55.04 an hour

    One reply alone
    324 to 723tokens a second; at most 1,314
    Whole machine
    25,906answer tokens a second, time to read prompts included; 52 requests a second
    Measured on this GPU
    37,480 (TensorRT-LLM, full load, scaled from 1 GPU)
    At your volume
    $40,6391 machine, busy 0.2%
  • 8 × H200, 1,128 GB, $63.30 an hour

    One reply alone
    464 to 1,035tokens a second; at most 1,882
    Whole machine
    27,199answer tokens a second, time to read prompts included; 54 requests a second
    Measured on this GPU
    24,103 (MLPerf v6.0, server)54,944 (TensorRT-LLM, full load, scaled from 1 GPU)
    At your volume
    $46,6661 machine, busy 0.2%
  • 8 × H100 SXM, 640 GB, $88.49 an hour

    One reply alone
    324 to 723tokens a second; at most 1,314
    Whole machine
    25,906answer tokens a second, time to read prompts included; 52 requests a second
    Measured on this GPU
    37,480 (TensorRT-LLM, full load, scaled from 1 GPU)
    At your volume
    $65,0571 machine, busy 0.2%
  • 8 × B200, 1,440 GB, $113.93 an hour

    One reply alone
    773 to 1,726tokens a second; at most 3,137
    Whole machine
    45,332answer tokens a second, time to read prompts included; 91 requests a second
    Measured on this GPU
    90,205 (MLPerf v6.1, server)
    At your volume
    $83,6301 machine, busy 0.1%

Source: Measurements on DGX Spark, Llama 3.3 70B Instruct: model card, Llama 3.1 8B Instruct: model card, NVIDIA DGX Spark, NIM for LLMs benchmarking: performance, Performance overview (release 1.1), MLPerf Inference v6.0 results, MLPerf Inference v6.1 results, MLPerf Inference reference implementation: gpt-oss-120b, Measurements on Mac M2 Ultra, Performance of llama.cpp on Apple Silicon M-series (discussion 4167), AI inference on AMD Ryzen AI Max with 128 GB of unified memory

Compare APIs for the same requests
The same requests on each API
ModelA month
Amazon Nova Micro
$31.50
Ministral 3 3B
$45.00
Ministral 3 8B
$67.50
Ministral 3 14B
$90.00
Claude Haiku 5.5
$105
GPT-6 Luna
$105
Mistral Small 4
$135
DeepSeek V4.1 Flash
$270
Mistral Large 3
$375
Gemini 3.5 Flash-Lite
$465
Amazon Nova 2 Lite
$511
Mistral Large 4
$517
Amazon Nova Pro
$720
Grok 4.3
$750
Gemini 3.8 Flash
$787
DeepSeek V4 Pro
$990
Muse Spark 1.3
$1,012
Grok 4.7
$1,500
Mistral Medium 3.5
$1,575
Claude Sonnet 5.5
$2,100
GPT-6.1 Sol
$2,100
Gemini 3.1 Pro
$2,400
Claude Opus 5.5
$4,200
Claude Fable 5.1
$10,500
GPT-6 Astra
$10,500

Public API $2,100/mo. Private AI $2,915/mo. Public API is cheaper by $815/mo.

An estimate from published figures, checked on 10 October 2026. Not legal, tax or financial advice.

On this page

What the result means

Public APIs charge by the token. Private AI charges a flat rate for the machine, regardless of how much you generate.

  • The public figure is the month's requests at each model's list price per million tokens, split across the models you pick. The private figure is the machines the busiest hour needs, at their on-demand or purchase price, plus electricity for a bought machine and the engineer time to keep them running.
  • The verdict is the difference between the two. Below the volume where they cross, the API is cheaper because you pay only for what you use; above it, the machines' fixed cost is spread over enough requests to win.
  • Machines busy a small share of the time are the usual reason private AI costs more: a rented machine costs the same at 3 a.m. as at noon.

How it works

An API bills every token sent and received at the provider's price per million. A private model runs on a machine you pay for by the hour or once; it costs the same whether it's busy or idle, until the work needs a second machine.

The tool calculates public API costs from each model's list price per million input and output tokens, for 30 days of your daily requests. The private cost counts the machines your busiest hour needs, from published measurements of how fast that class of machine serves a model that size, plus the people who run them.

  1. Monthly input tokens = daily requests × 30 × average input tokens; the same for output tokens.
  2. Public API cost = input tokens ÷ 1,000,000 × input price + output tokens ÷ 1,000,000 × output price, for each model's share of the requests (batch prices for work within the day, where offered).
  3. Memory a request needs = weights + the context cache (2 × layers × key-value heads × head size × 2 bytes for every token of prompt and answer) + a tenth for the runtime.
  4. Machine time per request = prompt tokens ÷ the machine's prompt rate + answer tokens ÷ its answer rate, both scaled from a published measurement by memory bandwidth and model size.
  5. Machines = busiest-hour requests a second × machine time per request, rounded up, plus a spare if you keep one.
  6. One reply alone = memory bandwidth of the GPUs holding the model ÷ its active weights (the most it could manage) × the share of that measured runs reached: 25% to 55% for mixture-of-experts models, 38% to 66% for dense ones.
  7. Private AI cost = machines × monthly price (hourly price × 730, or the purchase ÷ months) + electricity + engineer hours × hourly cost.
  8. Difference = public API cost − private AI cost: above zero, hosting privately saves money.

Assumptions

  • A month is 30 days of requests, as the brief has it; machines bill 730 hours a month (24 × 365 ÷ 12), as cloud providers do.
  • List prices: each provider's published price per million tokens and each cloud's on-demand price an hour, Linux, without reserved or committed-use discounts. Machine prices in another currency are converted at the European Central Bank's reference rates.
  • Speed: estimated from measurements, never from a vendor's claim. NVIDIA's own NIM measurements of Llama models on H100, H200, L40S and A100 GPUs, at four prompt and answer lengths up to 5,000 tokens, are the basis for NVIDIA machines; llama.cpp's on an M2 Ultra for Apple; AMD's on a Ryzen AI Max+ 395 for that chip. A mixture-of-experts model counts as total^0.7 × active^0.3 of its parameters when many requests share the machine, which lands within 0.7 to 1.2 times of NVIDIA's TensorRT-LLM figures across models.
  • The machine picker offers only machines with the memory for the model at the chosen precision and request length. A machine that can't hold it gives way to the cheapest one of the same kind that can, and the tool says so.
  • "Someone is waiting" means every reply streams at 20 tokens a second or faster and starts within 2 seconds, which is how the interactive measurements were picked; "within the day" uses each measurement's busiest load and spreads the requests over 24 hours.
  • One request at a time on the AMD chip is the only kind AMD publishes, so those estimates are cautious: serving several at once usually raises a machine's total.
  • Engineer time is an example to replace: the site's example salary for the country with its employer costs, over 2,080 hours a year. Setup, the software around the model, and testing it on your work aren't counted.
  • The brief's figures are one choice away: "Your own price per million tokens" starts at its $5 in and $15 out, and its flat $750 a month is close to an AWS g5.xlarge on demand ($1.01 × 730 = $734), a 24 GB machine.

Open-weight models and the memory they need

Every open-weight model the tool can run, with its licence and the memory one request of 1,500 tokens needs at each precision it offers. Weights are the developer's own release where there is one, else parameters × 2 bytes (16-bit), 1 byte (8-bit) or half a byte (4-bit).

Up to 15B parameters
  • Qwen3.5 9B (Qwen (Alibaba), Apache 2.0): 9B parameters, 262,144 tokens of context; 16-bit 21.3 GB, 8-bit 10 GB, 4-bit 5 GB (Qwen (Alibaba), on Hugging Face).
  • Gemma 4 12B (Google, Apache 2.0): 11.95B parameters, 262,144 tokens of context; 16-bit 26.7 GB, 8-bit 13.5 GB, 4-bit 8.3 GB (Google, on Hugging Face).
  • Ministral 3 14B (Mistral AI, Apache 2.0): 13.9B parameters, 262,144 tokens of context; 16-bit 30.9 GB, 8-bit 17.5 GB, 4-bit 9.3 GB (Mistral AI, on Hugging Face).
  • Phi-4 (Microsoft, MIT): 14B parameters, 16,384 tokens of context; 16-bit 31.1 GB, 8-bit 17.5 GB, 4-bit 9.6 GB (Microsoft, on Hugging Face).
20B to 80B
  • gpt-oss-20b (OpenAI, Apache 2.0): 21B parameters, 3.6B active, 131,072 tokens of context; 4-bit 15.2 GB (OpenAI, on Hugging Face).
  • Gemma 4 26B A4B (Google, Apache 2.0): 25.2B parameters, 3.8B active, 262,144 tokens of context; 16-bit 55.7 GB, 8-bit 28 GB, 4-bit 16.1 GB (Google, on Hugging Face).
  • Qwen3.8 27B (Qwen (Alibaba), Apache 2.0): 27B parameters, 262,144 tokens of context; 16-bit 59.5 GB, 8-bit 34.1 GB, 4-bit 15 GB (Qwen (Alibaba), on Hugging Face).
  • Muse Glimmer 30B (Meta, Apache 2.0): 29.6B parameters, 131,072 tokens of context; 16-bit 65.2 GB, 8-bit 32.6 GB, 4-bit 18.5 GB (Meta, on Hugging Face).
  • Nemotron 3.5 Lightning 30B-A3B (NVIDIA, OpenMDW 1.1): 30B parameters, 3B active, 262,144 tokens of context; 16-bit 66 GB, 8-bit 33 GB, 4-bit 23.8 GB (NVIDIA, on Hugging Face).
  • Gemma 4 31B (Google, Apache 2.0): 30.7B parameters, 262,144 tokens of context; 16-bit 68.6 GB, 8-bit 34.8 GB, 4-bit 20.5 GB (Google, on Hugging Face).
  • Qwen3.6 35B-A3B (Qwen (Alibaba), Apache 2.0): 35B parameters, 3B active, 262,144 tokens of context; 16-bit 77 GB, 8-bit 41.3 GB, 4-bit 19.3 GB (Qwen (Alibaba), on Hugging Face).
Over 100B
  • gpt-oss-120b (OpenAI, Apache 2.0): 117B parameters, 5.1B active, 131,072 tokens of context; 4-bit 71.8 GB (OpenAI, on Hugging Face).
  • Mistral Small 4 (Mistral AI, Apache 2.0): 119B parameters, 6.5B active, 262,144 tokens of context; 16-bit 261.8 GB, 8-bit 133 GB, 4-bit 77.9 GB (Mistral AI, on Hugging Face).
  • Nemotron 3 Super 120B-A12B (NVIDIA, NVIDIA Nemotron Open Model License): 120B parameters, 12B active, 262,144 tokens of context; 16-bit 264 GB, 8-bit 141.3 GB, 4-bit 88.3 GB (NVIDIA, on Hugging Face).
  • Mistral Medium 3.5 (Mistral AI, Modified MIT: the licence excludes companies with more than $20 million of monthly revenue): 128B parameters, 262,144 tokens of context; 16-bit 282.2 GB, 8-bit 147.6 GB, 4-bit 71 GB (Mistral AI, on Hugging Face).
  • Qwen3.8 Flash-Next (Qwen (Alibaba), Qwen Community License 1.0): 180B parameters, 6B active, 262,144 tokens of context; 16-bit 396 GB, 8-bit 204.1 GB, 4-bit 99 GB (Qwen (Alibaba), on Hugging Face).
  • Command A+ (Cohere, Apache 2.0): 218B parameters, 25B active, 128,000 tokens of context; 16-bit 481.5 GB, 8-bit 247.7 GB, 4-bit 145.3 GB (Cohere, on Hugging Face).
  • GLM-5.3 Flash (Z.ai, MIT): 320B parameters, 18B active, 1,048,576 tokens of context; 8-bit 361.1 GB, 4-bit 176 GB (Z.ai, on Hugging Face).
  • DeepSeek V4.1 Flash (DeepSeek, MIT): 763B parameters, 16B active, 1,048,576 tokens of context; 8-bit 561.3 GB (DeepSeek, on Hugging Face).
  • Mistral Large 3 (Mistral AI, Apache 2.0): 675B parameters, 41B active, 262,144 tokens of context; 8-bit 749.8 GB, 4-bit 443.5 GB (Mistral AI, on Hugging Face).
  • Kimi K3 (Moonshot AI, Kimi K3 License): 2,800B parameters, 104B active, 1,048,576 tokens of context; 4-bit 1,717 GB (Moonshot AI, on Hugging Face).

Machines and their prices

Every machine the tool can price, with its memory, its memory bandwidth (which sets how fast it writes) and its price.

Rent by the hour
Buy
  • Framework Desktop, Ryzen AI Max+ 395, 128 GB: AMD Ryzen AI Max+ 395 (unified memory), 128 GB at 256 GB/s; $3,449 to buy, up to 140 W (bandwidth worked out from its LPDDR5x-8000 memory on a 256-bit bus; the GPU uses the share of memory set aside for it) (Framework).
  • Apple Mac Studio, M5 Ultra, 96 GB: Apple M5 Ultra (unified memory), 96 GB at 1,200 GB/s; $5,499 to buy, up to 480 W (base configuration; more memory costs more) (Apple; Apple).
  • Apple Mac Studio, M5 Ultra, 256 GB: Apple M5 Ultra (unified memory), 256 GB at 1,200 GB/s; $9,499 to buy, up to 480 W (the base M5 Ultra with the 256 GB memory upgrade) (Apple; Apple).
  • NVIDIA DGX Spark, 128 GB: NVIDIA GB10 Grace Blackwell (unified memory), 128 GB at 273 GB/s; $6,950 to buy (4 TB model, at NVIDIA's own store price) (NVIDIA; NVIDIA).

The measurements behind the estimate

Each estimate of a whole machine scales from one of these runs: for NVIDIA, the prompt and answer rates fitted to NIM 1.8.0's published rows, for replies someone waits on and for background work. One reply's speed comes from the single-request runs below them.

Measured systems
  • Llama 3.3 70B on 2 × NVIDIA H100 SXM (NVIDIA NIM 1.8.0, FP8, tensor parallel over 2 GPUs): reads prompts at 8,359 and writes 6,913 answer tokens a second with someone waiting (150 requests at once); 11,846 and 6,541 for background work (Meta, on Hugging Face; NVIDIA).
  • Llama 3.3 70B on 4 × NVIDIA H100 SXM (NVIDIA NIM 1.8.0, FP8, tensor parallel over 4 GPUs): reads prompts at 16,253 and writes 11,710 answer tokens a second with someone waiting (250 requests at once); 22,385 and 10,319 for background work (Meta, on Hugging Face; NVIDIA).
  • Llama 3.3 70B on 2 × NVIDIA H200 (NVIDIA NIM 1.8.0, FP8, tensor parallel over 2 GPUs): reads prompts at 8,172 and writes 9,220 answer tokens a second with someone waiting (200 requests at once); 11,649 and 7,852 for background work (Meta, on Hugging Face; NVIDIA).
  • Llama 3.3 70B on 8 × NVIDIA A100 80 GB SXM (NVIDIA NIM 1.8.0, BF16, tensor parallel over 8 GPUs): reads prompts at 2,957 and writes 4,904 answer tokens a second with someone waiting (100 requests at once); 9,164 and 4,062 for background work (Meta, on Hugging Face; NVIDIA).
  • Llama 3.1 8B on 1 × NVIDIA H100 SXM (NVIDIA NIM 1.8.0, FP8): reads prompts at 44,121 and writes 15,830 answer tokens a second with someone waiting (200 requests at once); 45,406 and 15,713 for background work (Meta, on Hugging Face; NVIDIA).
  • Llama 3.1 8B on 1 × NVIDIA H200 (NVIDIA NIM 1.8.0, FP8): reads prompts at 48,687 and writes 16,061 answer tokens a second with someone waiting (200 requests at once); 52,713 and 16,265 for background work (Meta, on Hugging Face; NVIDIA).
  • Llama 3.1 8B on 1 × NVIDIA L40S (NVIDIA NIM 1.8.0, FP8): reads prompts at 8,247 and writes 10,598 answer tokens a second with someone waiting (150 requests at once); 11,333 and 8,118 for background work (Meta, on Hugging Face; NVIDIA).
  • gpt-oss-120b on Apple M2 Ultra, 76-core GPU (llama.cpp build 7948 (Metal), MXFP4): reads prompts at 1,702 and writes 151 answer tokens a second with someone waiting (4 requests at once); 1,708 and 279 for background work (llama.cpp project; llama.cpp project).
  • gpt-oss-20b on Apple M2 Ultra, 76-core GPU (llama.cpp build 7948 (Metal), MXFP4): reads prompts at 2,858 and writes 248 answer tokens a second with someone waiting (8 requests at once); 2,875 and 536 for background work (llama.cpp project; llama.cpp project).
  • Qwen3.5 35B-A3B on AMD Ryzen AI Max+ 395 (Ollama on ROCm 7.2.1, Q4_K_M, one request at a time): reads prompts at 155 and writes 42 answer tokens a second with someone waiting; 155 and 42 for background work (AMD ROCm blogs).

One request alone

  • Llama 3.3 70B on 2 × NVIDIA H100 SXM (NVIDIA NIM 1.8.0, one request, 1,000-token prompt and answer): 53.37 tokens a second, 56% of its ceiling (Meta, on Hugging Face; NVIDIA).
  • Llama 3.3 70B on 4 × NVIDIA H100 SXM (NVIDIA NIM 1.8.0, one request, 1,000-token prompt and answer): 71.26 tokens a second, 38% of its ceiling (Meta, on Hugging Face; NVIDIA).
  • Llama 3.3 70B on 2 × NVIDIA H200 (NVIDIA NIM 1.8.0, one request, 1,000-token prompt and answer): 59.56 tokens a second, 44% of its ceiling (Meta, on Hugging Face; NVIDIA).
  • Llama 3.3 70B on 8 × NVIDIA A100 80 GB SXM (NVIDIA NIM 1.8.0, one request, 1,000-token prompt and answer): 53.91 tokens a second, 47% of its ceiling (Meta, on Hugging Face; NVIDIA).
  • Llama 3.1 8B on 1 × NVIDIA H100 SXM (NVIDIA NIM 1.8.0, one request, 1,000-token prompt and answer): 220.1 tokens a second, 53% of its ceiling (Meta, on Hugging Face; NVIDIA).
  • Llama 3.1 8B on 1 × NVIDIA H200 (NVIDIA NIM 1.8.0, one request, 1,000-token prompt and answer): 234.95 tokens a second, 39% of its ceiling (Meta, on Hugging Face; NVIDIA).
  • Llama 3.1 8B on 1 × NVIDIA L40S (NVIDIA NIM 1.8.0, one request, 1,000-token prompt and answer): 71.42 tokens a second, 66% of its ceiling (Meta, on Hugging Face; NVIDIA).
  • gpt-oss-120b on NVIDIA DGX Spark (llama.cpp build 7941 (CUDA), MXFP4, one request): 58.72 tokens a second, 55% of its ceiling (llama.cpp project; NVIDIA).
  • gpt-oss-20b on NVIDIA DGX Spark (llama.cpp build 7941 (CUDA), MXFP4, one request): 83.43 tokens a second, 55% of its ceiling (llama.cpp project; NVIDIA).
  • gpt-oss-120b on Apple M2 Ultra, 76-core GPU (llama.cpp build 7948 (Metal), MXFP4, one request): 85.6 tokens a second, 27% of its ceiling (llama.cpp project; llama.cpp project).
  • gpt-oss-20b on Apple M2 Ultra, 76-core GPU (llama.cpp build 7948 (Metal), MXFP4, one request): 129.97 tokens a second, 29% of its ceiling (llama.cpp project; llama.cpp project).
  • Qwen3.5 9B on AMD Ryzen AI Max+ 395 (Ollama on ROCm 7.2.1, Q4_K_M, one request): 29.84 tokens a second, 52% of its ceiling (AMD ROCm blogs).
  • Qwen3.5 35B-A3B on AMD Ryzen AI Max+ 395 (Ollama on ROCm 7.2.1, Q4_K_M, one request): 42.04 tokens a second, 25% of its ceiling (AMD ROCm blogs).

With someone waiting means every reply streams at 20 tokens a second or faster and starts within 2 seconds.

Example

Both examples are the tool's own output for the inputs shown.

Example: the brief's figures

10,000 requests a day of 1,000 tokens in and 500 out, at the brief's $5 and $15 per million tokens, against one machine at a flat $750 a month and no engineer time:

  1. Monthly input tokens: 10,000 × 30 × 1,000 = 300,000,000.
  2. Monthly output tokens: 10,000 × 30 × 500 = 150,000,000.
  3. Public API cost: 300 million input tokens × $5.00 + 150 million output tokens × $15.00 = $3,750.00.
  4. Private AI cost: 1 machine at $750: $750.00.
  5. Difference: $3,750.00 − $750.00 = $3,000.00.

At 10,000 daily requests generating 500 output tokens each, a public API at those rates charges $3,750 a month. A private model on a $750 dedicated server costs $750: hosting privately saves you $3,000/mo. No current list price is $5 and $15, and the $750 leaves out the people who run the server, so the next example uses real prices.

Example: the same work at list prices

The tool's starting point: the same requests on OpenAI's GPT-6.1 Sol at its list prices, against OpenAI's open-weight gpt-oss-120b on an AWS g7e.2xlarge on demand in US East, with 10 engineer hours a month:

  1. Monthly input tokens: 10,000 × 30 × 1,000 = 300,000,000.
  2. Monthly output tokens: 10,000 × 30 × 500 = 150,000,000.
  3. Public API cost: 300 million input tokens × $2.00 + 150 million output tokens × $10.00 = $2,100.00.
  4. Private AI cost: 1 AWS g7e.2xlarge at $3.36312 an hour × 730 hours = $2,455.08, plus 10 engineer hours at $46 = $460.00: $2,915.08.
  5. Difference: $2,100.00 − $2,915.08 = −$815.08.

The API costs $2,100 a month and the private machine $2,915 with its engineer time: public API is cheaper by $815/mo. With these choices, hosting privately costs less from about 14,000 requests a day.

When this is wrong

Private server capacity is fixed. If your 10,000 daily requests all happen in one hour, a single machine will throttle. You would need to scale up your infrastructure, raising the private cost.

  • Bursts: the busiest-hour share sizes the machines. If a tenth of a day's work can arrive in a few minutes, set the share higher or keep a spare machine.
  • Your own speed: serving software, settings, batch sizes and prompts all change throughput. The estimate scales from published measurements; run a load test of your own prompts on the machine before buying, and enter its figure.
  • Model quality: a private model costs less only if it does the job as well. Test the open-weight model and the API model on a few hundred of your real cases first.
  • Memory: a model runs only where it fits. A 70B-parameter model needs about 35 GB at 4-bit for its weights alone, more than a 24 GB GPU holds; the tool checks the fit, weights and context cache together, for every model and machine.
  • Prompt caching and discounts: providers charge less for repeated prompt text and for committed spend; clouds charge less for reserved machines. Enter your own prices where you have them.
  • Setup and the software around it: the private cost is running cost only. Building the application, deploying the model and testing it come on top, as they do for an API.
  • Prices move: model prices change and new GPUs arrive every few months. Every price here carries the date it was checked.

To weigh the running cost against the hours the work replaces, use the AI automation payback calculator.

What we couldn't confirm

  • Not published. A complete RTX PRO 6000 Blackwell workstation: NVIDIA lists the card alone, at $16,000, so the tool doesn't price it as a machine.
  • Not final yet. Mac Studio with 512 GB of memory, which Apple lists as coming in late October.
  • Official source unavailable. Llama models' configuration files, which need a Hugging Face account; only their parameter counts are used.

Sources

Every source this page cites (95)

Each one was opened and checked on the date beside it.

  1. AnthropicGlossary: tokens10 October 2026
  2. European Central BankEuro foreign exchange reference rates9 October 2026
  3. UAE Government portal (u.ae)Fact sheet2024
  4. NVIDIANIM for LLMs benchmarking: performance10 October 2026
  5. Meta, on Hugging FaceLlama 3.3 70B Instruct: model card6 December 2024
  6. Meta, on Hugging FaceLlama 3.1 8B Instruct: model card23 July 2024
  7. llama.cpp projectMeasurements on Mac M2 Ultra5 February 2026
  8. llama.cpp projectPerformance of llama.cpp on Apple Silicon M-series (discussion 4167)1 October 2026
  9. AMD ROCm blogsAI inference on AMD Ryzen AI Max with 128 GB of unified memory25 May 2026
  10. llama.cpp projectMeasurements on DGX Spark5 February 2026
  11. NVIDIANVIDIA DGX Spark10 October 2026
  12. MLCommonsMLPerf Inference v6.0 results26 March 2026
  13. MLCommonsMLPerf Inference reference implementation: gpt-oss-120b10 October 2026
  14. MLCommonsMLPerf Inference v6.1 results14 September 2026
  15. NVIDIA TensorRT-LLMPerformance overview (release 1.1)16 December 2025
  16. Qwen (Alibaba), on Hugging FaceQwen3-30B-A3B: model card29 April 2025
  17. AnthropicClaude API pricing10 October 2026
  18. OpenAIAPI pricing10 October 2026
  19. OpenAIModels10 October 2026
  20. GoogleGemini Developer API pricing9 October 2026
  21. GoogleGemini models9 October 2026
  22. xAIModels and pricing10 October 2026
  23. xAIModels10 October 2026
  24. Mistral AIPricing10 October 2026
  25. Mistral AIModels10 October 2026
  26. DeepSeekModels and pricing10 October 2026
  27. Amazon Web ServicesAmazon Bedrock pricing6 October 2026
  28. Amazon Web ServicesAmazon Nova model cards10 October 2026
  29. MetaModel API pricing and rate limits10 October 2026
  30. MetaModel API models10 October 2026
  31. AnthropicAPI and data retention10 October 2026
  32. Anthropic Privacy CenterIs my data used for model training?18 August 2026
  33. OpenAIYour data10 October 2026
  34. OpenAIDeprecations1 October 2026
  35. GoogleGemini API additional terms of service28 April 2026
  36. GoogleZero data retention in the Gemini API14 September 2026
  37. GoogleGemini API deprecations9 October 2026
  38. xAISecurity FAQ10 October 2026
  39. xAIRegional endpoints10 October 2026
  40. Mistral AIPrivacy policy3 September 2026
  41. Mistral AIRegional inference10 October 2026
  42. Mistral AIDo you use my user data to train your artificial intelligence models?31 August 2026
  43. DeepSeekPrivacy policy10 February 2026
  44. Amazon Web ServicesAmazon Bedrock FAQs10 October 2026
  45. Amazon Web ServicesData retention in Amazon Bedrock10 October 2026
  46. Amazon Web ServicesHIPAA eligible services reference3 September 2026
  47. MetaModel API terms of service9 October 2026
  48. Qwen (Alibaba), on Hugging FaceQwen3.5 9B: model card and config27 February 2026
  49. Google, on Hugging FaceGemma 4 12B: model card and config23 May 2026
  50. Mistral AI, on Hugging FaceMinistral 3 14B: model card and config2 December 2025
  51. Microsoft, on Hugging FacePhi-4: model card and config12 December 2024
  52. OpenAI, on Hugging Facegpt-oss-20b: model card and config5 August 2025
  53. Google, on Hugging FaceGemma 4 26B A4B: model card and config11 March 2026
  54. Qwen (Alibaba), on Hugging FaceQwen3.8 27B: model card and config5 August 2026
  55. Meta, on Hugging FaceMuse Glimmer 30B: model card and config9 August 2026
  56. NVIDIA, on Hugging FaceNemotron 3.5 Lightning 30B-A3B: model card and config11 August 2026
  57. Google, on Hugging FaceGemma 4 31B: model card and config11 March 2026
  58. Qwen (Alibaba), on Hugging FaceQwen3.6 35B-A3B: model card and config15 April 2026
  59. OpenAI, on Hugging Facegpt-oss-120b: model card and config5 August 2025
  60. Mistral AI, on Hugging FaceMistral Small 4: model card and config16 March 2026
  61. NVIDIA, on Hugging FaceNemotron 3 Super 120B-A12B: model card and config11 March 2026
  62. Mistral AI, on Hugging FaceMistral Medium 3.5: model card and config28 April 2026
  63. Qwen (Alibaba), on Hugging FaceQwen3.8 Flash-Next: model card and config24 August 2026
  64. Cohere, on Hugging FaceCommand A+: model card and config20 May 2026
  65. Z.ai, on Hugging FaceGLM-5.3 Flash: model card and config25 August 2026
  66. DeepSeek, on Hugging FaceDeepSeek V4.1 Flash: model card and config10 September 2026
  67. Mistral AI, on Hugging FaceMistral Large 3: model card and config2 December 2025
  68. Moonshot AI, on Hugging FaceKimi K3: model card and config13 June 2026
  69. Amazon Web ServicesAmazon EC2 On-Demand pricing9 October 2026
  70. Amazon Web ServicesAmazon EC2 accelerated computing instance specifications10 October 2026
  71. NVIDIANVIDIA L4 Tensor Core GPU10 October 2026
  72. NVIDIANVIDIA A10 Tensor Core GPU10 October 2026
  73. NVIDIANVIDIA L40S GPU10 October 2026
  74. NVIDIANVIDIA RTX PRO 6000 Blackwell Server Edition10 October 2026
  75. NVIDIANVIDIA H100 Tensor Core GPU10 October 2026
  76. NVIDIANVIDIA H200 Tensor Core GPU10 October 2026
  77. NVIDIANVIDIA DGX B20010 October 2026
  78. Google CloudAccelerator-optimized machine pricing10 October 2026
  79. Google CloudGPU regions and zones10 October 2026
  80. Microsoft AzureAzure Retail Prices API10 October 2026
  81. NVIDIANVIDIA A100 Tensor Core GPU datasheet10 October 2026
  82. E2E NetworksCloud GPU pricing10 October 2026
  83. Yotta Data ServicesShakti Cloud pricing10 October 2026
  84. FrameworkFramework Desktop (AMD Ryzen AI Max 300 series) configurator and specifications10 October 2026
  85. AppleBuy Mac Studio10 October 2026
  86. AppleMac Studio technical specifications10 October 2026
  87. AppleBuy Mac Studio: M5 Ultra configuration11 October 2026
  88. NVIDIANVIDIA Marketplace: personal AI supercomputers11 October 2026
  89. HHSBusiness associate contracts25 January 2013
  90. European CommissionStandard contractual clauses for international transfers4 June 2021
  91. European CommissionAdequacy decisions2026
  92. EUR-LexRegulation (EU) 2022/2554 on digital operational resilience for the financial sector (DORA)14 December 2022
  93. Reserve Bank of IndiaMaster Direction on outsourcing of IT services10 April 2023
  94. CERT-InDirections under section 70B(6) of the Information Technology Act28 April 2022
  95. TCSADPDP Rules 2025: implementation roadmap11 March 2026

Frequently asked questions

What are tokens?

The pieces of text a model reads and writes; APIs charge for the tokens you send (input) and the tokens they write back (output). How much text a token holds depends on the model and the language: on Anthropic's earlier models a token is about 3.5 English characters, and its newer tokenizer produces about 30% more tokens for the same text, so count a real request with the provider's own counter.

Is a private model as capable as a public one?

It depends on the task, and only a test on your own work can tell. Run the same few hundred real cases through the open-weight model and the API model, score both against the right answers, and compare cost only between models that pass. The tool assumes the two do the job equally well.

Does the private cost include setup?

No. It counts the machines, electricity for a machine you buy, and the engineer hours you enter for keeping them running. Building the application, deploying the model and testing it on your work come on top, as they would for an API.

When should I stick with a public API?

If your volume is low, highly unpredictable, or requires complex general reasoning rather than repeated operational tasks, the public API pay-as-you-go model is usually safer. The busy figure under the result shows why: a machine that works a few per cent of the time costs the same as one that works all day.

How many GPUs does a model need?

Enough memory for its weights plus the context cache of every request running at once. gpt-oss-120b's weights are 65 GB, so it fits one 80 GB H100 or a 96 GB RTX PRO 6000 with room for the cache. On a 24 GB GPU, a 1,500-token request fits with Qwen3.5 9B, Gemma 4 12B, Ministral 3 14B, Phi-4, gpt-oss-20b, Gemma 4 26B A4B, Qwen3.8 27B, Muse Glimmer 30B, Nemotron 3.5 Lightning 30B-A3B, Gemma 4 31B and Qwen3.6 35B-A3B at their smallest precision. The tool checks the fit for each model, machine and request length.

Run AI entirely on your own infrastructure.

We check if your workload can run privately, keeping your data secure and your costs flat.

Get a readiness check

Built and maintained by Stafflo. Questions or a wrong number: contact. Last updated 11 October 2026.