Workload cost scenario

LLM Classification and Routing Cost Calculator

Compare API spend for short classification, moderation-routing, and intent-detection requests at high volume.

Platform teams routing requests before a larger model or human workflow.

Editable assumptions

Model the workload

Change the inputs to recalculate every compatible model.

Lowest tracked estimate
$51.00

Gemini 2.5 Flash-Lite for the current assumptions

Lowest cost does not mean best model. Test output quality, latency, retries, and reliability on your own workload.

Cost comparison

Estimated monthly cost by model

Comparing 22 models that fit the initial input length.

ModelProviderInput costOutput costMonthly estimateContext usage
Gemini 2.5 Flash-LiteGoogle$35.00$16.00$51.000.1%
DeepSeek V4 Flash non-thinkingDeepSeek$49.00$11.20$60.200.1%
GPT-4o miniOpenAI$52.50$24.00$76.500.5%
gpt-5.4-nanoOpenAI$70.00$50.00$120.000.2%
Gemini 3.5 Live Translate PreviewGoogle$87.50$60.00$147.500.5%
Gemini 3.1 Flash-LiteGoogle$87.50$60.00$147.500.1%
deepseek-v4-proDeepSeek$152.25$34.80$187.050.1%
Gemini 2.5 FlashGoogle$105.00$100.00$205.000.1%
Gemini 3 Flash PreviewGoogle$175.00$120.00$295.000.1%
gpt-5.4-miniOpenAI$262.50$180.00$442.500.2%
Claude Haiku 4.5Anthropic$350.00$200.00$550.000.4%
gpt-5.6-lunaOpenAI$350.00$240.00$590.000.1%
Gemini 2.5 ProGoogle$437.50$400.00$837.500.1%
Gemini 3.5 FlashGoogle$525.00$360.00$885.000.1%
Claude Sonnet 5Anthropic$700.00$400.00$1,100.000.1%
Gemini 3.1 Pro PreviewGoogle$700.00$480.00$1,180.000.1%
GPT-4oOpenAI$875.00$400.00$1,275.000.5%
gpt-5.6-terraOpenAI$875.00$600.00$1,475.000.1%
Claude Sonnet 4.6Anthropic$1,050.00$600.00$1,650.000.1%
Claude Opus 4.8Anthropic$1,750.00$1,000.00$2,750.000.1%
gpt-5.6-solOpenAI$1,750.00$1,200.00$2,950.000.1%
Claude Fable 5Anthropic$3,500.00$2,000.00$5,500.000.1%
Why this scenario matters

Classification and routing cost drivers

Classification usually has short output but high volume, making per-request overhead and lower-cost model routing important budget variables.

StackLens checklist

What to measure

  • Use a compact response schema.
  • Measure fallback rates to larger models.
  • Test whether deterministic rules can handle obvious cases before an LLM call.

Estimate boundary: Quality and latency are not assumed equal across models; validate labels on a representative evaluation set.

View pricing sources

OpenAI model pricingHigh confidenceChecked 2026-07-13

Tracked prices for included OpenAI models are checked against official provider documentation.

Anthropic model pricingHigh confidenceChecked 2026-07-12

Tracked prices for included Anthropic models are checked against official provider documentation.

Google model pricingHigh confidenceChecked 2026-07-14

Tracked prices for included Google models are checked against official provider documentation.

DeepSeek model pricingHigh confidenceChecked 2026-07-12

Tracked prices for included DeepSeek models are checked against official provider documentation.

Anthropic model pricingHigh confidenceChecked 2026-07-14

Tracked prices for included Anthropic models are checked against official provider documentation.