Claude

claude-opus-4-7

AnthropicToken-based
Alias:claude-opus-4.7
Create API Key

Anthropic 的 claude-opus-4-7 模型,支持文本、图像输入和文本输出。支持推理、工具调用。

textimagestreamingfunction_callingtoolsvisionreasoningcachingcontext:1000000
Starting price
Input / Output · 1M
Context
1M
Maximum input window
Max output
128K
Maximum tokens per response
Modalities
→
Knowledge cutoff
Jan 2026
Released
Apr 2026

Pricing by Supplier

Anthropic
-5%
Anthropic 官方
Input$5$4.75/ 1M
Output$25$23.75/ 1M
Cache Read$0.5$0.475/ 1M
Cache Write (5m)$6.25$5.9375/ 1M
Cache Write (1h)$10$9.5/ 1M
AmazonBedrock
-40%
AWS 官方
Input$5$3/ 1M
Output$25$15/ 1M
Cache Read$0.5$0.3/ 1M
Cache Write (5m)$6.25$3.75/ 1M
Cache Write (1h)$10$6/ 1M
Vertex Claude
-35%
Google Vertex 官方 Claude直连
Input$5$3.25/ 1M
Output$25$16.25/ 1M
Cache Read$0.5$0.325/ 1M
Cache Write (5m)$6.25$4.0625/ 1M
Cache Write (1h)$10$6.5/ 1M
claude特供
-40%
适合生产环境,AWS Bedrock组成
Input$5$3/ 1M
Output$25$15/ 1M
Cache Read$0.5$0.3/ 1M
Cache Write (5m)$6.25$3.75/ 1M
Cache Write (1h)$10$6/ 1M
CCMax
-65%
使用自用 vibe coding,纯血 ccmax号池
Input$5$1.75/ 1M
Output$25$8.75/ 1M
Cache Read$0.5$0.175/ 1M
Cache Write (5m)$6.25$2.1875/ 1M
Cache Write (1h)$10$3.5/ 1M
Claude kiro
-80%
使用自用 vibe coding,kiro号池
Input$5$1/ 1M
Output$25$5/ 1M
Cache Read$0.5$0.1/ 1M
Cache Write (5m)$6.25$1.25/ 1M
Cache Write (1h)$10$2/ 1M
CCMax-ZL
-65%
CCmax微注-可蒸
Input$5$1.75/ 1M
Output$25$8.75/ 1M
Cache Read$0.5$0.175/ 1M
Cache Write (5m)$6.25$2.1875/ 1M
Cache Write (1h)$10$3.5/ 1M

Capabilities / Supported modalities

StreamingFunction callingToolsVisionReasoningPrompt caching
Input
Output

Provider & data privacy

Provider
AnthropicDocs
Tokenizer
Anthropic Claude tokenizer
License
Proprietary (commercial)Proprietary
Data retention34 daysNot used for upstream training by default

Performance

API access

Code samples

RequestPOST/v1/messages
Example request
Parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Replace <YOUR_API_KEY> with the API key from your token settings.

Authentication

All requests must include Authorization: Bearer <TOKEN> header. Anthropic-formatted endpoints accept the x-api-key header instead.

Generate tokens from the Tokens page; you can scope them to specific models, groups, IPs, and rate-limits.

Supported parameters

Generation parameters
ParameterTypeDefault / rangeDescription
temperature
number
=10 ~ 2
Sampling temperature; lower is more deterministic
top_p
number
=10 ~ 1
Nucleus sampling probability mass
max_tokens
integer>= 1Maximum number of tokens in the response
frequency_penalty
number
=0-2 ~ 2
Penalises repetition of frequent tokens
presence_penalty
number
=0-2 ~ 2
Encourages introducing new topics
stop
array—Up to 4 strings that stop generation
seed
integer—Deterministic sampling seed (best-effort)
n
integer
=1>= 1
Number of completions to generate
stream
boolean
=false
Stream tokens via Server-Sent Events
response_format
object—Force JSON object or schema-conforming output
tools
array—Tool / function declarations the model may call
tool_choice
string
autononerequired
Tool-choice policy or specific tool name
logprobs
boolean
=false
Return per-token log probabilities
top_logprobs
integer0 ~ 20Number of top log probabilities returned per token
logit_bias
object—Per-token logit bias map
user
string—End-user identifier for abuse monitoring

Rate limits

SupplierRPMTPMRPD
AmazonBedrock700281K14K
Anthropic880352K18K
CCMax740294K15K
CCMax-ZL670270K14K
Claude kiro750301K15K
claude特供420168K8.4K
Vertex Claude510204K10K

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply per token group.

API access questions

Everything you need to decide before creating an account.

Discover more models