Guides

Cheapest LLM for batch classification and extraction

Offline jobs such as tagging, routing, moderation or structured extraction rarely need an answer in seconds. That makes batch discounts the first thing to check. Prices verified 2026-10-18.

Assumptions

Change any of these in the calculator: every row below has a link that opens the same scenario for that model.

The short answer

Output-heavy jobs rank differently

Classification is almost all input, so input price decides. Extraction writes 500 output tokens per document, so output price starts to matter. The five cheapest models for extraction:

  1. Ministral 3 8B: $26.25 per 100K documents
  2. Claude Haiku 5.5: $27.50 per 100K documents
  3. GPT-6 Luna: $27.50 per 100K documents
  4. Mistral Small 4: $37.50 per 100K documents
  5. GPT-5.6 Luna: $60.00 per 100K documents

DeepSeek off-peak instead of batch

DeepSeek has no batch discount but publishes off-peak rates. Running the same jobs in off-peak hours:

Trade-offs

Batch APIs return results asynchronously rather than in seconds; check each provider's batch documentation for the completion window. Small models are often accurate enough for clear-cut labels but miss more on ambiguous ones. A common pattern is to run the cheap model on everything, then send low-confidence items to a larger model. Measure accuracy on a labelled sample of a few hundred documents first: a 2% error rate on 1M documents is 20,000 wrong labels.

Full ranking (36 models)

#ModelTierClassify 1M docsExtract 100K docs
1Claude Haiku 5.5 Anthropicsmall$35.00$27.50Calculator
2GPT-6 Luna OpenAIsmall$35.00$27.50Calculator
3Ministral 3 8B Mistral AIsmall$46.50$26.25Calculator
4Mistral Small 4 Mistral AIsmall$51.00$37.50Calculator
5GPT-5.6 Luna OpenAIsmall$72.00$60.00Calculator
6Gemini 3.1 Flash-Lite Googlesmall$90.00$75.00Calculator
7Codestral Mistral AIsmall$99.00$67.50Calculator
8Gemini 3.5 Flash-Lite Googlesmall$115$108Calculator
9Gemini 2.5 Flash Googlesmall$115$108Calculator
10DeepSeek V4.1 Flash DeepSeek no batch APIsmall$204$150Calculator
11Mistral Large 4 Mistral AI sale priceflagship$225$154Calculator
12Gemini 3.8 Flash Google price changes 2027-01-01mid$263$206Calculator
13Gemini 3.6 Flash Google price changes 2027-01-01mid$263$206Calculator
14GPT-5.4 mini OpenAIsmall$270$225Calculator
15Claude Haiku 4.5 Anthropicsmall$350$275Calculator
16Mistral Medium 3.5 Mistral AImid$525$413Calculator
17Grok 4.20 (Reasoning) xAIreasoning$640$400Calculator
18Grok 4.3 xAImid$640$400Calculator
19Grok Build 0.1 xAI no batch APIsmall$640$400Calculator
20Gemini 4 Argon Google price changes 2026-12-01flagship$700$550Calculator
21Claude Sonnet 5.5 Anthropicmid$700$550Calculator
22Claude Sonnet 5 Anthropicmid$700$550Calculator
23GPT-6 Sol OpenAImid$700$550Calculator
24GPT-6.1 Sol OpenAImid$700$550Calculator
25Gemini 3.1 Pro (Preview) Googleflagship$720$600Calculator
26GPT-5.6 Terra OpenAImid$720$600Calculator
27DeepSeek V4 Pro DeepSeek no batch APIflagship$871$594Calculator
28Claude Sonnet 4.6 Anthropicmid$1,050$825Calculator
29Grok 4.7 xAI no batch APIflagship$1,320$900Calculator
30Claude Opus 5.5 Anthropicflagship$1,400$1,100Calculator
31GPT-5.6 Sol OpenAIflagship$1,400$1,100Calculator
32Claude Opus 5 Anthropicflagship$1,750$1,375Calculator
33Claude Opus 4.8 Anthropicflagship$1,750$1,375Calculator
34GPT-5.5 OpenAIflagship$1,800$1,500Calculator
35Claude Fable 5.1 Anthropicflagship$3,500$2,750Calculator
36GPT-6 Astra OpenAIflagship$3,500$2,750Calculator

USD, standard list prices. Tags mark announced price changes and temporary sale prices.

Price is not quality

This page ranks by cost only. Models differ in accuracy, instruction following, tool use, latency, rate limits and data policies, and those differences often matter more than the price gap. Shortlist two or three models from the table, run them on a sample of your real inputs, and compare cost per successful result.

Related comparisons

More guides

FAQ

What is the cheapest way to classify a million documents with an LLM?

With the assumptions here, Claude Haiku 5.5 costs $35.00 for 1,000,000 documents. Shorter prompts and single-token labels lower it further.

How big are batch discounts?

Most providers in this table list 50% off for batch requests. Models without a published batch discount are tagged in the table.