claude-4.1-opus
Anthropic
Claude 4 系列稳定款,多文件重构与智能体任务编排扎实,搭配扩展思考能力,适合调用工具的研究分析流程。
$12.75/ M
$63.75/ M
$1.275/ M
—
Flagship model for demanding reasoning, coding, and long-horizon agentic work, spanning end-to-end software, code review, parallel subagent coordination, visual analysis of charts and documents, and complex office deliverables.
Giá đầu vào
Thị trường: $5
/ M
Giá đầu ra
Thị trường: $25
/ M
Đầu vào
Văn bản
Đầu ra
Văn bản
{
"model": "anthropic/claude-opus-5",
"messages": [
{
"role": "user",
"content": "你好!请先介绍一下你自己,包括你的主要能力与适用场景,并给一个简短的使用示例。"
}
],
"stream": false,
"group": "default"
}{}API
Mã sẵn sàng để gọi mô hình này qua API tương thích OpenAI của EasyAPI.
Tạo API token trong console và đặt làm biến môi trường:
Thay sk-xxxxxxxx bằng mã API từ console (Bearer Token).
Tạo API tokenexport EASYAPI_API_KEY=sk-xxxxxxxxDùng anthropic/claude-opus-5 với API EasyAPI:
curl https://token.easyapi.com/v1/messages \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"anthropic/claude-opus-5","messages":[{"role":"user","content":"Hello!"}]}'Thêm "stream": true vào body để nhận phản hồi qua SSE:
curl -N https://token.easyapi.com/v1/messages \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"anthropic/claude-opus-5","messages":[{"role":"user","content":"Hello!"}],"stream":true}'Gửi yêu cầu chat completion. Hỗ trợ streaming và non-streaming.
https://token.easyapi.com/v1/messagesBearer $EASYAPI_API_KEYapplication/jsonanthropic/claude-opus-5发送对话补全请求,支持流式与非流式。 Tài liệu
https://token.easyapi.com/v1/messagesBearer $EASYAPI_API_KEYapplication/jsonanthropic/claude-opus-5Anthropic Messages API 兼容格式,支持文本、图片与工具调用。 Tài liệu
https://token.easyapi.com/v1/modelsBearer $EASYAPI_API_KEY获取当前账户可用模型列表。 Tài liệu
| Tên | Kiểu | Mặc định | Mô tả |
|---|---|---|---|
model | string | — | 模型 ID,如 openai/gpt-4o、anthropic/claude-3-5-sonnet |
messages | array | — | 对话消息列表,每项含 role 与 content |
stream | boolean | false | 设为 true 时以 SSE 流式返回 |
temperature | float | 1 | 采样温度,越高越随机 |
max_tokens | integer | — | 单次回复最大生成 Token 数 |
top_p | float | 1 | 核采样,限制候选词累积概率 |
frequency_penalty | float | 0 | 频率惩罚,降低重复用词 |
presence_penalty | float | 0 | 存在惩罚,鼓励新话题 |
SDK chính thức OpenAI và khác hoạt động khi đổi base URL. Xem hướng dẫn tích hợp
Anthropic
Claude 4 系列稳定款,多文件重构与智能体任务编排扎实,搭配扩展思考能力,适合调用工具的研究分析流程。
$12.75/ M
$63.75/ M
$1.275/ M
—
Anthropic
Claude Fable 5 is Anthropic’s advanced long-horizon reasoning model, supporting text, image, and file inputs with text output. It features reasoning capabilities and a 1M-token context window, making it suitable for autonomous knowledge work, software development, and complex multi-step tasks.
$8.5/ M
$42.5/ M
$0.85/ M
$10.625/ M
Anthropic
Fast and affordable. Handles simple tasks well.
$0.85/ M
$4.25/ M
$0.085/ M
$1.0625/ M
Anthropic
Strong in deep reasoning and long-context tasks.
$4.25/ M
$21.25/ M
$0.425/ M
$5.3125/ M