Email me

LLM prices / Anthropic / Claude Opus 4.7

Anthropic API · prices checked Oct 23, 2026

Claude Opus 4.7 API pricing

Short answerClaude Opus 4.7 costs $5 per 1M input tokens and $25 per 1M output tokens on the Anthropic API (standard price, checked Oct 23, 2026). A typical chatbot reply (1,500 tokens in, 400 out) costs $0.02, so 1,000 replies a day is about $525 a month and 1M replies is $17,500. Anthropic's own model page marks it legacy, so it is left out of our picks.

Legacy. Anthropic lists Claude Opus 4.7 as legacy on its model page. Prices stay here for old bills and migrations. The cheapest current Anthropic model for a chatbot reply is Claude Haiku 5.5.

$5per 1M input tokens
$25per 1M output tokens
$17.50per 1,000 chatbot replies
1Mcontext window (provider page)

Best for

  • Long repeated prompts (agents, RAG with a fixed prefix): cached input bills at 10% of the normal input price.
  • Bulk jobs that can wait: the batch API bills input at 50% of the standard price.
  • Whole codebases or contracts in one prompt: 1M tokens of context.
  • Reading more than text: takes image input.

Skip if

  • You are starting something new: Anthropic marks it legacy. The cheapest current Anthropic model for a chatbot reply is Claude Haiku 5.5.
  • Cost is your constraint: 21 current models answer a chatbot reply for less; the cheapest is Claude Haiku 5.5 at $0.35 per 1,000.

Rules: Best for = cheapest quarter of current models for a chatbot reply, top 3 on one of our 8 jobs, cache reads at 15% or less of input, batch at 60% or less, 1M+ context, non-text inputs. Skip if = not current on the provider's page, priciest quarter, text only, no cache or batch price, a long-prompt surcharge, preview, under 200K context, no tool calling. Price and spec facts only; we don't score answer quality.

What your volume costs

Pick a job and a monthly volume. Same prices as everything on this page; caching and batch applied where they make it cheaper.

1,000,000 chatbot replies a month: $17,500 (standard price).

Cost per task, 8 jobs

Per 1,000 requests and per month at a typical volume, billed the cheapest way the price list allows. The rank is among current models that fit the job.

Job (links to the cheapest model for it)Per 1,000A monthRank among fits
Chatbota 1,500-token prompt (system prompt plus the conversation so far) and a 400-token reply$17.50standard price$525at 30,000 a monthdoes not fit
RAG (answer from your docs)6,000 tokens of retrieved passages plus the question, and a 500-token answer$42.50standard price$1,275at 30,000 a monthdoes not fit
Coding agent40,000 tokens of repo context and history, 30,000 of them repeated from the last step and billed at the cache-read price, 2,000 tokens out, tool calling required$115with the repeated 30,000 tokens billed at the cache-read price$345at 3,000 a monthdoes not fit
Tool-using agent12,000 tokens of instructions, tool definitions and history, 10,000 of them repeated from the last step and cached, 600 tokens out, tool calling required$30.00with the repeated 10,000 tokens billed at the cache-read price$300at 10,000 a monthdoes not fit
Vision (read an image)one image counted as 1,000 input tokens plus a 300-token question, and a 300-token answer. Providers count image tokens differently, so treat vision costs as a rough guide$14.00standard price$140at 10,000 a monthdoes not fit
Translationa 1,000-token passage in and about 1,100 tokens out (translations run a little longer than the source)$32.50standard price$325at 10,000 a monthdoes not fit
Batch extraction2,000 tokens per record in and 300 tokens of JSON out, through the batch API where there is one (results within 24 hours)$8.75through the batch API$875at 100,000 a monthdoes not fit
Summarize long documentsa 20,000-token document in and an 800-token summary out$120standard price$120at 1,000 a monthdoes not fit

Cheaper and pricier alternatives

The current models just below and just above Claude Opus 4.7 on the cost of 1,000 chatbot replies, with what differs. Price only, not quality.

Cheaper

  • Claude Opus 5.5 $14.000.80x the cost of a chatbot reply, same provider.
  • GPT-5.6 Sol $14.000.80x the cost of a chatbot reply, OpenAI, 1.05M context vs 1M.
  • GPT-5.4 $9.750.56x the cost of a chatbot reply, OpenAI, 1.05M context vs 1M.

Pricier

  • GPT-5.5 $19.501.11x the cost of a chatbot reply, OpenAI, 1.05M context vs 1M.
  • chat-latest $19.501.11x the cost of a chatbot reply, OpenAI, 400K context vs 1M.
  • Claude Fable 5.1 $35.002.00x the cost of a chatbot reply, same provider.

Every price tier

Input$5 per 1M tokens
Output$25 per 1M tokens
Cache write$6.25 (5m), $10 (1h)
Cache read (hit)$0.5 (10% of the input price)
Batch API$2.5 input / $12.5 output
API model idclaude-opus-4-7
Status on the pricing pagelisted

Provider notes: US-only inference (inference_geo "us") is 1.1x on Claude 4.6 and later

Model facts from Anthropic

Context window1,000,000 tokens
Max output128,000 tokens
Input typestext, image
Lifecyclelegacy
Provider noteLegacy (still available). Batch API (beta header) max output 300K tokens.

Source: https://platform.claude.com/docs/en/models/opus-4-7/overview, checked Oct 24, 2026.

The 6 classic workloads

Per 1,000 requests at the standard price. "With caching" bills the repeated part of the prompt at the cache-read price (cache writes not counted); "via batch" uses the batch API price. Run your own token counts in the LLM API cost calculator.

WorkloadClaude Opus 4.7per 1,000 requests
Chatbot replya 1,500-token prompt (1,000 of it a fixed system prompt) and a 400-token answer$17.50$13.00 with caching
Answer from your docs (RAG)6,000 tokens of retrieved context plus the question, a 500-token answer$42.50$38.00 with caching
Summarize a long documenta 20,000-token document in, an 800-token summary out$120$116 with caching
Coding agent step40,000 tokens of repo context and history (30,000 of it repeated from the last step), 2,000 out$250$115 with caching
Batch extraction2,000 tokens per record in, 300 tokens of JSON out, sent through the batch API where there is one$17.50$8.75 via batch
Long-document Q&Aa 150,000-token contract or codebase in one prompt, a 1,000-token answer$775

What the numbers say

  • Output costs 5x input on Claude Opus 4.7, so for answer-heavy jobs the output price drives the bill; for document-heavy jobs (RAG, summaries, agents) input does.
  • Caching matters: a coding-agent step that rereads 30,000 cached tokens costs 54% less than the same step uncached ($115 vs $250 per 1,000 steps, cache writes not counted). How to stop paying twice for repeated prompts: LLM semantic cache.
  • Among 14 listed Anthropic models it is the #10 cheapest for a chat reply.
  • Same standard input/output price as Claude Opus 5, Claude Opus 4.8, Claude Opus 4.6, Claude Opus 4.5; the differences are in caching, batch and long-prompt tiers.

Every listed Anthropic model, cheapest first

Same chatbot workload, 1,000 replies.

ModelInput / 1MOutput / 1M1,000 chat replies
Claude Haiku 5.5$0.1$0.5$0.35
Claude Haiku 4.5legacy$1$5$3.50
Claude Sonnet 5.5$2$10$7.00
Claude Sonnet 5legacy$2$10$7.00
Claude Sonnet 4.6legacy$3$15$10.50
Claude Sonnet 4.5deprecated$3$15$10.50
Claude Opus 5.5$4$20$14.00
Claude Opus 5legacy$5$25$17.50
Claude Opus 4.8legacy$5$25$17.50
Claude Opus 4.7legacy$5$25$17.50
Claude Opus 4.6legacy$5$25$17.50
Claude Opus 4.5legacy$5$25$17.50
Claude Fable 5.1$10$50$35.00
Claude Fable 5legacy$10$50$35.00

Closest price from other providers

The current model from each other provider whose chatbot-reply cost is nearest. Price only: we do not rank quality here.

ModelInput / 1MOutput / 1M1,000 chat repliesvs Claude Opus 4.7
GPT-5.5OpenAI$5$30$19.501.11x
Gemini 3.1 Pro PreviewGoogle$2$12$7.800.45x
DeepSeek V4 ProDeepSeek$1.32$3.96$3.560.20x

Price history

  • Oct 17, 2026: Claude Opus 4.7 first recorded: $5 input / $25 output per 1M tokens.
  • Checked against the provider page on 2 dates: Oct 17, 2026, Oct 23, 2026.

Every change we record is on the LLM price changelog.

Sources

Prices change often. If one is out of date, email matt@tensorust.com and we will fix it.

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Up next

The cheapest model for a job: Every current model ranked for a chatbot reply. Today's cheapest is Claude Haiku 5.5 at $0.35 per 1,000.Cheapest LLM for a chatbotRead it next →

Also worth your time

Did this answer your question?

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ