Cheapest LLM for AI agents

The cheapest model is only a bargain if it can do the job. Below we rank models by what a typical agent workload would cost per month, not just by the price per token, and explain how to test whether a cheap model is good enough.

Ranking for a typical agent

Workload: 500 tasks/day, 6 steps per task, 3,000 input tokens (half of them cached where the model supports caching) and 400 output tokens per step. Only models with at least a 128K-token context window and no open price warnings are included.

#ModelInput $/MOutput $/MPer month
1Nova Micro 1.0$0.035$0.14$14.49
2Command R7B (12-2024)$0.0375$0.15$15.52
3Nova Lite 1.0$0.06$0.24$24.84
4Llama 3.2 3B Instruct$0.05$0.33$25.38
5Ministral 3 8B 2512$0.15$0.15$27.67
6Claude Haiku 5.5$0.1$0.5$32.85
7GPT-6 Luna$0.1$0.5$32.85
8Ministral 3 14B 2512$0.2$0.2$36.90
9Llama 4 Scout$0.1$0.3$37.80
10Llama 3.3 70B Instruct$0.1$0.32$38.52
11Qwen3.8 Flash$0.15$0.47$39.33
12Qwen3.8 Omni Flash$0.15$0.47$39.33
13GLM 5.3 Flash$0.15$0.5$42.30
14Mistral Small 4$0.15$0.6$43.88
15GPT-4o-mini$0.15$0.6$51.98

The very cheapest entries are small models (1B–14B parameters). They are great for simple steps like sorting or extracting, but usually too weak to run a whole agent on their own.

Note on DeepSeek: its official prices change by time of day. We list the peak price; off-peak hours are half price (DeepSeek pricing).

Cheap is not always cheaper

A simple way to choose

  1. Pick 20 real tasks your agent handles.
  2. Run them on your current model and on 2–3 cheaper ones.
  3. Count how many each gets right and how many steps it needs.
  4. Put those step counts into the calculator to see the true monthly cost.

Many teams end up mixing models: a cheap model for easy steps and a stronger one only where needed. See How to reduce LLM token costs and side-by-side model comparisons.

Try it with your own numbers: the free AI agent cost calculator shows the monthly cost for 10 popular models in seconds.

Want a step-by-step method? The AI Agent Cost Playbook (29-page PDF + spreadsheet, $29 + tax) walks you through cutting your bill in one afternoon. Free sample.

Prices are list prices per million tokens from our pricing table (last refresh 2026-11-01); check providers before you commit. This guide was written with help from AI tools and checked by a human.