Alexey Shurov.
Free tool

Grok vs GPT API pricing, compared model by model

On 10 October 2026 the cheapest Grok model costs $1.00 per million input tokens against $0.018 for the cheapest GPT model, and the typical Grok model is the cheaper of the two.

Prices checked 10 October 2026 at 06.00 UTC . Source OpenRouter public model list . US dollars per million tokens

At a glance

Grok (xAI)GPT (OpenAI)
Models listed765
Cheapest modelGrok Build 0.1, $1.00 in, $2.00 outgpt-oss-20b, $0.018 in, $0.09 out
Most expensive modelGrok 4.7, $2.00 in, $6.00 outo1-pro, $150.00 in, $600.00 out
Median input price$1.25$2.00
Median output price$2.50$10.00
Largest context2M, Grok 4.20 Multi-Agent1.05M, GPT-6.1 Sol Pro
Newest modelGrok 4.7, 2026-09-21GPT-6.1 Sol Pro, 2026-09-29
Models with a batch price139

Every model, with your monthly cost

ModelProviderInputOutputCached inputBatch in / outContextYour monthListed
GPT-6.1 Sol ProOpenAI$2.00$10.00$0.10$1.00 / $5.001.05M$270.002026-09-29
GPT-6.1 SolOpenAI$2.00$10.00$0.10$1.00 / $5.001.05M$270.002026-09-29
GPT-6 Luna ProOpenAI$0.10$0.50$0.01$0.05 / $0.251.05M$13.502026-09-22
GPT-6 LunaOpenAI$0.10$0.50$0.01$0.05 / $0.251.05M$13.502026-09-22
GPT-6 Sol ProOpenAI$2.00$10.00$0.20$1.00 / $5.001.05M$270.002026-09-22
GPT-6 SolOpenAI$2.00$10.00$0.20$1.00 / $5.001.05M$270.002026-09-22
Grok 4.7xAI$2.00$6.00$0.50500K$210.002026-09-21
GPT-6 AstraOpenAI$10.00$50.00$1.00$5.00 / $25.001.05M$1,350.002026-09-04
GPT-6 Astra ProOpenAI$10.00$50.00$1.00$5.00 / $25.001.05M$1,350.002026-09-04
Grok 4.6xAI$2.00$6.00$0.50500K$210.002026-08-12
GPT-5.6 Luna ProOpenAI$0.20$1.20$0.02$0.10 / $0.601.05M$30.002026-07-09
GPT-5.6 LunaOpenAI$0.20$1.20$0.02$0.10 / $0.601.05M$30.002026-07-09
GPT-5.6 Terra ProOpenAI$2.00$12.00$0.20$1.00 / $6.001.05M$300.002026-07-09
GPT-5.6 TerraOpenAI$2.00$12.00$0.20$1.00 / $6.001.05M$300.002026-07-09
GPT-5.6 Sol Pro
promotional price, regular $4.00 in and $20.00 out
OpenAI$2.00$10.00$0.20$1.00 / $5.001.05M$270.002026-07-09
GPT-5.6 Sol
promotional price, regular $4.00 in and $20.00 out
OpenAI$2.00$10.00$0.20$1.00 / $5.001.05M$270.002026-07-09
Grok 4.5xAI$2.00$6.00$0.30500K$210.002026-07-08
Grok Build 0.1xAI$1.00$2.00$0.20256K$90.002026-05-20
GPT Chat LatestOpenAI$5.00$30.00$0.50400K$750.002026-05-05
Grok 4.3xAI$1.25$2.50$0.20$1.00 / $2.001M$112.502026-04-30
GPT-5.5 ProOpenAI$30.00$180.00$15.00 / $90.001.05M$4,500.002026-04-24
GPT-5.5OpenAI$5.00$30.00$0.50$2.50 / $15.001.05M$750.002026-04-24
GPT-5.4 Image 2OpenAI$8.00$15.00$2.00272K$705.002026-04-21
Grok 4.20 Multi-AgentxAI$1.25$2.50$0.202M$112.502026-03-31
Grok 4.20xAI$1.25$2.50$0.202M$112.502026-03-31
GPT-5.4 NanoOpenAI$0.20$1.25$0.02$0.10 / $0.625400K$30.752026-03-17
GPT-5.4 MiniOpenAI$0.75$4.50$0.075$0.375 / $2.25400K$112.502026-03-17
GPT-5.4 ProOpenAI$30.00$180.00$15.00 / $90.001.05M$4,500.002026-03-05
GPT-5.4OpenAI$2.50$15.00$0.25$1.25 / $7.501.05M$375.002026-03-05
GPT-5.3-CodexOpenAI$1.75$14.00$0.175400K$315.002026-02-24
GPT AudioOpenAI$2.50$10.00128K$300.002026-01-19
GPT Audio MiniOpenAI$0.60$2.40128K$72.002026-01-19
GPT-5.2-Codex
served by Azure
OpenAI$1.75$14.00$0.175400K$315.002026-01-14
GPT-5.2 Chat
served by Azure
OpenAI$1.75$14.00$0.175128K$315.002025-12-10
GPT-5.2 ProOpenAI$21.00$168.00$10.50 / $84.00400K$3,780.002025-12-10
GPT-5.2OpenAI$1.75$14.00$0.175$0.875 / $7.00400K$315.002025-12-10
GPT-5.1-Codex-Max
served by Azure
OpenAI$1.25$10.00$0.125400K$225.002025-12-04
GPT-5.1OpenAI$1.25$10.00$0.125$0.625 / $5.00400K$225.002025-11-13
GPT-5.1-Codex
served by Azure
OpenAI$1.25$10.00$0.13400K$225.002025-11-13
GPT-5.1-Codex-Mini
served by Azure
OpenAI$0.25$2.00$0.03400K$45.002025-11-13
gpt-oss-safeguard-20b
served by Groq
OpenAI$0.075$0.30$0.0375131K$9.002025-10-29
GPT-5 Image MiniOpenAI$2.50$2.00$0.25400K$180.002025-10-16
GPT-5 ImageOpenAI$10.00$10.00$1.25400K$750.002025-10-14
GPT-5 ProOpenAI$15.00$120.00$7.50 / $60.00400K$2,700.002025-10-06
GPT-5OpenAI$1.25$10.00$0.125$0.625 / $5.00400K$225.002025-08-07
GPT-5 MiniOpenAI$0.25$2.00$0.025$0.125 / $1.00400K$45.002025-08-07
GPT-5 NanoOpenAI$0.05$0.40$0.005$0.025 / $0.20400K$9.002025-08-07
gpt-oss-120b
Venice, cheapest of 21 hosts
OpenAI$0.03$0.15$0.03$0.0296 / $0.136131K$4.052025-08-05
gpt-oss-20b
Darkbloom, cheapest of 10 hosts
OpenAI$0.018$0.09$0.009$0.024 / $0.112131K$2.432025-08-05
o3 ProOpenAI$20.00$80.00200K$2,400.002025-06-10
o4 Mini HighOpenAI$1.10$4.40$0.275200K$132.002025-04-16
o3OpenAI$2.00$8.00$0.50$1.00 / $4.00200K$240.002025-04-16
o4 MiniOpenAI$1.10$4.40$0.275$0.55 / $2.20200K$132.002025-04-16
GPT-4.1OpenAI$2.00$8.00$0.50$1.00 / $4.001.05M$240.002025-04-14
GPT-4.1 MiniOpenAI$0.40$1.60$0.10$0.20 / $0.801.05M$48.002025-04-14
GPT-4.1 NanoOpenAI$0.10$0.40$0.025$0.05 / $0.201.05M$12.002025-04-14
o1-proOpenAI$150.00$600.00200K$18,000.002025-03-19
o3 Mini HighOpenAI$1.10$4.40$0.55200K$132.002025-02-12
o3 MiniOpenAI$1.10$4.40$0.55$0.55 / $2.20200K$132.002025-01-31
o1OpenAI$15.00$60.00$7.50200K$1,800.002024-12-17
GPT-4o (2024-11-20)OpenAI$2.50$10.00$1.25128K$300.002024-11-20
GPT-4o (2024-08-06)OpenAI$2.50$10.00$1.25128K$300.002024-08-06
GPT-4o-miniOpenAI$0.15$0.60$0.075$0.075 / $0.30128K$18.002024-07-18
GPT-4o-mini (2024-07-18)OpenAI$0.15$0.60$0.075128K$18.002024-07-18
GPT-4oOpenAI$2.50$10.00$1.25$1.25 / $5.00128K$300.002024-05-13
GPT-4o (2024-05-13)OpenAI$5.00$15.00128K$525.002024-05-13
GPT-4 TurboOpenAI$10.00$30.00$5.00 / $15.00128K$1,050.002024-04-09
GPT-3.5 Turbo (older v0613)
served by Azure
OpenAI$1.00$2.004K$90.002024-01-25
GPT-3.5 Turbo InstructOpenAI$1.50$2.004K$120.002023-09-28
GPT-3.5 Turbo 16kOpenAI$3.00$4.0016K$240.002023-08-28
GPT-3.5 TurboOpenAI$0.50$1.50$0.25 / $0.7516K$52.502023-05-28
GPT-4OpenAI$30.00$60.008K$2,700.002023-05-28

All Grok prices . All GPT prices . Every provider

Common questions

Is Grok cheaper than GPT?

On 10 October 2026, the median Grok model on this list costs $1.25 per million input tokens and $2.50 per million output tokens, against $2.00 and $10.00 for GPT. By that measure Grok is cheaper, but compare the specific models you would use, since both providers sell models at very different price points.

What is the cheapest Grok model compared with the cheapest GPT model?

The cheapest Grok model is Grok Build 0.1 at $1.00 in and $2.00 out per million tokens. The cheapest GPT model is gpt-oss-20b at $0.018 in and $0.09 out.

Which has the larger context window, Grok or GPT?

The largest Grok context on this list is 2M tokens (Grok 4.20 Multi-Agent) and the largest GPT context is 1.05M tokens (GPT-6.1 Sol Pro).

How should I choose between Grok and GPT for a production agent?

Price per token is one input. Run both on a set of your own real cases, count how often each needs a retry or a human check, and compare the total cost of a correct answer rather than the cost of a token.

Choosing a model for a production agent

Price is one input. Quality on your own cases, latency and the cost of retries decide the rest. Tell me what you are building.

shurco.aiGuidesFree toolsSolutionsInsightsRSSllms.txt