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-11-17.

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 (45 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
10Mistral Large 3 Mistral AIflagship$165$112Calculator
11DeepSeek V4.1 Flash DeepSeek no batch APIsmall$204$150Calculator
12Mistral Large 4 Mistral AIflagship$231$158Calculator
13Gemini 3.8 Flash Google price changes 2027-01-01mid$263$206Calculator
14Gemini 3.6 Flash Google price changes 2027-01-01mid$263$206Calculator
15GPT-5.4 mini OpenAIsmall$270$225Calculator
16Claude Haiku 4.5 Anthropicsmall$350$275Calculator
17GPT-6.1 Terra OpenAImid$350$275Calculator
18Gemini 4 Hydrogen Googlemid$525$413Calculator
19Mistral Medium 3.5 Mistral AImid$525$413Calculator
20Grok 4.20 (Reasoning) xAIreasoning$640$400Calculator
21Grok 4.3 xAImid$640$400Calculator
22Grok Build 0.1 xAI no batch APIsmall$640$400Calculator
23Gemini 4 Carbon Google price changes 2026-12-01flagship$700$550Calculator
24Gemini 4 Argon Google price changes 2026-12-01flagship$700$550Calculator
25Claude Sonnet 5.5 Anthropicmid$700$550Calculator
26Claude Sonnet 5 Anthropicmid$700$550Calculator
27GPT-6 Sol OpenAImid$700$550Calculator
28GPT-6.1 Sol OpenAImid$700$550Calculator
29Gemini 3.1 Pro (Preview) Googleflagship$720$600Calculator
30GPT-5.6 Terra OpenAImid$720$600Calculator
31DeepSeek V4 Pro DeepSeek no batch APIflagship$871$594Calculator
32GPT-5.4 OpenAIflagship$900$750Calculator
33Claude Sonnet 4.6 Anthropicmid$1,050$825Calculator
34Grok 4.5 xAIflagship$1,056$720Calculator
35Grok 4.6 xAIflagship$1,056$720Calculator
36Grok 4.7 xAIflagship$1,056$720Calculator
37Claude Opus 5.5 Anthropicflagship$1,400$1,100Calculator
38GPT-5.6 Sol OpenAIflagship$1,400$1,100Calculator
39Claude Opus 5 Anthropicflagship$1,750$1,375Calculator
40Claude Opus 4.8 Anthropicflagship$1,750$1,375Calculator
41GPT-5.5 OpenAIflagship$1,800$1,500Calculator
42Claude Fable 5.2 Anthropicflagship$2,800$2,200Calculator
43Claude Fable 5.1 Anthropicflagship$3,500$2,750Calculator
44Claude Fable 5 Anthropicflagship$3,500$2,750Calculator
45GPT-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.