Home / Pricing / Cheapest

Cheapest LLM API

Models ranked by input rate per 1M tokens, then by an example request of 1000 input tokens and 500 output tokens. The 10k requests column is that example times 10,000 calls. Open a row to price your own prompt.

135 models · rates checked . Price rank only, not a quality score.

Cheapest LLM API: ranked rates

#ModelProviderContextInput / 1MOutput / 1MExample10k requests
1Gemini 1.5 Flash-8BGoogle1M$0.037/1M$0.150/1M$0.000112$1.12Cost
2Command R7BCohere128K$0.037/1M$0.150/1M$0.000112$1.12Cost
3Llama 3.2 1B (Groq)Groq128K$0.040/1M$0.040/1M$0.00006$0.6Cost
4Llama 3.1 8B Instant (Groq)Groq128K$0.050/1M$0.080/1M$0.00009$0.9Cost
5GPT-5 NanoOpenAI128K$0.050/1M$0.400/1M$0.00025$2.5Cost
6Llama 3.2 3B (Groq)Groq128K$0.060/1M$0.060/1M$0.00009$0.9Cost
7Llama 3.2 3B (Together)Together AI128K$0.060/1M$0.060/1M$0.00009$0.9Cost
8Gemma 7B (Groq)Groq8K$0.070/1M$0.070/1M$0.000105$1.05Cost
9Gemini 1.5 FlashGoogle1M$0.075/1M$0.300/1M$0.000225$2.25Cost
10Gemini 2.0 Flash-LiteGoogle1M$0.075/1M$0.300/1M$0.000225$2.25Cost
11Llama 3.2 3B (Fireworks)Fireworks128K$0.100/1M$0.100/1M$0.00015$1.5Cost
12GPT-4.1 NanoOpenAI1M$0.100/1M$0.400/1M$0.0003$3.00Cost
13Gemini 2.0 FlashGoogle1M$0.100/1M$0.400/1M$0.0003$3.00Cost
14Gemini 2.5 Flash-LiteGoogle1M$0.100/1M$0.400/1M$0.0003$3.00Cost
15GPT-6 LunaOpenAI1.1M$0.100/1M$0.500/1M$0.00035$3.5Cost
16Claude Haiku 5.5Anthropic1M$0.100/1M$0.500/1M$0.00035$3.5Cost
17Llama 4 Scout (Groq)Groq128K$0.110/1M$0.340/1M$0.00028$2.8Cost
18DeepSeek CoderDeepSeek128K$0.140/1M$0.280/1M$0.00028$2.8Cost
19DeepSeek VLDeepSeek4K$0.140/1M$0.280/1M$0.00028$2.8Cost
20Ministral 8BMistral128K$0.150/1M$0.150/1M$0.000225$2.25Cost
21Mistral NemoMistral128K$0.150/1M$0.150/1M$0.000225$2.25Cost
22Pixtral 12BMistral128K$0.150/1M$0.150/1M$0.000225$2.25Cost
23GPT-4o miniOpenAI128K$0.150/1M$0.600/1M$0.00045$4.5Cost
24Mistral SmallMistral128K$0.150/1M$0.600/1M$0.00045$4.5Cost
25Command RCohere128K$0.150/1M$0.600/1M$0.00045$4.5Cost
26Command R (08-2024)Cohere128K$0.150/1M$0.600/1M$0.00045$4.5Cost
27Llama 3.2 11B Vision (Groq)Groq128K$0.180/1M$0.180/1M$0.00027$2.7Cost
28Llama 3.1 8B (Together)Together AI128K$0.180/1M$0.180/1M$0.00027$2.7Cost
29Gemma 2 9B (Groq)Groq8K$0.200/1M$0.200/1M$0.0003$3.00Cost
30Llama Guard 3 8B (Groq)Groq8K$0.200/1M$0.200/1M$0.0003$3.00Cost
31Mistral 7B (Together)Together AI33K$0.200/1M$0.200/1M$0.0003$3.00Cost
32Llama 3.1 8B (Fireworks)Fireworks128K$0.200/1M$0.200/1M$0.0003$3.00Cost
33MythoMax L2 13B (Fireworks)Fireworks4K$0.200/1M$0.200/1M$0.0003$3.00Cost
34Gemma 3 27BGoogle128K$0.200/1M$0.400/1M$0.0004$4.00Cost
35Grok 2 MinixAI131K$0.200/1M$0.500/1M$0.00045$4.5Cost
36Mistral SabaMistral33K$0.200/1M$0.600/1M$0.0005$5.00Cost
37GPT-5.6 LunaOpenAI1.1M$0.200/1M$1.20/1M$0.0008$8.00Cost
38Llama 4 Maverick (Fireworks)Fireworks1M$0.220/1M$0.880/1M$0.00066$6.6Cost
39Mixtral 8x7B (Groq)Groq33K$0.240/1M$0.240/1M$0.00036$3.6Cost
40Mistral TinyMistral33K$0.250/1M$0.250/1M$0.000375$3.75Cost
41Claude 3 HaikuAnthropic200K$0.250/1M$1.25/1M$0.000875$8.75Cost
42Gemini 3.1 Flash-LiteGoogle1M$0.250/1M$1.50/1M$0.001$10.00Cost
43GPT-5 MiniOpenAI128K$0.250/1M$2.00/1M$0.00125$12.5Cost
44Llama 4 Maverick (Together)Together AI1M$0.270/1M$0.850/1M$0.000695$6.95Cost
45DeepSeek V3DeepSeek128K$0.270/1M$1.10/1M$0.00082$8.2Cost
46DeepSeek ChatDeepSeek128K$0.280/1M$0.420/1M$0.00049$4.9Cost
47QwQ 32B (Groq)Groq128K$0.290/1M$0.390/1M$0.000485$4.85Cost
48Qwen3 32B (Groq)Groq131K$0.290/1M$0.590/1M$0.000585$5.85Cost
49Qwen2.5 7B (Together)Together AI33K$0.300/1M$0.300/1M$0.00045$4.5Cost
50Grok 3 MinixAI131K$0.300/1M$0.500/1M$0.00055$5.5Cost
51DeepSeek R1 Distill Qwen 32BDeepSeek128K$0.300/1M$0.600/1M$0.0006$6.00Cost
52Command LightCohere4K$0.300/1M$0.600/1M$0.0006$6.00Cost
53CodestralMistral256K$0.300/1M$0.900/1M$0.00075$7.5Cost
54DeepSeek V4 FlashDeepSeek1M$0.300/1M$1.20/1M$0.0009$9.00Cost
55Gemini 2.5 FlashGoogle1M$0.300/1M$2.50/1M$0.00155$15.5Cost
56GPT-4.1 MiniOpenAI1M$0.400/1M$1.60/1M$0.0012$12.00Cost
57GPT-3.5 TurboOpenAI16K$0.500/1M$1.50/1M$0.00125$12.5Cost
58Gemini 1.0 ProGoogle33K$0.500/1M$1.50/1M$0.00125$12.5Cost
59Mistral Large 3Mistral128K$0.500/1M$1.50/1M$0.00125$12.5Cost
60Gemini 3 FlashGoogle1M$0.500/1M$3.00/1M$0.002$20.00Cost
61DeepSeek R1DeepSeek128K$0.550/1M$2.19/1M$0.001645$16.45Cost
62DeepSeek ReasonerDeepSeek128K$0.550/1M$2.19/1M$0.001645$16.45Cost
63Llama 3.3 70B (Groq)Groq128K$0.590/1M$0.790/1M$0.000985$9.85Cost
64Llama 3.3 70B SpecDec (Groq)Groq8K$0.590/1M$0.990/1M$0.001085$10.85Cost
65Open Mixtral 8x7BMistral33K$0.700/1M$0.700/1M$0.00105$10.5Cost
66DeepSeek R1 Distill Llama 70B (Groq)Groq128K$0.750/1M$0.990/1M$0.001245$12.45Cost
67Gemini 3.8 FlashGoogle1.0M$0.750/1M$3.75/1M$0.002625$26.25Cost
68Qwen2.5 Coder 32B (Together)Together AI33K$0.800/1M$0.800/1M$0.0012$12.00Cost
69Claude 3.5 HaikuAnthropic200K$0.800/1M$4.00/1M$0.0028$28.00Cost
70Llama 3.1 70B (Together)Together AI128K$0.880/1M$0.880/1M$0.00132$13.2Cost
71Llama 3.3 70B (Together)Together AI128K$0.880/1M$0.880/1M$0.00132$13.2Cost
72DeepSeek R1 (Fireworks)Fireworks128K$0.900/1M$0.900/1M$0.00135$13.5Cost
73DeepSeek V3 (Fireworks)Fireworks128K$0.900/1M$0.900/1M$0.00135$13.5Cost
74Llama 3.1 70B (Fireworks)Fireworks128K$0.900/1M$0.900/1M$0.00135$13.5Cost
75Llama 3.3 70B (Fireworks)Fireworks128K$0.900/1M$0.900/1M$0.00135$13.5Cost
76Mixtral 8x22B (Fireworks)Fireworks66K$0.900/1M$0.900/1M$0.00135$13.5Cost
77Qwen2.5 32B (Fireworks)Fireworks33K$0.900/1M$0.900/1M$0.00135$13.5Cost
78Qwen2.5 72B (Fireworks)Fireworks33K$0.900/1M$0.900/1M$0.00135$13.5Cost
79Command NightlyCohere128K$1.00/1M$2.00/1M$0.002$20.00Cost
80Claude Haiku 4.5Anthropic200K$1.00/1M$5.00/1M$0.0035$35.00Cost
81o1-miniOpenAI128K$1.10/1M$4.40/1M$0.0033$33.00Cost
82o3-miniOpenAI200K$1.10/1M$4.40/1M$0.0033$33.00Cost
83o4-miniOpenAI200K$1.10/1M$4.40/1M$0.0033$33.00Cost
84Mixtral 8x22B (Together)Together AI66K$1.20/1M$1.20/1M$0.0018$18.00Cost
85Qwen2.5 72B (Together)Together AI33K$1.20/1M$1.20/1M$0.0018$18.00Cost
86DeepSeek V3 (Together)Together AI128K$1.25/1M$1.25/1M$0.001875$18.75Cost
87Grok 3xAI131K$1.25/1M$2.50/1M$0.0025$25.00Cost
88Grok 4xAI256K$1.25/1M$2.50/1M$0.0025$25.00Cost
89Grok 4 FastxAI256K$1.25/1M$2.50/1M$0.0025$25.00Cost
90Gemini 1.5 ProGoogle2M$1.25/1M$5.00/1M$0.00375$37.5Cost
91Gemini 2.0 Pro ExpGoogle2M$1.25/1M$5.00/1M$0.00375$37.5Cost
92GPT-5OpenAI400K$1.25/1M$10.00/1M$0.00625$62.5Cost
93Gemini 2.5 ProGoogle1M$1.25/1M$10.00/1M$0.00625$62.5Cost
94DeepSeek V4 ProDeepSeek1M$1.32/1M$3.96/1M$0.0033$33.00Cost
95Mistral Medium 3Mistral128K$1.50/1M$7.50/1M$0.00525$52.5Cost
96Grok 4.7xAI500K$2.00/1M$6.00/1M$0.005$50.00Cost
97Grok 4.6xAI500K$2.00/1M$6.00/1M$0.005$50.00Cost
98Mistral Large (2407)Mistral128K$2.00/1M$6.00/1M$0.005$50.00Cost
99Open Mixtral 8x22BMistral66K$2.00/1M$6.00/1M$0.005$50.00Cost
100GPT-4.1OpenAI1M$2.00/1M$8.00/1M$0.006$60.00Cost
101GPT-4.1 (2025-04-14)OpenAI1M$2.00/1M$8.00/1M$0.006$60.00Cost
102o3OpenAI200K$2.00/1M$8.00/1M$0.006$60.00Cost
103GPT-6.1 SolOpenAI1.1M$2.00/1M$10.00/1M$0.007$70.00Cost
104Claude Sonnet 5.5Anthropic1M$2.00/1M$10.00/1M$0.007$70.00Cost
105Claude Sonnet 5Anthropic1M$2.00/1M$10.00/1M$0.007$70.00Cost
106Gemini 4 ArgonGoogle1.0M$2.00/1M$10.00/1M$0.007$70.00Cost
107Grok 2xAI131K$2.00/1M$10.00/1M$0.007$70.00Cost
108Grok 2 VisionxAI33K$2.00/1M$10.00/1M$0.007$70.00Cost
109GPT-5.6 TerraOpenAI1.1M$2.00/1M$12.00/1M$0.008$80.00Cost
110Gemini 3.1 ProGoogle1M$2.00/1M$12.00/1M$0.008$80.00Cost
111GPT-4oOpenAI128K$2.50/1M$10.00/1M$0.0075$75.00Cost
112GPT-4o (2024-08-06)OpenAI128K$2.50/1M$10.00/1M$0.0075$75.00Cost
113Command ACohere256K$2.50/1M$10.00/1M$0.0075$75.00Cost
114Command R+Cohere128K$2.50/1M$10.00/1M$0.0075$75.00Cost
115Command R+ (08-2024)Cohere128K$2.50/1M$10.00/1M$0.0075$75.00Cost
116DeepSeek R1 (Together)Together AI128K$3.00/1M$7.00/1M$0.0065$65.00Cost
117Claude 3.5 SonnetAnthropic200K$3.00/1M$15.00/1M$0.0105$105.00Cost
118Claude 3 SonnetAnthropic200K$3.00/1M$15.00/1M$0.0105$105.00Cost
119Claude Sonnet 4.6Anthropic1M$3.00/1M$15.00/1M$0.0105$105.00Cost
120GPT-5.6 SolOpenAI1.1M$4.00/1M$20.00/1M$0.014$140.00Cost
121Claude Opus 5.5Anthropic1M$4.00/1M$20.00/1M$0.014$140.00Cost
122ChatGPT-4o LatestOpenAI128K$5.00/1M$15.00/1M$0.0125$125.00Cost
123Grok BetaxAI131K$5.00/1M$15.00/1M$0.0125$125.00Cost
124Grok Vision BetaxAI8K$5.00/1M$15.00/1M$0.0125$125.00Cost
125Claude Opus 5Anthropic1M$5.00/1M$25.00/1M$0.0175$175.00Cost
126Claude Opus 4.6Anthropic1M$5.00/1M$25.00/1M$0.0175$175.00Cost
127Claude Opus 4.8Anthropic1M$5.00/1M$25.00/1M$0.0175$175.00Cost
128Claude 2.1Anthropic200K$8.00/1M$24.00/1M$0.02$200.00Cost
129GPT-4 TurboOpenAI128K$10.00/1M$30.00/1M$0.025$250.00Cost
130GPT-6 AstraOpenAI1.1M$10.00/1M$50.00/1M$0.035$350.00Cost
131Claude Fable 5.1Anthropic1M$10.00/1M$50.00/1M$0.035$350.00Cost
132o1OpenAI200K$15.00/1M$60.00/1M$0.045$450.00Cost
133o1-previewOpenAI128K$15.00/1M$60.00/1M$0.045$450.00Cost
134Claude 3 OpusAnthropic200K$15.00/1M$75.00/1M$0.0525$525.00Cost
135GPT-4OpenAI8K$30.00/1M$60.00/1M$0.06$600.00Cost

More Cheapest LLM API tools

LLM cost calculator · Compare model prices · Cache savings · Batch pricing

Related guides

How LLM API pricing works · Prompt caching explained · Exact vs Approx

Sources and references

Official documentation used for definitions, counting methods, or rate cards. Always confirm critical budgets on the provider page.

Pricing rank FAQ

How is cheapest ranked?
We sort by published input rate per 1M tokens. Ties break on the example request (1000 input and 500 output). This is a price rank, not a quality score.
What is the example cost?
One request using 1000 input tokens and 500 output tokens at published standard rates, with no cache hit and no batch discount.
Are these live API prices?
No. Rates are curated from official provider pages and stamped with a checked date. Confirm critical budgets on the provider’s pricing page.