Skip to main content

AI coding agent cost calculator

Estimate AI coding agent cost per pull request and per month on the API, and compare it with Claude Code, Codex and Cursor plans.

Tokens per PR vary hugely by task and tool; all values below are examples, not benchmarks.

$0.37 per PR · $14.88 per month.

Anthropic published prices, last checked 2026-11-18; USD excl. tax.

Plan$/mo (excl. tax)Included (as published)API matches plan price at
Claude Code (Claude plans): Ultra$200.00Usage multiplier: 10x Pro weekly (no 5-hour limit for verified accounts) relative to Pro; Monthly API credits: 200 USD/month in Claude Platform API credits537.6 PRs/mo
Claude Code (Claude plans): Max$100.00Usage multiplier: 5x Pro relative to Pro; Monthly API credits: 100 USD/month in Claude Platform API credits268.8 PRs/mo
Claude Code (Claude plans): Pro$20.00More usage than Free53.8 PRs/mo
Codex (ChatGPT plans): Plus$20.00Message caps: May apply, vary with system conditions; Instant context window: 54K tokens; Reasoning context window: 256K tokens53.8 PRs/mo
Codex (ChatGPT plans): Pro 100$100.00Instant context window: 128K tokens; Reasoning context window: 400K tokens; Included usage: Base Pro allowance268.8 PRs/mo
Codex (ChatGPT plans): Pro 200$200.00Instant context window: 128K tokens; Reasoning context window: 400K tokens; Included usage: More than Pro 100537.6 PRs/mo
Codex (ChatGPT plans): Pro 500$500.00Instant context window: 128K tokens; Reasoning context window: 400K tokens; Included usage: Highest; includes Ultrafast1,344.1 PRs/mo
Cursor: Free$0.00AI usage: Limited; Sold as: The X Subscription (one subscription for Grok, Cursor and X)—
Cursor: Plus$8.00AI usage pool multiplier: Base (1x) relative to Plus; Model access: Only Grok/Cursor models (Grok 4.7, 4.6, 4.5, Composer 2.5) at fixed settings; no third-party models, Cloud Agents, Bugbot or own API keys.; Sold as: The X Subscription (one subscription for Grok, Cursor and X) · Models: Only Grok/Cursor models (Grok 4.7, 4.6, 4.5, Composer 2.5) at fixed settings; no third-party models, Cloud Agents, Bugbot or own API keys.21.5 PRs/mo
Cursor: Premium$30.00AI usage pool multiplier: 4x Plus relative to Plus; Model access: Adds Cloud Agents, Automations, Origin, Bugbot; third-party models at API list price from prepaid credit (not included in pool).; Sold as: The X Subscription (one subscription for Grok, Cursor and X) · Models: Adds Cloud Agents, Automations, Origin, Bugbot; third-party models at API list price from prepaid credit (not included in pool).80.6 PRs/mo
Cursor: Super$100.00AI usage pool multiplier: 15x Plus relative to Plus; Model access: Priority model access at peak times; third-party models billed separately at API list price.; Sold as: The X Subscription (one subscription for Grok, Cursor and X) · Models: Priority model access at peak times; third-party models billed separately at API list price.268.8 PRs/mo
Cursor: Teams$30.00AI usage pool multiplier: Matches the seat's tier (4x–50x Plus) relative to Plus; Seat pool vs premium: Super 3.75x Premium; Ultra 12.5x Premium relative to Premium seat; Sold as: The X Subscription (one subscription for Grok, Cursor and X)80.6 PRs/mo
Cursor: Ultra$200.00AI usage pool multiplier: 50x Plus relative to Plus; Model access: Earliest access to products & models; third-party models billed separately at API list price.; Sold as: The X Subscription (one subscription for Grok, Cursor and X) · Models: Earliest access to products & models; third-party models billed separately at API list price.537.6 PRs/mo
Kiro: Free$0.00Credits: 50 credits (per month)—
Kiro: Power$200.00Credits: 10,000 credits (per month)537.6 PRs/mo
Kiro: Pro Max$100.00Credits: 5,000 credits (per month)268.8 PRs/mo
Kiro: Pro+$40.00Credits: 2,000 credits (per month)107.5 PRs/mo
Kiro: Pro$20.00Credits: 1,000 credits (per month)53.8 PRs/mo
Kiro: Teams (credit pooling)$20.00Credits per seat: 500 credits/seat/month53.8 PRs/mo
GitHub Copilot: Copilot Business$19.00Included AI credits (pooled): 1,900 per user/month; Completions: Unlimited completions51.1 PRs/mo
GitHub Copilot: Copilot Free$0.00Completions: 2,000 completions/month; Limited chat and agent usage—
GitHub Copilot: Copilot Max$100.0010,000 base + 10,000 flex AI credits/mo (flex may change); Completions: Unlimited completions268.8 PRs/mo
GitHub Copilot: Copilot Pro+$39.003,900 base + 3,100 flex AI credits/mo (flex may change); Completions: Unlimited completions104.8 PRs/mo
GitHub Copilot: Copilot Pro$10.001,000 base + 500 flex AI credits/mo (flex may change); Completions: Unlimited completions26.9 PRs/mo
GitHub Copilot: Copilot Student$0.00Completions: Unlimited completions; Model access: Auto model selection only; Third party agents: Excluded · Models: Auto model selection only—
Windsurf: Free$0.00Agent quota: Light quota; Quota reset: daily and weekly; Tab completions: Unlimited completions; Inline edits: Unlimited edits; Members: 1 users—
Windsurf: Max$200.00Agent quota: Significantly higher quotas than Pro; Quota reset: weekly (no daily cap); Concurrent sessions: up to 10 sessions; Members: 1 users537.6 PRs/mo
Windsurf: Pro$20.00Agent quota: Increased quotas incl. frontier models; free SWE-2; Quota reset: daily and weekly; Concurrent sessions: up to 10 sessions; Members: 1 users53.8 PRs/mo
Windsurf: Teams (per team, incl. $80 team charge)$80.00Members: 100 users (max per team); Shared credits: No per-member allowance; all usage draws from the team's shared on-demand credits; Free mode sessions: 2 concurrent Free (SWE-2) cloud sessions per member, at no cost215.1 PRs/mo

Break-even compares price only and ignores plan limits; vendors don’t publish token equivalents for plan allowances.

How the estimate works

  • API pay-as-you-go: cost per pull request = input tokens × the model’s input rate + output tokens × its output rate, with your cached share billed at the model’s cached-input rate. Monthly cost = cost per PR × PRs per month.
  • Subscription plans: each row shows the plan’s published monthly price and what it includes, as the vendor words it. The last column shows how many PRs a month, at your token assumptions, would cost the same on the API as that plan’s price. It is a break-even marker, not a claim that the plan covers that many PRs.

Tokens per PR vary a lot with the task, the repository and the tool. The default values are examples, not benchmarks, so replace them with numbers from your own usage logs when you can.

What is not included

Usage caps and rate limits that vendors describe without numbers, overage and top-up credits, extra models billed on top of a plan, team admin features, tax and currency conversion. Plans sold only through sales are not priced.

API cost calculator · Claude Code pricing · Cursor pricing · GitHub Copilot pricing · Cursor vs Windsurf

How we check prices

Plan prices and API rates come from each vendor’s official pricing pages in our dataset. The date beside each result shows when we last checked that source. Results are estimates in USD, excluding tax. Corrections: [email protected]. See /methodology/.

USD, excluding tax. Prices come from each vendor’s official pricing page; plans or figures we couldn’t verify are shown as not calculable, never estimated.

Last checked (Re-check due)

More cost calculators