MCP serversx402 APIsAI dev toolsFree APIsSearchGuidesSubmit a toolGet listed / Advertise
Home › Guides › Cheapest LLM APIs per 1M tokens (Oct 2026): 20 models compared, plus free tiers

Cheapest LLM APIs per 1M tokens (Oct 2026): 20 models compared, plus free tiers

Published 2026-10-18

All prices below are standard list prices in USD per 1 million tokens. I checked them by hand on each provider's official pricing page on 2026-10-17 (OpenAI, Anthropic, Google, xAI, DeepSeek). Providers change prices often, so confirm on the linked pricing page before you commit real spend.

To compare models with one number, I use a "1M+1M job": the cost of 1M input tokens plus 1M output tokens. The list is sorted from cheapest to most expensive.

The 20 models, cheapest first

What the numbers say

Free tiers worth knowing

Several Google Gemini models in the list above have a free tier on the Gemini API. These AI API free tiers are described on each provider's own page (checked 17 Oct 2026; limits change, so follow the source link):

Get the cheat sheet and the data


Disclosure: I wrote this with help from AI tools and checked every number against our own data files, which link each provider page. The PDF, the API and the directory are my own products; the API and the dataset are paid.