Private vs public AI cost estimator
Compare the cost of public API models against hosting private open-weight models for your daily operations.
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.
- Monthly input tokens = daily requests × 30 × average input tokens; the same for output tokens.
- 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).
- 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.
- 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.
- Machines = busiest-hour requests a second × machine time per request, rounded up, plus a spare if you keep one.
- 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.
- Private AI cost = machines × monthly price (hourly price × 730, or the purchase ÷ months) + electricity + engineer hours × hourly cost.
- 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
- AWS g6.xlarge: NVIDIA L4, 24 GB at 300 GB/s; $0.80 an hour in US East (N. Virginia), $0.97 an hour in Asia Pacific (Mumbai) (Amazon Web Services; Amazon Web Services; NVIDIA).
- AWS g5.xlarge: NVIDIA A10G, 24 GB at 600 GB/s; $1.01 an hour in US East (N. Virginia), $1.21 an hour in Asia Pacific (Mumbai) (Amazon Web Services; Amazon Web Services; NVIDIA).
- AWS g6e.xlarge: NVIDIA L40S, 48 GB at 864 GB/s; $1.86 an hour in US East (N. Virginia), $2.24 an hour in Asia Pacific (Mumbai) (Amazon Web Services; Amazon Web Services; NVIDIA).
- AWS g7e.2xlarge: NVIDIA RTX PRO 6000 Blackwell Server, 96 GB at 1,597 GB/s; $3.36 an hour in US East (N. Virginia), $5.49 an hour in Asia Pacific (Mumbai) (Amazon Web Services; Amazon Web Services; NVIDIA).
- AWS p5.4xlarge: NVIDIA H100 SXM, 80 GB at 3,350 GB/s; $6.88 an hour in US East (N. Virginia), $8.26 an hour in Asia Pacific (Mumbai) (Amazon Web Services; Amazon Web Services; NVIDIA).
- AWS g6e.12xlarge: 4 × NVIDIA L40S, 192 GB at 3,456 GB/s; $10.49 an hour in US East (N. Virginia), $12.60 an hour in Asia Pacific (Mumbai) (Amazon Web Services; Amazon Web Services; NVIDIA).
- AWS p5.48xlarge: 8 × NVIDIA H100 SXM, 640 GB at 26,800 GB/s; $55.04 an hour in US East (N. Virginia), $66.05 an hour in Asia Pacific (Mumbai) (Amazon Web Services; Amazon Web Services; NVIDIA).
- AWS p5en.48xlarge: 8 × NVIDIA H200, 1,128 GB at 38,400 GB/s; $63.30 an hour in US East (N. Virginia), $75.96 an hour in Asia Pacific (Mumbai) (Amazon Web Services; Amazon Web Services; NVIDIA).
- AWS p6-b200.48xlarge: 8 × NVIDIA B200, 1,440 GB at 64,000 GB/s; $113.93 an hour in US East (N. Virginia), $160.65 an hour in Asia Pacific (Mumbai) (Amazon Web Services; Amazon Web Services; NVIDIA).
- Google Cloud g2-standard-4: NVIDIA L4, 24 GB at 300 GB/s; $0.71 an hour in Iowa (us-central1), $0.74 an hour in Mumbai (asia-south1) (Google Cloud; NVIDIA).
- Google Cloud a3-highgpu-8g: 8 × NVIDIA H100 SXM, 640 GB at 26,800 GB/s; $88.49 an hour in Iowa (us-central1) (not offered in Mumbai) (Google Cloud; Google Cloud; NVIDIA).
- Azure NC24ads A100 v4: NVIDIA A100 80 GB PCIe, 80 GB at 1,935 GB/s; $3.67 an hour in East US, $5.14 an hour in Central India (Microsoft Azure; NVIDIA).
- Azure NC40ads H100 v5: NVIDIA H100 NVL, 94 GB at 3,900 GB/s; $6.98 an hour in East US, $9.77 an hour in Central India (Microsoft Azure; NVIDIA).
- E2E Networks H100: NVIDIA H100 SXM, 80 GB at 3,350 GB/s; ₹255.55 an hour in India (before GST) (E2E Networks; NVIDIA).
- E2E Networks L40S: NVIDIA L40S, 48 GB at 864 GB/s; ₹102.00 an hour in India (before GST) (E2E Networks; NVIDIA).
- E2E Networks H200: NVIDIA H200, 141 GB at 4,800 GB/s; ₹379.05 an hour in India (before GST) (E2E Networks; NVIDIA).
- Yotta Shakti Cloud H100: NVIDIA H100 SXM, 80 GB at 3,350 GB/s; ₹356.00 an hour in Navi Mumbai and Greater Noida (Yotta Data Services; NVIDIA).
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:
- Monthly input tokens: 10,000 × 30 × 1,000 = 300,000,000.
- Monthly output tokens: 10,000 × 30 × 500 = 150,000,000.
- Public API cost: 300 million input tokens × $5.00 + 150 million output tokens × $15.00 = $3,750.00.
- Private AI cost: 1 machine at $750: $750.00.
- 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:
- Monthly input tokens: 10,000 × 30 × 1,000 = 300,000,000.
- Monthly output tokens: 10,000 × 30 × 500 = 150,000,000.
- Public API cost: 300 million input tokens × $2.00 + 150 million output tokens × $10.00 = $2,100.00.
- 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.
- 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.
- AnthropicGlossary: tokens10 October 2026
- European Central BankEuro foreign exchange reference rates9 October 2026
- UAE Government portal (u.ae)Fact sheet2024
- NVIDIANIM for LLMs benchmarking: performance10 October 2026
- Meta, on Hugging FaceLlama 3.3 70B Instruct: model card6 December 2024
- Meta, on Hugging FaceLlama 3.1 8B Instruct: model card23 July 2024
- llama.cpp projectMeasurements on Mac M2 Ultra5 February 2026
- llama.cpp projectPerformance of llama.cpp on Apple Silicon M-series (discussion 4167)1 October 2026
- AMD ROCm blogsAI inference on AMD Ryzen AI Max with 128 GB of unified memory25 May 2026
- llama.cpp projectMeasurements on DGX Spark5 February 2026
- NVIDIANVIDIA DGX Spark10 October 2026
- MLCommonsMLPerf Inference v6.0 results26 March 2026
- MLCommonsMLPerf Inference reference implementation: gpt-oss-120b10 October 2026
- MLCommonsMLPerf Inference v6.1 results14 September 2026
- NVIDIA TensorRT-LLMPerformance overview (release 1.1)16 December 2025
- Qwen (Alibaba), on Hugging FaceQwen3-30B-A3B: model card29 April 2025
- AnthropicClaude API pricing10 October 2026
- OpenAIAPI pricing10 October 2026
- OpenAIModels10 October 2026
- GoogleGemini Developer API pricing9 October 2026
- GoogleGemini models9 October 2026
- xAIModels and pricing10 October 2026
- xAIModels10 October 2026
- Mistral AIPricing10 October 2026
- Mistral AIModels10 October 2026
- DeepSeekModels and pricing10 October 2026
- Amazon Web ServicesAmazon Bedrock pricing6 October 2026
- Amazon Web ServicesAmazon Nova model cards10 October 2026
- MetaModel API pricing and rate limits10 October 2026
- MetaModel API models10 October 2026
- AnthropicAPI and data retention10 October 2026
- Anthropic Privacy CenterIs my data used for model training?18 August 2026
- OpenAIYour data10 October 2026
- OpenAIDeprecations1 October 2026
- GoogleGemini API additional terms of service28 April 2026
- GoogleZero data retention in the Gemini API14 September 2026
- GoogleGemini API deprecations9 October 2026
- xAISecurity FAQ10 October 2026
- xAIRegional endpoints10 October 2026
- Mistral AIPrivacy policy3 September 2026
- Mistral AIRegional inference10 October 2026
- Mistral AIDo you use my user data to train your artificial intelligence models?31 August 2026
- DeepSeekPrivacy policy10 February 2026
- Amazon Web ServicesAmazon Bedrock FAQs10 October 2026
- Amazon Web ServicesData retention in Amazon Bedrock10 October 2026
- Amazon Web ServicesHIPAA eligible services reference3 September 2026
- MetaModel API terms of service9 October 2026
- Qwen (Alibaba), on Hugging FaceQwen3.5 9B: model card and config27 February 2026
- Google, on Hugging FaceGemma 4 12B: model card and config23 May 2026
- Mistral AI, on Hugging FaceMinistral 3 14B: model card and config2 December 2025
- Microsoft, on Hugging FacePhi-4: model card and config12 December 2024
- OpenAI, on Hugging Facegpt-oss-20b: model card and config5 August 2025
- Google, on Hugging FaceGemma 4 26B A4B: model card and config11 March 2026
- Qwen (Alibaba), on Hugging FaceQwen3.8 27B: model card and config5 August 2026
- Meta, on Hugging FaceMuse Glimmer 30B: model card and config9 August 2026
- NVIDIA, on Hugging FaceNemotron 3.5 Lightning 30B-A3B: model card and config11 August 2026
- Google, on Hugging FaceGemma 4 31B: model card and config11 March 2026
- Qwen (Alibaba), on Hugging FaceQwen3.6 35B-A3B: model card and config15 April 2026
- OpenAI, on Hugging Facegpt-oss-120b: model card and config5 August 2025
- Mistral AI, on Hugging FaceMistral Small 4: model card and config16 March 2026
- NVIDIA, on Hugging FaceNemotron 3 Super 120B-A12B: model card and config11 March 2026
- Mistral AI, on Hugging FaceMistral Medium 3.5: model card and config28 April 2026
- Qwen (Alibaba), on Hugging FaceQwen3.8 Flash-Next: model card and config24 August 2026
- Cohere, on Hugging FaceCommand A+: model card and config20 May 2026
- Z.ai, on Hugging FaceGLM-5.3 Flash: model card and config25 August 2026
- DeepSeek, on Hugging FaceDeepSeek V4.1 Flash: model card and config10 September 2026
- Mistral AI, on Hugging FaceMistral Large 3: model card and config2 December 2025
- Moonshot AI, on Hugging FaceKimi K3: model card and config13 June 2026
- Amazon Web ServicesAmazon EC2 On-Demand pricing9 October 2026
- Amazon Web ServicesAmazon EC2 accelerated computing instance specifications10 October 2026
- NVIDIANVIDIA L4 Tensor Core GPU10 October 2026
- NVIDIANVIDIA A10 Tensor Core GPU10 October 2026
- NVIDIANVIDIA L40S GPU10 October 2026
- NVIDIANVIDIA RTX PRO 6000 Blackwell Server Edition10 October 2026
- NVIDIANVIDIA H100 Tensor Core GPU10 October 2026
- NVIDIANVIDIA H200 Tensor Core GPU10 October 2026
- NVIDIANVIDIA DGX B20010 October 2026
- Google CloudAccelerator-optimized machine pricing10 October 2026
- Google CloudGPU regions and zones10 October 2026
- Microsoft AzureAzure Retail Prices API10 October 2026
- NVIDIANVIDIA A100 Tensor Core GPU datasheet10 October 2026
- E2E NetworksCloud GPU pricing10 October 2026
- Yotta Data ServicesShakti Cloud pricing10 October 2026
- FrameworkFramework Desktop (AMD Ryzen AI Max 300 series) configurator and specifications10 October 2026
- AppleBuy Mac Studio10 October 2026
- AppleMac Studio technical specifications10 October 2026
- AppleBuy Mac Studio: M5 Ultra configuration11 October 2026
- NVIDIANVIDIA Marketplace: personal AI supercomputers11 October 2026
- HHSBusiness associate contracts25 January 2013
- European CommissionStandard contractual clauses for international transfers4 June 2021
- European CommissionAdequacy decisions2026
- EUR-LexRegulation (EU) 2022/2554 on digital operational resilience for the financial sector (DORA)14 December 2022
- Reserve Bank of IndiaMaster Direction on outsourcing of IT services10 April 2023
- CERT-InDirections under section 70B(6) of the Information Technology Act28 April 2022
- 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.
Related
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 checkBuilt and maintained by Stafflo. Questions or a wrong number: contact. Last updated 11 October 2026.