Task shortlist
Cheapest AI models for classification
Classification usually sends one short document and returns one label, a short JSON object or a confidence score. Input price dominates at volume, while model quality decides how often a human has to correct the result. This list filters for paid models with at least 32K context and a basic capability floor, then sorts by input price.
- Models in shortlist
- 10
- Lowest task-weighted price
- $0.040
- Lowest input price
- $0.030
- Highest capability
- 36.5
The short answer
The first row is DeepSeek DeepSeek V4.1 Flash 1017, at $0.047 per million task-weighted tokens and a value score of 693.6. The strongest model in the filtered list is Anthropic Claude Haiku 5.5 with a capability index of 36.5. Price and capability are not the same thing; use the table to choose a shortlist, then test it on your own examples.
Models ranked for this task
Task-weighted price uses 90% input and 10% output. The last column is a fixed reference workload of 1M input plus 250K output tokens per month, shown for comparison across pages.
| Model | Input / 1M | Output / 1M | Context | Capability | Task-weighted price | 1M + 250K monthly |
|---|---|---|---|---|---|---|
| DeepSeek V4.1 Flash 1017DeepSeek | $0.030 | $0.200 | 1.0M | 32.6value 693.6 | $0.047 | $0.080 |
| Qwen3.8 27BAlibaba Qwen | $0.035 | $1.50 | 1.0M | 20.1value 110.7 | $0.181 | $0.410 |
| GLM 5.3 FlashZ.ai | $0.036 | $0.082 | 1.0M | 27.8value 691.7 | $0.040 | $0.056 |
| GLM 5.3Z.ai | $0.070 | $1.40 | 1.0M | 31.7value 156.2 | $0.203 | $0.420 |
| Ling 3.1 FlashInclusion AI | $0.075 | $0.225 | 1.0M | 29.6value 328.9 | $0.090 | $0.131 |
| Muse EmberMeta | $0.100 | $0.500 | 1.0M | 36value 257.1 | $0.140 | $0.225 |
| Claude Haiku 5.5Anthropic | $0.100 | $0.500 | 1M | 36.5value 260.7 | $0.140 | $0.225 |
| DeepSeek V4 Pro 0813DeepSeek | $0.111 | $4.44 | 1.0M | 23.1value 42.5 | $0.544 | $1.22 |
| MiMo-V2.6-FlashXiaomi | $0.140 | $0.280 | 1.0M | 26.7value 173.4 | $0.154 | $0.210 |
| Qwen3.8 FlashAlibaba Qwen | $0.150 | $0.470 | 1M | 28.6value 157.1 | $0.182 | $0.268 |
What matters for this task
- A label is short, so output price has less influence than input price.
- Dataset size matters: a model that costs a fraction of a cent per call can still be expensive at millions of records.
- Consistent labels need a fixed taxonomy and a small number of examples.
- Low-confidence cases should go to review rather than being forced into a label.
What the table does not tell you
- The dataset has no task-specific classification accuracy score.
- A cheaper model may need more examples or a stronger validation loop.
- Multilingual and domain-specific labels need their own evaluation set.
Other task shortlists
Questions
What is the cheapest model for classification?
The table sorts paid models with at least 32K context by input price, with a small capability floor. Validate the leading candidates on a labeled sample before processing the full dataset.
Should I use a large model for classification?
Usually not for simple routing or tagging. Use a small, cheap model first and reserve a larger model for ambiguous cases or a second-pass review.
How many examples do I need?
Start with a representative evaluation set that covers every label and the edge cases you care about. The number of prompt examples is separate from the number used to measure accuracy.
Prices come from the public model feed and are shown as a recorded snapshot. Confirm the current rate and usage terms on the vendor page before committing to a large workload.