softwareestimator.com

GPT-5.1 API pricing

OpenAI · openai/gpt-5.1 · synced November 22, 2026

Over six months old. OpenAI's newest model is GPT-6.2 Astra Pro.

GPT-5.1 costs $1.25 per million input tokens and $10 per million output tokens, with cached input at $0.125 and a batch tier at $0.625/$5 (November 2026). For a developer using it as a daily coding agent, that works out to roughly $11–$361 a month, and building a SaaS MVP with it lands around $27–$903 in tokens.

Input
$1.25 / 1M
Output
$10 / 1M
Cache read
$0.125 / 1M
Batch
$0.625 / $5
Context
400k tokens
Max output
128k tokens
Released
Nov 2025
Tools / reasoning
tools · reasoning

What it costs in practice

A month of AI coding

One developer running a coding agent daily, 20M–200M tokens.

Low
$11
20M tokens
Expected
$56
60M tokens
High
$361
200M tokens

Building a SaaS MVP

Stripe billing, OAuth, webhooks: the estimator's SaaS preset.

Low
$27
50M tokens
Expected
$141
150M tokens
High
$903
500M tokens

Assumptions are on the methodology page. Price your own project →

Similar cost, other providers

Model Provider Input /1M Output /1M Cache read Context Coding month* Released
GLM 5.3 Prime Z.ai $1.68 $5.28 $0.336 1M $12–$304 Sep 2026
Kimi K3 Moonshot AI $0.192 $16 $0.182 1M $13–$417 Jul 2026
Gemini 4 Hydrogen Google $1.50 $7.50 $0.075 1M $9–$319 Nov 2026
Qwen3.8 Max (0902) Qwen $2 $6 $0.25 1M $12–$342 Sep 2026
Qwen3.8 2.4T A95B Qwen $2 $6 $0.25 1M $12–$342 Aug 2026
Qwen3.7 Max Qwen $1.48 $4.42 $0.295 1M $11–$262 May 2026

Other OpenAI models

Model Input /1M Output /1M Cache read Context Coding month* Released
GPT-6.2 Astra Pro $8 $40 $0.40 1.1M $47–$1,699 Nov 2026
GPT-6.2 Astra $8 $40 $0.40 1.1M $47–$1,699 Nov 2026
GPT-6.2 Sol Pro $2 $10 $0.10 1.1M $12–$425 Nov 2026
GPT-6.2 Sol $2 $10 $0.10 1.1M $12–$425 Nov 2026
GPT-6.1 Terra Pro $1 $5 $0.05 1.1M $6–$212 Oct 2026
GPT-6.1 Terra $1 $5 $0.05 1.1M $6–$212 Oct 2026
GPT-6.1 Sol Pro $2 $10 $0.10 1.1M $12–$425 Sep 2026
GPT-6.1 Sol $2 $10 $0.10 1.1M $12–$425 Sep 2026

Frequently asked questions

How much does GPT-5.1 cost?

GPT-5.1 costs $1.25 per million input tokens and $10 per million output tokens, with cached input at $0.125 and a batch tier at $0.625/$5 (November 2026). For a developer using it as a daily coding agent, that works out to roughly $11–$361 a month, and building a SaaS MVP with it lands around $27–$903 in tokens.

Is GPT-5.1 cheaper than similar models?

The closest models by real coding cost are GLM 5.3 Prime (Z.ai, $1.68/$5.28), Kimi K3 (Moonshot AI, $0.192/$16), Gemini 4 Hydrogen (Google, $1.50/$7.50). Per-token price is only half the story: a model that needs fewer retries can cost less overall.

Why is the estimate a range?

Agentic coding spend varies more than 10× between runs of the same task. Cache hit rate, retries and how much log output goes back into context decide where you land, so we show low, expected and high rather than one number.

Prices are OpenRouter list prices from openrouter.ai/models, which normally match OpenAI's own. Estimates are for planning, not quotes.