Claude API Pricing Calculator 2026

Claude API Pricing Calculator 2026 | Cost Estimator for Opus, Sonnet & Haiku
calculatorsonline.co.uk

Claude API Pricing Calculator 2026

Estimate your Anthropic API costs for Claude Opus 4.8, Sonnet 4.6, and Haiku 4.5. Calculate monthly spend with batch processing and prompt caching discounts applied.

🤖 Opus 4.8
Sonnet 4.6
🚀 Haiku 4.5
💸 Batch & Caching

Estimate Your Monthly API Cost

Enter your expected token usage per month

🤖 Model Selection

Rates are per million tokens (MTok) as of June 2026. Output tokens cost 5× input.


📊 Monthly Token Volume

System prompts + user messages + documents. 1M tokens ≈ 750,000 words.

Claude’s responses. Typically 20–30% of input volume for chat apps.


💸 Cost Optimisations

💱 Currency

Your API Cost Estimate

Monthly spend breakdown

Select a model, enter your expected token volumes, and click Calculate to see your estimated monthly API spend.

Claude Model Tiers

Three capability tiers to match your workload and budget. All prices are per million tokens (MTok) as of June 2026.

⚡ Fastest
Haiku 4.5
claude-haiku-4-5-20251001
Lowest-cost model in the current generation. Near-frontier intelligence for high-volume, latency-sensitive workloads: classification, routing, extraction, and summarisation.
Input (standard)$1.00 / MTok
Output (standard)$5.00 / MTok
Batch input$0.50 / MTok
Batch output$2.50 / MTok
Context window200K tokens
⭐ Recommended
Sonnet 4.6
claude-sonnet-4-6
The recommended default for most production use cases. Near-Opus quality at faster latency and significantly lower cost. Includes 1M token context at standard pricing.
Input (standard)$3.00 / MTok
Output (standard)$15.00 / MTok
Batch input$1.50 / MTok
Batch output$7.50 / MTok
Context window1M tokens
🏆 Most Capable
Opus 4.8
claude-opus-4-8
Flagship model with adaptive thinking, effort controls, and top benchmark performance. Best for complex reasoning, agentic tasks, and advanced coding. Fast Mode available at $10/$50.
Input (standard)$5.00 / MTok
Output (standard)$25.00 / MTok
Batch input$2.50 / MTok
Batch output$12.50 / MTok
Context window1M tokens

Claude API Pricing Reference

Complete token rates and features for all current and legacy Claude models. Prices in USD per million tokens.

Model Input / MTok Output / MTok Context Best For
Claude Opus 4.8 New$5.00$25.001M tokensAdaptive reasoning, agentic coding, complex tasks
Claude Opus 4.7$5.00$25.001M tokensVision, long-horizon agents, engineering workflows
Claude Opus 4.6$5.00$25.001M tokensComplex reasoning (note: updated tokenizer in 4.7+)
Claude Sonnet 4.6$3.00$15.001M tokensMost production workloads — recommended default
Claude Haiku 4.5$1.00$5.00200K tokensClassification, routing, extraction, summarisation
Claude Opus 4.1 (Legacy)$15.00$75.00200K tokensLegacy — migrate to Opus 4.8 for 67% cost saving
Batch API discount−50%−50%Async jobs, processed within 24 hours
Prompt Cache Read−90%n/aRepeated system prompts, documents, context
Opus 4.8 Fast Mode$10.00$50.001M tokensAgent workflows requiring premium speed

Claude API Pricing FAQ

Everything you need to know about Anthropic’s Claude API costs in 2026.

As of mid-2026, Claude API rates per million tokens are: Claude Haiku 4.5 at $1.00 input / $5.00 output, Claude Sonnet 4.6 at $3.00 / $15.00, and Claude Opus 4.8 at $5.00 / $25.00. Output tokens cost 5× the input rate across all current models. Batch processing halves all rates, and prompt caching reduces cached input by up to 90%.

A token is roughly 3–4 characters, or about ¾ of a word. One million tokens is approximately 750,000 words — around 1,500 pages of text. Anthropic bills separately for input tokens (your prompts, system instructions, documents, and context) and output tokens (Claude’s responses). A typical API call might use 1,000–5,000 input tokens and 200–1,000 output tokens.

The Anthropic Batch API provides a flat 50% discount on all input and output tokens. Jobs are submitted asynchronously and completed within 24 hours. This is ideal for document processing pipelines, content generation, data classification, nightly analytics, and any workload where an immediate response is not required. Batch and prompt caching discounts can be combined for even greater savings.

Prompt caching reduces cached input token costs by up to 90%. It works by storing frequently reused content — such as system prompts, reference documents, and tool definitions — so subsequent calls can read from cache instead of reprocessing. Cache writes cost 1.25× input price (5-minute TTL) or 2× (1-hour TTL), but cache reads are 90% cheaper than fresh input. A production app with a 3,000-token system prompt sent across 10,000 daily requests can save thousands of dollars per month.

Claude Sonnet 4.6 ($3/$15 per MTok) is the recommended default for most production workloads — coding, analysis, writing, RAG pipelines, and customer-facing applications. Claude Haiku 4.5 ($1/$5) is ideal for high-volume, latency-sensitive tasks like classification and routing. Claude Opus 4.8 ($5/$25) is best reserved for the most complex reasoning, agentic engineering, and tasks that genuinely require maximum capability. A common pattern is 70% Haiku / 20% Sonnet / 10% Opus to balance cost and quality.

The Claude API is pay-as-you-go with no monthly subscription fee. You pay only for the tokens you consume. New accounts start with prepaid credits. This is entirely separate from Claude.ai consumer plans (such as Claude Pro at $20/month or Claude Max), which provide chat access and do not include API usage. Higher-volume accounts can switch to monthly invoicing.

Claude Opus 4.8 Fast Mode provides significantly faster inference at $10 input / $50 output per million tokens — 3× cheaper than the previous Opus 4.7 Fast Mode ($30/$150). It is currently available in research preview and is designed for agent workflows and coding tasks where response speed is critical. Standard Opus 4.8 at $5/$25 remains available for non-time-sensitive requests.

Yes — emphatically. Opus 4.8 costs $5/$25 per million tokens versus $15/$75 for the legacy Opus 4.1, a 67% price reduction, while delivering meaningfully better performance on reasoning and coding benchmarks. Any remaining Opus 4.1 workloads should be migrated as a priority. Note that migrating from Opus 4.6 to 4.7 or 4.8 involves a tokenizer change that may increase token counts by up to 35% — benchmark your specific workloads before migrating to account for this.

Similar Posts

  • Hypotenuse Calculator

    Hypotenuse Calculator | Pythagorean Theorem & Right Triangle Solver calculatorsonline.co.uk Hypotenuse Calculator Calculate the hypotenuse or missing sides of a right triangle using the Pythagorean theorem. Instantly find the area, perimeter, and angles of any right-angled triangle. 📐 Pythagorean Theorem 📏 Missing Sides 📊 Area & Perimeter 📐 Triangle Angles Right Triangle Solver Solve for…

  • Um To Nm Calculator

    Um To Nm Calculator 2026 | Micrometers to Nanometers Converter calculatorsonline.co.uk Um To Nm Calculator 2026 Instantly convert micrometers (μm) to nanometers (nm), millimeters, meters, and picometers. Perfect for nanotechnology, physics, and molecular science. ⚛️ Nanometers 🔬 Micrometers 🧬 Molecular ⚡ Instant Length Conversion Enter your measurement in micrometers to convert to nanometers ⚛️ Micrometers…

  • Integral Calculator

    Integral Calculator | Solve Definite & Indefinite Integrals with Steps calculatorsonline.co.uk Integral Calculator Solve definite and indefinite integrals with step-by-step solutions. Supports polynomial, trigonometric, exponential, logarithmic, and rational functions with multiple integration techniques. ∫ Antiderivative Solver 📊 Definite Integral 🔍 Step-by-Step 🧮 Multiple Methods Integral Solver Solve definite and indefinite integrals with detailed steps Function…

  • Matrix Calculator

    Matrix Calculator | Matrix Multiplication, Determinant & Inverse Step-by-Step calculatorsonline.co.uk Matrix Calculator Perform matrix addition, multiplication, find determinants, transposes, and inverses with step-by-step solutions. Supports 2×2 and 3×3 matrices for linear algebra. 🔢 Matrix Operations 📐 Determinant 🔄 Transpose & Inverse 🔍 Step-by-Step Matrix Solver Calculate matrix operations with detailed steps Operation Settings Matrix Operation…

  • Language Learning Time Required

    Language Learning Time Required Calculator | Hours to Fluency calculatorsonline.co.uk Language Learning Time Required Find out how many weeks, months, or years it will take to reach proficiency in your target language, based on official FSI difficulty categories and your own weekly study time. 🗣️ FSI Difficulty Category ⏱️ Weekly Study Hours 📅 Time to…

  • Fire alarm system installation cost calculator

    Fire Alarm System Installation Cost Calculator UK 2026 | Calculators Online 🇬🇧 Free UK Tool  ·  2026 Prices Fire Alarm InstallationCost Calculator UK Estimate fire alarm system installation costs for homes and businesses — by property type, system grade, detector count and region. Based on 2026 UK average prices. 🏠 Domestic & commercial 📋 BS5839…