Cheapest AI Models (API Price per Token) 2026

API price decides whether an AI feature is affordable at scale. This ranking orders models by a blended price per million tokens, so you can see which ones are cheapest to run and what you give up in quality for the savings.

101 models ranked /Data verified /Reviewed by Aakash Yadav

Cheapest AI Models (API Price per Token)
#ModelScore
01Alibaba$0.03 in / $0.13 out
100
02Tencent$0.07 in / $0.281 out
86
03Thinking Machines$0.075 in / $0.30 out
85
04StepFun$0.09 in / $0.30 out
84
05Xiaomi$0.14 in / $0.28 out
80
06=Anthropic$0.10 in / $0.50 out
78
06=OpenAI$0.10 in / $0.50 out
78
06=Meta$0.10 in / $0.50 out
78
06=Subquadratic$0.10 in / $0.50 out
78
10Alibaba$0.15 in / $0.47 out
76
11=Zhipu / Z.ai$0.15 in / $0.50 out
75
11=Alibaba$0.16 in / $0.47 out
75
13Tencent$0.14 in / $0.58 out
74
14MiniMax$0.15 in / $0.60 out
73
15NVIDIA$0.20 in / $0.50 out
73
16Ornith$0.16 in / $0.64 out
72
17StepFun$0.20 in / $1.15 out
65
18=OpenAI$0.20 in / $1.20 out
64
18=inclusionAI (Ant Group)$0.30 in / $0.90 out
64
20Thinking Machines$0.30 in / $1.00 out
63

How we score this

We blend input and output prices at a 3:1 ratio, a typical mix for chat and agent workloads, and score models on a log scale so a model ten times cheaper scores meaningfully higher. Open-weights and closed models are ranked together. Where the maker sells no API of its own, or its price page could not be read, we use a reseller’s listed rate (Alibaba Cloud, or Command Code’s model list) and say so on the model page. Open-weights models can also be self-hosted, which can cost less at high volume but depends on your hardware.

Frequently asked questions

What is the cheapest AI model to use through an API?

The top row of this ranking has the lowest blended price per million tokens among the models we track. Check its quality scores too: the cheapest model is not always the best value.

Are open-source models included in the price ranking?

Yes. Open-weights models such as DeepSeek, Qwen, Kimi, GLM, MiniMax and Mistral are ranked by their hosted API price alongside closed models. You can also self-host them, which can be cheaper at scale, but that cost depends on your own hardware.

What does “blended price” mean?

It is a single number that combines input and output token prices, weighted 3 parts input to 1 part output, so models can be compared on one scale.

Want the right model built into your product?

Codestruk’s AI developers pick, integrate and tune the model that fits your use case and budget, from prototypes to production.

CHATCALL