At a glance

GPT-5 from OpenAI is a frontier model priced at US$1.25 per 1M input tokens and US$10.00 per 1M output tokens. For a typical solo-developer workload (8 hours/day, 22 days/month — 1 medium feature, 5 small bug fixes, 4 PR reviews, 2 stack-trace debugs, ~1500 lines of TypeScript, 1 large-doc read, with prompt caching at the default mix) GPT-5 costs about US$40/month. The 400K-token context window covers most monorepo scans without truncation.

What does your monthly budget buy?

Move the slider or switch task mix — values update live.

Monthly budget

US$100 / month

≈ $23/wk · ≈ $4.55/day

on GPT-5

Task mix

Input tokens

123.6M

Output tokens

1.5M

Total tokens

125.1M

Per month this budget delivers

  • Medium feature (10–15 files)137
  • PR review1,975
  • Lines of TypeScript529,801
  • Small bug fix2,240
  • Work email36,036
  • Unit test file1,457
Open in the full calculator

How does this model compare on price?

Input vs output per 1M tokens

Hover a row to compare input vs output rates.
  • GPT-5
    US$1.25
    US$10.00
  • Frontier median (other frontier models)
    US$3.00
    US$15.00
  • Cheapest in catalog (Gemini 2.0 Flash)
    US$0.10
    US$0.40
Input per 1MOutput per 1M

Cost per task

At the default coding-agent mix with 50% cache hits.

USD per single task

Hover a bar to see per-task cost detail.
  • Lines of TypeScript
    US$0.0002
  • Small bug fix
    US$0.0446
  • PR review
    US$0.0506
  • Read a large doc
    US$0.0594
  • Debug from stack trace
    US$0.12
  • Refactor a module (8–12 files)
    US$0.51
  • Onboard to a new repo
    US$0.53
  • Medium feature (10–15 files)
    US$0.72

Typical developer day

The 22-day month is based on the median working-day count across DE/US.

ActivityCountPer taskDailyMonthly
Medium feature (10–15 files)1US$0.72US$0.72US$15.94
Small bug fix5US$0.04US$0.22US$4.91
PR review4US$0.05US$0.20US$4.46
Debug from stack trace2US$0.12US$0.23US$5.11
Read a large doc1US$0.06US$0.06US$1.31
Micro-interaction (explain / lint fix)30US$0.00US$0.08US$1.77
Lines of TypeScript1,500US$0.00US$0.28US$6.23
TotalUS$1.81US$39.73

The 1500-lines-of-TS row models ~1000 lines read (cache-hit) + ~500 lines written. Headline figures are precise to ~5% — see the FAQ.

Monthly cost matrix

What each monthly budget buys on this model (typical solo-developer day, 22 working days).

Monthly budgetMedium featuresPR reviewsDebug sessionsLines of TS
Typical (≈ $40)54784341210,478
$50/month68987430264,900
$200/month2753,9501,7211,059,602
$500/month6899,8764,3032,649,006
$2000/month2,75939,50617,21310,596,026

Typical mix: coding-agent (85% input, 50% cache hits). Values show the maximum count of each task type at that budget.

What this model can do

  • Coding

    Trained or post-trained for code generation tasks.

  • Reasoning

    Strong multi-step reasoning over complex prompts.

  • Multimodal

    Accepts images alongside text.

  • Prompt cache

    Cache reads billed at ~10% of input price — cuts agent costs sharply.

  • Batch API

    50% off when you accept up to 24-hour turnaround.

  • Tool use

    Native function-calling / tool-use API support.

  • Long context

    ≥ 200K-token context window.

  • Extended thinking

    Hidden reasoning tokens (Anthropic 'thinking' / OpenAI reasoning).

When does this model fit?

Best for

  • Reasoning-heavy tasks where chain-of-thought matters
  • Agent loops with large input context but small output
  • Multimodal coding (screenshots, diagrams as input)

Watch out for

  • Output is $10/1M — heavy code generations cost more than they look at first glance
  • Cache only handles 90% discount on read (no separate write cost) — design accordingly
  • API token counting differs from Anthropic's — direct dollar comparison needs same workload

OpenAI in the catalog

Total models

6

Median input/1M

US$1.63

Median output/1M

US$8.00

Input range

US$0.25–US$2.50

Related models

Sources

Frequently asked questions about GPT-5

What does a typical month on GPT-5 cost?

Running the realistic solo-developer day (1 medium feature + 5 small bug fixes + 4 PR reviews + 2 debug sessions + ~1500 lines of TypeScript + 1 large-doc read, 22 working days) on GPT-5 costs about US$40/month. Heavier workloads scale proportionally; lighter workloads cost less.

How big is GPT-5's context window?

400K tokens total, with up to 128K of output. That fits whole repository snapshots, tests included in a single call.

Why is GPT-5 output priced so much higher than input?

Providers charge US$10.00 per 1M output tokens against US$1.25 per 1M input — output requires real compute, input comes mostly from cache. Coding agents read many files (input-heavy) and emit compact diffs (low output), so total spend is usually input-driven.

How much does prompt caching save on GPT-5?

Cache reads typically cost only 10% of the regular input rate. On a coding-agent mix with 50% cache hits, that saves roughly 45% on input — which is about 38% off your total bill on input-heavy workloads. Anthropic models charge a one-time cache-write surcharge (25% over input) that pays for itself after 2–3 hits.

How do thinking tokens affect GPT-5's monthly bill?

Extended-thinking / reasoning tokens are billed at the full output rate but never appear in your visible response. On hard agentic tasks they can double your output bill, lifting the monthly total by 20–30%. Enable thinking only when the standard response visibly fails.

Is GPT-5's batch API worth using?

Yes, if you can tolerate up to 24-hour turnaround: batch input/output are 50% cheaper than real-time rates. Perfect for nightly code reviews, bulk refactors or pre-merge analysis — wrong for inner-loop editing where you need an answer in seconds.

Try GPT-5 pricing live

Open the full calculator with your own budget, task mix and region (US or DE with 19% VAT).

Open calculator