Updated 2026-11
Cheapest LLM API for agents
Prices checked 2026-11-29. Next refresh 2026-12. Rank means the lowest published list price or fee on a stated metric. It does not mean highest quality. Read pricing for the $20 plan, or scan a repo.
Model
Llama 3.1 8B Instant on Groq is the lowest reference-month list price at $1.16. Quality is not scored.
API provider
DeepSeek Flash is cheaper on DeepSeek's own off-peak rate than on the peak, Together, or Fireworks rates we read. At peak, those three list the same $0.30 / $1.20. GPT-OSS 120B is a tie on uncached price between Groq and Fireworks at $0.15 / $0.60. Groq also prints 500 tokens per second for that model.
Harness or framework
Not ranked this month. No shared published benchmark was loaded.
Database or memory
Tie at a $0 published software minimum: pgvector (no per-query price on the project; Postgres hosting is extra and not priced here) and Pinecone Starter (caps apply). Pinecone Standard's published minimum is $50.
Connectivity or tooling
MCP and client-side tools. The MCP spec we read publishes no call fee. Hosted web search is $10 per 1,000 on the OpenAI page and $10 per 1,000 on the Anthropic page, plus tokens.