Cheapest AI coding model API · prices checked Nov 27, 2026

Cheapest AI coding model API

Your coding agent runs all day, and the token bill grows with every file it reads. Here is the cheapest per-token coding model API we track, plus alternatives, with prices from each vendor's own page and the date we checked.

Free: the 5-Minute AI Stack Kit. Every job, real prices, checked on vendor pages every weekday.Send me the kit

The pick

Reflection Beam

Reflection Beam is a 501B open-weight model (23B active, Apache 2.0) built for coding and agents, and its hosted price is the lowest per token of the coding models we track: Free weights; Ollama Cloud $0.125/$0.40 per 1M tokens, checked Nov 27, 2026. Free option: Yes (HF weights; Reflection API beta free to start); Ollama Cloud free period ended Nov 9.

Per-token price is only half the bill. A model that needs more turns or longer answers to finish a task can cost more overall, so run 20 real tasks from your own repo and compare the total cost per finished task, not the price sheet.

Official site: https://reflection.ai.

Free: Yes (HF weights; Reflection API beta free to start); Ollama Cloud free period ended Nov 9 Free weights; Ollama Cloud $0.125/$0.40 per 1M tokens Checked

Alternatives

Alternative

MiniMax Code

If you want one plan key that works inside Claude Code, Cursor and OpenCode, or a flat monthly plan instead of pay per token. Plans: $22/mo M Plan Go ($220/yr); API $0.15/$0.60 per 1M tokens. Checked Nov 25, 2026. Free tier: M Plan Free tier: M3.1 Flash limited.

$22/mo M Plan Go ($220/yr); API $0.15/$0.60 per 1M tokensChecked

Alternative

Particle-1

If your agent burns tokens on long tasks: Particle-1 is post-trained to finish coding work with fewer tokens, on an OpenAI-compatible API. Price: $0.25 input / $1 output per 1M tokens ($0.03 cached input). Checked Nov 24, 2026.

$0.25 input / $1 output per 1M tokens ($0.03 cached input)Checked

When to pick something else

Lowest price per token? Reflection Beam. Want a plan that plugs into Claude Code or Cursor? MiniMax Code. Paying for long agent runs? Test Particle-1 on cost per finished task.

30-second quiz: Not sure which one fits you? Answer 3 questions and get the free pick, the paid pick worth it, and one to skip for this job.Find your AI stack

See also

Questions

What is the cheapest AI model API for coding?

Of the coding models we track, Reflection Beam on Ollama Cloud has the lowest listed per-token price: Free weights; Ollama Cloud $0.125/$0.40 per 1M tokens, checked Nov 27, 2026.

Is a cheaper model always cheaper to run?

No. Count the cost per finished task. A model that takes more turns, or writes longer answers, can cost more even at a lower token price.

Can I run these models myself?

Reflection Beam has open weights under Apache 2.0, but at 501B parameters it needs serious GPU hardware. For most people the hosted API is the practical way to use it.

How we check: every price and free tier on this page comes from the vendor's own pricing page, with the date we checked it. If we can't verify something, we say so. Found a wrong price? Email info@usethissi.com and we fix it within 24 hours.

Get the free 5-Minute AI Stack Kit

Subscribe and we'll email you the kit: the best AI tool for each job with real prices and free-tier limits, the $0 Stack, 4 starter stacks under $50/mo, and a Skip List. Plus a 5-minute weekday brief on what launched, what changed, and what to try today. Free, one-click unsubscribe.

Get the free brief

Form not loading? Subscribe on beehiiv.