anthropic/claude-opus-5
发布时间: 2026-07-25
1,000,000 context · $5.00/M input tokens · $25.00/M output tokens
Claude Opus 5 is Anthropic's flagship Claude model for advanced coding, deep reasoning, and high-performance agent workflows. It delivers major gains over earlier Opus releases in long-horizon tasks, tool use, and professional knowledge work, and is especially well suited for complex software engineering, research, and multi-step autonomous execution. WaveSpeed AI exposes anthropic/claude-opus-5 through an OpenAI-compatible API, so it can be used with standard OpenAI SDKs and existing chat-completions-based application flows.
按量付费
无需预付费用,仅按实际使用量付费
使用以下代码示例接入我们的 API:
import OpenAI from 'openai';
if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
apiKey: process.env.WAVESPEED_API_KEY,
baseURL: 'https://llm.wavespeed.ai/v1',
timeout: 120_000,
maxRetries: 2,
});
try {
const response = await client.chat.completions.create({
model: 'anthropic/claude-opus-5',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}import OpenAI from 'openai';
if (!process.env.WAVESPEED_API_KEY) throw new Error('Set WAVESPEED_API_KEY');
const client = new OpenAI({
apiKey: process.env.WAVESPEED_API_KEY,
baseURL: 'https://llm.wavespeed.ai/v1',
timeout: 120_000,
maxRetries: 2,
});
try {
const response = await client.chat.completions.create({
model: 'anthropic/claude-opus-5',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0]?.message?.content ?? '');
} catch (error) {
console.error('LLM request failed:', error);
process.exitCode = 1;
}Claude Opus 5 is Anthropic's flagship Claude model for advanced coding, deep reasoning, and high-performance agent workflows. Anthropic positions it for complex agentic coding and enterprise work, with strong performance on long-horizon tasks, professional knowledge work, and multi-step autonomous execution. WaveSpeed AI exposes anthropic/claude-opus-5 through an OpenAI-compatible API, so it can be used with standard OpenAI SDKs and existing chat-completions-based application flows.
| Specification | Value |
|---|---|
| Provider | Anthropic |
| Model ID | anthropic/claude-opus-5 |
| API Model Name | claude-opus-5 |
| Model Family | Claude Opus 5 |
| Positioning | Flagship model |
| Context Window | 1,000,000 tokens |
| Max Output | 128,000 tokens |
| Vision | Supported |
| Function Calling | Supported |
| Structured Outputs | Supported |
| Recommended Workloads | complex coding, deep reasoning, agent workflows, enterprise tasks, long-context analysis |
Claude Opus 5 is positioned for demanding agentic and enterprise workflows, including advanced coding, long-running tool use, and deep reasoning across large contexts. It is a strong fit for scenarios where answer quality, persistence, and long-horizon task execution matter more than low latency.
Use Chat Completions when you want a straightforward OpenAI-compatible integration path for conversational, coding, and agent workflows.
Python
from openai import OpenAI
client = OpenAI(
api_key="YOUR_API_KEY",
base_url="https://llm.wavespeed.ai/v1"
)
response = client.chat.completions.create(
model="anthropic/claude-opus-5",
messages=[
{"role": "user", "content": "Review this migration plan and identify the highest-risk step."}
]
)
print(response.choices[0].message.content)
cURL
curl https://llm.wavespeed.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "anthropic/claude-opus-5",
"messages": [
{"role": "user", "content": "Review this migration plan and identify the highest-risk step."}
]
}'
Claude Opus 5 is a strong fit for:
claude-opus-5anthropic/claude-opus-5
Claude Opus 5 is Anthropic's flagship Claude model for advanced coding, deep reasoning, and high-performance agent workflows. It delivers major gains over earlier Opus releases in long-horizon tasks, tool use, and professional knowledge work, and is especially well suited for complex software engineering, research, and multi-step autonomous execution. WaveSpeed AI exposes `anthropic/claude-opus-5` through an OpenAI-compatible API, so it can be used with standard OpenAI SDKs and existing chat-completions-based application flows.
输入
$5 /M
输出
$25 /M
上下文
1000K
最大输出
128K
Vision
支持
工具调用
支持
通过我们的统一 API 接入 Claude Opus 5 — 兼容 OpenAI、无冷启动、透明计费。
WaveSpeedAI 定价:输入每百万 token $5.00,输出每百万 token $25.00。Prompt 缓存和批处理单独计费,可显著降低长上下文、高重复任务的实际成本。
Claude Opus 5 单次请求最多支持 1000K 上下文 token,输出最多 128K token。
WaveSpeedAI 通过 https://llm.wavespeed.ai/v1 的 OpenAI 兼容 Chat Completions 接口提供 Claude Opus 5。大多数 OpenAI SDK 客户端只需更换 base URL 和 API Key;可选字段取决于具体模型。
登录 WaveSpeedAI,在 Access Keys 中创建 API Key,然后使用上方显示的 model id 向 https://llm.wavespeed.ai/v1/chat/completions 发送请求。模型可用性、能力和价格请以当前模型目录为准。