Distilled 8B Classifier vs GPT-4.1-mini: Hosts, H100 Prices and Daily Cost at 2B Tokens (2026)
A buyer's guide for teams moving a high-volume GPT-4.1-mini classifier to a distilled Llama 3.1 8B-class model: which hosts bill custom checkpoints per token, what H100s cost, and a 12-month worked example.
At 2 billion tokens a day, 95 percent input, GPT-4.1-mini costs $920 a day at OpenAI's standard rates and $460 on the Batch API. A distilled 8B classifier costs about $130 to $400 a day on two or three rented H100s, which is how most hosts now bill a custom checkpoint, and about $42 a day only if a host bills it at its stock Llama 3.1 8B per-token rate. One H100 processes roughly 55,000 tokens a second on this input-heavy shape, so GPU count is set by traffic peaks and failover, not raw speed. Because OpenAI shuts GPT-4.1-mini down on January 14, 2027, the price to beat after that date is gpt-6-luna at $240 a day, or $120 on Batch.
First, know what you are replacing
OpenAI's pricing page lists GPT-4.1-mini at $0.40 per million input tokens, $0.10 for cached input and $1.60 for output; Batch halves input and output. Output costs four times input, so the split matters: at 2 billion tokens a day the standard bill is $920 at 95/5, $1,040 at 90/10 and $1,280 at 80/20. Batch brings those to $460, $520 and $640. Prompt caching, on by default when the full prompt prefix repeats, lowers the bill further: if half of every prompt is a cached instruction block, 95/5 costs $635 at standard rates.
The model has an end date. OpenAI's deprecations page, with a notice dated October 14, 2026, lists January 14, 2027 as the shutdown for gpt-4.1-mini-2025-04-14 and recommends gpt-6-luna. Luna costs $0.10 per million input tokens and $0.50 output, half that on Batch, which is $240 a day at 95/5, or $120 on Batch. It defaults to medium reasoning effort, and OpenAI bills reasoning tokens as output, but its model page lists none as a supported effort. Luna cannot be fine-tuned. Whether Luna at none matches GPT-4.1-mini on your classes has not been measured.
How fast an 8B model reads classification traffic
Classification is mostly reading. Prefill, the reading step, runs the whole prompt through the GPU in parallel, while generating output runs one token at a time, so long-prompt, short-answer traffic moves far more tokens per second than chat benchmarks imply.
NVIDIA's TensorRT-LLM tables for the v0.21 release, last updated August 3, 2025, give the closest measured case: Llama 3.1 8B in FP8 on a single H100, with 2,048-token prompts and 128-token answers, produced 3,276 output tokens a second. At that request shape that is 25.6 requests and about 55,700 total tokens a second, 52,400 of them input. With 5,000-token prompts and 500-token answers the total was about 36,000 tokens a second, and an H200 on the 2,048/128 shape reached about 57,600. These are NVIDIA's offline runs with synthetic fixed-length requests, measured with trtllm-bench. The tables report output tokens only, so the input and total figures are derived from the published request shape. The current version of the page, last updated November 16, 2026, no longer lists Llama 3.1 8B.
No primary source publishes the same prefill-heavy test for an 8B model under vLLM or SGLang, or in BF16, and none covers a distilled checkpoint. Measure your own on one rented GPU: vLLM's vllm bench serve --dataset-name random --random-input-len <your prompt length> --random-output-len <your label length> reports total token throughput, and SGLang's python -m sglang.benchmark.serving accepts the same flags and reports input token throughput. Use --max-concurrency or --request-rate to test at your latency target rather than the offline maximum.
Your hosting options for a custom 8B checkpoint
The per-token prices quoted for 8B models are for each host's stock model. What matters for a distilled classifier is how the host bills weights you bring.
| Option | How a custom 8B is billed | List price | Fits when |
|---|---|---|---|
OpenAI gpt-6-luna |
No custom weights; fine-tuning unsupported | $0.10 in / $0.50 out per 1M | Prompted Luna passes your per-class test |
| DeepInfra | Full checkpoint on a private deployment, per GPU-hour; LoRA adapters on the stock Turbo base | H100 $2.90/hr; stock 8B Turbo $0.02 / $0.04 per 1M | Lowest managed GPU-hour rate |
| Together | Dedicated endpoint only; serverless LoRA discontinued | H100 $5.49/hr, billed per minute while running | You train on Together and want one vendor |
| Fireworks | On-demand deployment; serverless LoRA only on GLM 5.3 Flash | H100 $8.00/hr, per GPU-second, scales to zero after 1 h idle | Traffic runs in shifts with long idle gaps |
| Self-host (RunPod, Lambda) | Rented GPUs you run yourself | H100 SXM $2.69 to $4.89/hr | You have an engineer to run the serving stack |
| Parsec | Shared multi-tenant serving of your model | No published price | You want serving and retraining handled |
Groq is the other name buyers ask about. Its LoRA page says LoRA "is available exclusively to enterprise-tier customers," on Llama 3.1 8B only, priced through its enterprise team, and its model list shows "contact sales" rather than a public per-token price for llama-3.1-8b-instant.
DeepInfra's row deserves care. Its stock Meta-Llama-3.1-8B-Instruct-Turbo, an FP8 build, costs $0.02 per million input and $0.04 output, which is $42 a day for this workload. Its LoRA docs show adapters served on that Turbo base, but do not say whether they bill at that rate. A full fine-tune goes on a private deployment, "billed per GPU-hour, not per token." Get the adapter rate in writing before counting on $42.
On self-hosting, RunPod's pricing page, updated November 12, 2026, lists an H100 SXM at $2.69 an hour on Community Cloud and $4.39 on Secure Cloud; Lambda lists $4.89 for a single H100 SXM and $4.59 per GPU in an eight-GPU node.
On Parsec: its comparison page says customer models "run alongside other teams' on an optimized cluster," and its inference page describes a loop that traces production requests, builds datasets and evaluations the customer approves, retrains with SFT or LoRA, sends low-confidence requests to a closed frontier model, and states "Weights: Yours. Download them." Parsec says a first post-trained model takes about four weeks, a figure it gives without a baseline. It publishes no price for this service, and its only code sample uses the Anthropic SDK rather than OpenAI's, so test the integration before planning a cutover around it.
Sizing the GPUs, and why idle time is the real price
Two billion tokens a day averages 23,148 tokens a second, 42 percent of one H100 at the measured offline peak. Assume bursts at three times average and that becomes 1.25 GPUs, so two, plus one spare for failover: three H100s. Online serving with a latency target will deliver less than the offline peak; by how much, for this workload, has not been measured, which is another reason to keep the spare.
Three H100s for a day cost $194 on RunPod Community, $209 on DeepInfra, $395 on Together and $576 on Fireworks. That fleet runs at about 14 percent of its measured peak, so on DeepInfra each million tokens costs $0.104, against $0.015 if one GPU ran flat out. Burstiness, failover and latency headroom are what you pay for.
Volume changes the answer. At 100 million tokens a day, GPT-4.1-mini costs $46, Luna $12 and DeepInfra's stock Turbo rate $2.10, while even two idle-heavy H100s cost $139: stay per-token. At 10 billion a day, GPT-4.1-mini costs $4,600 and Luna $1,200, while the same sizing gives eight H100s at $557 on DeepInfra: own the model.
Worked example: 12 months at 2 billion tokens a day
The assumptions, all stated: 95/5 split; start November 17, 2026; GPT-4.1-mini at standard rates until the January 14 shutdown (58 days, $53,360); cutover on January 14 for the remaining 307 days.
Distillation, per round: 200,000 training examples of 2,000 input and 100 output tokens, relabelled by GPT-4.1 on Batch at $1.00 and $4.00 per million ($480); two epochs of supervised fine-tuning on Together at $0.34 per million tokens over 420 million tokens ($286; $319 at Together's $0.38 rate); teacher labels for a 20,000-example evaluation set ($48). About $814 a round, $3,256 for the first build plus three quarterly retrains. Engineering is an assumption you should replace with your own figure: $30,000 for the first build and $5,000 per retrain, $45,000 in total.
The labels are allowed for this use. OpenAI's Services Agreement, version dated January 1, 2026, forbids using Output to build competing models but makes a Permitted Exception for models "primarily intended to categorize, classify, or organize data (e.g., embeddings or classifiers), if these models are not distributed or made commercially available to third parties."
Moving to Luna at standard rates after cutover brings the year to $127,040 ($53,360 plus $73,680), or $63,520 if both models run on Batch throughout. A distilled 8B on three DeepInfra H100s costs $165,718: $53,360 before cutover, $64,102 of serving, $3,256 of distillation and $45,000 of engineering, or $120,718 without the engineering. On three RunPod Community H100s the same plan costs $161,076. If DeepInfra billed the model as an adapter at its stock Turbo rate, which its docs do not confirm, the year would cost $114,510.
For a sense of scale, keeping GPT-4.1-mini at standard rates for 365 days would have cost $335,800, but that option ends on January 14. In a full year after cutover, three DeepInfra H100s cost $76,212, against $87,600 for Luna standard and $43,800 for Luna Batch.
The accuracy side of the example cannot be priced. A distilled 8B sees few examples of rare classes, and the size of its loss on them against GPT-4.1-mini has not been measured for any public task cited here. Build the held-out test set stratified by class, record GPT-4.1-mini's labels while it still answers, and compare per-class recall, not overall accuracy.
Bottom line
If your work can wait for Batch and Luna at none passes a per-class test, move to Luna: about $120 a day is the cheapest path at this volume. If you need real-time answers and Luna passes, Luna standard at $240 a day is still cheaper than owning, once engineering is counted. If Luna fails on rare classes, or you want a classifier no vendor can deprecate, distil an 8B model and serve it on three H100s from DeepInfra or RunPod at about $200 a day, or on Fireworks if traffic runs in shifts. If volume is heading toward 10 billion tokens a day, own the model regardless. Decide before January 14, while GPT-4.1-mini can still label your test set.
Sources
- OpenAI, API pricing: https://developers.openai.com/api/docs/pricing
- OpenAI, GPT-4.1 mini model page: https://developers.openai.com/api/docs/models/gpt-4.1-mini
- OpenAI, Deprecations: https://developers.openai.com/api/docs/deprecations
- OpenAI, GPT-6 Luna model page: https://developers.openai.com/api/docs/models/gpt-6-luna
- OpenAI, Reasoning guide: https://developers.openai.com/api/docs/guides/reasoning
- OpenAI, Prompt caching guide: https://developers.openai.com/api/docs/guides/prompt-caching
- OpenAI Services Agreement (v.010126): https://cdn.openai.com/osa/openai-services-agreement.pdf
- DeepInfra, Pricing: https://deepinfra.com/pricing
- DeepInfra, Meta-Llama-3.1-8B-Instruct-Turbo: https://deepinfra.com/meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
- DeepInfra, Custom LLMs: https://docs.deepinfra.com/private-models/custom-llms
- DeepInfra, LoRA adapters: https://docs.deepinfra.com/private-models/lora
- Together, Pricing: https://www.together.ai/pricing
- Together, LoRA inference: https://docs.together.ai/docs/lora-inference
- Together, Deploying fine-tuned models: https://docs.together.ai/docs/fine-tuning/deployment.md
- Fireworks, Pricing: https://fireworks.ai/pricing
- Fireworks, Specialized Model Inference: https://docs.fireworks.ai/serverless/specialized-model-inference/overview.md
- Groq, Models: https://console.groq.com/docs/models
- Groq, LoRA: https://console.groq.com/docs/lora
- RunPod, Pricing: https://www.runpod.io/pricing
- Lambda, Pricing: https://lambda.com/pricing
- NVIDIA, TensorRT-LLM performance overview (v0.21): https://nvidia.github.io/TensorRT-LLM/0.21.0/performance/perf-overview.html
- NVIDIA, TensorRT-LLM performance overview (current): https://nvidia.github.io/TensorRT-LLM/developer-guide/perf-overview.html
- vLLM, benchmark serve source: https://github.com/vllm-project/vllm/blob/main/vllm/benchmarks/serve.py
- vLLM, benchmark datasets source: https://github.com/vllm-project/vllm/blob/main/vllm/benchmarks/datasets/datasets.py
- SGLang, serving benchmark source: https://github.com/sgl-project/sglang/blob/main/python/sglang/benchmark/serving.py
- Parsec, Inference: https://parseclab.ai/inference/
- Parsec vs your own GPUs: https://parseclab.ai/compare/own-gpus/
- Parsec vs routers: https://parseclab.ai/compare/routers/