Anthropic: Claude Opus 4.7

anthropic/claude-opus-4-7

Anthropic Claude Opus 4.7 API pricing

Claude Opus 4.7 costs $2.00 per million input tokens and $10.00 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $5.00 input and $25.00 output), and cached input tokens are billed at $0.200 per million. It accepts text and images and returns text, with a 1M-token context window and up to 128K output tokens per response. A cheaper Anthropic option is Claude Opus 5.5 at $1.60 / $8.00 per 1M tokens; for every model and rate, see Claude API pricing.

Legacy Opus model with adaptive thinking and the xhigh effort level for long-running agentic and coding tasks.
ModalitiesTextImageText
Price$2.00 / $10.00 per 1M tokens in / outAll Claude API pricing
Context1M

Providers

Where this model runs, and what each route costs. Requests are sent to a healthy provider automatically; if one errors, the gateway retries against another serving the same model.

ProviderInput /MOutput /MCache read /MLatencyThroughput
Anthropic$2.00$10.00$0.20017.52s81 tps

Capabilities (17)

StreamingTool callingStructured outputThinkingReasoningSystem promptVisionMultilingualPrompt cachingBatchWeb searchWeb FetchCode executionComputer useBrowser UseBash ToolText Editor Tool

Supported parameters (6)

max_tokenseffortinference_geotoolsresponse_formatreasoning_effort

A parameter not listed here may be removed before the request reaches the model. When it is, the request still succeeds and the response names it, with the reason, in provider_specific_fields.dropped_params.

Pricing

What this model costs on Oxyy, pay as you go. "Charged" is the rate a request is billed at; the standard price is shown beside it for reference.

Input price
$2.00
per 1M input tokens · standard price $5.00
Output price
$10.00
per 1M output tokens · standard price $25.00
RateStandard priceChargedUnit
Input$5.00$2.00per 1M input tokens
Output$25.00$10.00per 1M output tokens
Cached input$0.500$0.200per 1M cached input tokens
Cache write (5 min)$6.25$2.50per 1M cache-write tokens, 5-minute
Cache write (1 hour)$10.00$4.00per 1M cache-write tokens, 1-hour

Discount. Charged rates include the current "Launch Promo" discount of 60% on every rate.

UTC

Specifications

Model ID
claude-opus-4-7
Developer
Anthropic
Type
Text
Input
Text and images
Output
Text
Context window
1,000,000 tokens
Max output
128,000 tokens
Tokenizer
Claude
Series
Claude 4.7
Image input
Up to 20 MB each
Endpoint
/v1/chat/completions
Status
Deprecation scheduled for Apr 16, 2027

Best for

ReasoningCodingAgenticLong context

Quickstart

Call claude-opus-4-7 with a POST to /v1/chat/completions on https://api.oxyy.ai, using your Oxyy API key from the OXYY_API_KEY environment variable. The same key works for every model in the catalog.

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.oxyy.ai/v1",
    api_key=os.environ["OXYY_API_KEY"],
)

response = client.chat.completions.create(
    model="claude-opus-4-7",
    messages=[
        {"role": "user", "content": "Explain unified AI APIs in one sentence."},
    ],
)
print(response.choices[0].message.content)

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better). Throughput and TTFT are measured on streaming requests, which are the only ones with a first-token moment to time.

Throughput
81tok/s
P50, streaming requests
Latency
17.52s
P50, end to end
UTC

Throughput

P99170 tok/s
P95163 tok/s
P5080 tok/s

Latency

P5011.9s
P7519.5s
P9527.7s
P9956.7s

Time to first token

P501357ms
P951714ms

Cache hit rate

0.00%
Share of input tokens served from the prompt cache over the window.

Availability

The share of requests to this model that completed successfully over the last 30 days. Requests the caller cancelled, and requests still in flight, are not counted. When an upstream provider errors, the gateway retries against another provider serving the same model, so a single provider incident does not necessarily show up here.

Success rate (30 days)
96.90%
over 915 completed requests
Days with traffic
24
of the last 30 days

Days are UTC days. Days with no completed requests are omitted rather than drawn at 100% — no traffic is not evidence of availability.

Activity

Token volume and request traffic to this model over time. Daily totals, UTC.

Prompt2.2M
Completion1.8M

Prompt tokens measure input size. Completion tokens reflect total output length. Reasoning is not priced separately for this model, so it is not itemised here.

Frequently asked questions

What is Claude Opus 4.7?
Legacy Opus model with adaptive thinking and the xhigh effort level for long-running agentic and coding tasks.
How much does Claude Opus 4.7 cost?
Claude Opus 4.7 costs $2.00 per million input tokens and $10.00 per million output tokens on Oxyy. These are the pay-as-you-go prices after the current 60% discount (Launch Promo; standard price $5.00 input and $25.00 output), and cached input tokens are billed at $0.200 per million. You pay per request, with no subscription.
What is the context length of Claude Opus 4.7?
Claude Opus 4.7 has a context window of 1,000,000 tokens, and can return up to 128,000 tokens in one response.
Does Claude Opus 4.7 support tool calling and structured outputs?
Yes — Claude Opus 4.7 supports both tool calling and structured outputs.
What inputs and outputs does Claude Opus 4.7 support?
Claude Opus 4.7 accepts text and images as input and returns text.
Which API endpoint does Claude Opus 4.7 use?
Send a POST request to https://api.oxyy.ai/v1/chat/completions with "model": "claude-opus-4-7", authenticated with your Oxyy API key. It is also served on /v1/messages (Anthropic SDK) and /v1/responses (Responses API).
What other models does Anthropic have?
Anthropic also offers Claude Fable 5, Claude Fable 5.1, Claude Haiku 4.5 and Claude Haiku 5.5 through Oxyy.

Alternatives to Claude Opus 4.7

Models of the same kind from other vendors, closest in price first. Prices are pay-as-you-go on Oxyy, through the same API key.

Explore more models

More models from Anthropic