Skip to main content
API inference use case

Best LLMs for Classification and Content Moderation

Tiny outputs at very high volume — the cheapest capable model wins.

Models compared 276
Providers 51
From $0.0061 per 1,000 requests

Typical request this page prices

Input tokens
600
Of which cached
50%
Output tokens
15
What to compare on
Input rate · Throughput · Latency · Accuracy on labelled samples
  • Quality floor: none — every priced chat model is compared.
  • Costs use each provider’s current standard rates, with cached tokens at the cached-input rate where one is published. Speed is from Artificial Analysis where measured.

Lowest cost that meets the bar

Models that clear the quality floor, ordered by estimated cost for the request above.

Lowest-cost models for Classification & Moderation
ModelIntelligenceSpeedCheapest hostInput / output per 1MPer 1,000 requests
Ling 3.0 Tiny
InclusionAI
-182tok/sOpenRouter
2 providers
$0.015 / $0.045
cached $0.0030
$0.0061
GPT-OSS-20B
OpenAI · 128K context
-166tok/sLiquid Inference
14 providers
$0.010 / $0.052$0.0070
Ling 3.0 Flash
InclusionAI
-184tok/sOpenRouter
6 providers
$0.021 / $0.063
cached $0.0042
$0.0085
Qwen3.8 27B
Alibaba
20.156tok/sLiquid Inference
26 providers
$0.015 / $0.194$0.012
Llama 3.1 8B
Meta · 128K context
-143tok/sLiquid Inference
7 providers
$0.020 / $0.040$0.013
Qwen3.7 Flash
Alibaba
--OpenRouter
2 providers
$0.030 / $0.130
cached $0.0060
$0.013
Hy4 Flash
Tencent · 1.0M context
--Novita AI
6 providers
$0.035 / $0.141
cached $0.0015
$0.013
MiMo-V2.6-Flash
Xiaomi
26.838tok/sLiquid Inference
13 providers
$0.020 / $0.240$0.016

Highest-scoring options

Ordered by Artificial Analysis Intelligence Index, with the cost of the same request.

Highest-scoring models for Classification & Moderation
ModelIntelligenceSpeedCheapest hostInput / output per 1MPer 1,000 requests
Claude Fable 5.2
Anthropic · 1.0M context
64.891tok/sHiAPI
9 providers
$4.07 / $20.35
cached $0.102
$1.56
GPT-6.2 Astra
OpenAI
62.264tok/sHiAPI
8 providers
$2.00 / $10.00
cached $0.100
$0.780
Gemini 4 Neon
Google
61.5124tok/sPopNow
4 providers
$2.10 / $10.50
cached $0.105
$0.819
Gemini 4 Carbon
Google
60.185tok/sHiAPI
6 providers
$1.64 / $8.20
cached $0.090
$0.642
Claude Opus 5.5
Anthropic · 1.0M context
59.197tok/sCloudGPU
12 providers
$2.00 / $10.00
cached $0.100
$0.780
GPT-6.2 Sol
OpenAI
57.374tok/sHiAPI
9 providers
$0.500 / $2.50
cached $0.025
$0.195
GPT-6 Astra
OpenAI
56.971tok/sHiAPI
10 providers
$2.50 / $12.50
cached $0.250
$1.01
GPT-6.1 Sol
OpenAI
54.778tok/sHiAPI
10 providers
$0.500 / $2.50
cached $0.025
$0.195

Compare every model and provider on the LLM API pricing table.

How to choose an LLM for classification & moderation

Classification, routing, sentiment and moderation calls send a short instruction plus one item and get back a label. Output is a handful of tokens, so the input rate is effectively the price. These workloads run at millions of calls a day, which makes small per-token differences material.

There is no quality floor on this list: the right model is the cheapest one that reaches acceptable accuracy on your labelled samples, and small models often do. The instruction and label set repeat on every call, so the estimate assumes half the input is cached.

Latency also matters when classification sits in a request path, for example routing a user message before answering it. Compare time to first token where it is shown.

Related Reading

Frequently Asked Questions

Is an LLM the right tool for classification at all?

For a fixed label set with plenty of training data, a fine-tuned small classifier is usually cheaper and faster. LLMs are useful when labels change often, training data is scarce, or the categories need judgement that is hard to encode.

Why does this list include models with no intelligence score?

Because no quality floor applies here. Small models that benchmark providers have not scored can still classify well, and excluding them would hide some of the cheapest options.

How should I evaluate models for moderation?

Use a labelled sample that includes the borderline cases you care about, and measure false negatives and false positives separately. A model that is cheaper per call but needs a second pass on borderline items may cost more overall.

Related Use Cases

Self-Host Instead: GPU Use Cases