GPT-5.6 发布 🎉 GPT 全系 8 折 🎉 直降 20% 整个 7 月 🔥查看详情
OfoxAI × 万事达卡 🎉 开卡刷卡送 $50 Token 代金券 · 限量 1000 份查看详情
Claude

Anthropic: Claude Opus 4.8

Chat
anthropic/claude-opus-4.8

Claude Opus 4.8 is Anthropic's most capable generally available model in the Opus family. It supports text, image, and file inputs with text output, with reasoning support and a 1M-token context window. It is suited for highly autonomous agents, long-horizon agentic work, knowledge work, and memory-driven tasks where coherence over extended sessions matters. It is particularly strong on multi-step reasoning, complex coding, and end-to-end project orchestration - large codebases, multi-stage debugging, and long-running asynchronous agent pipelines. Beyond coding, it handles knowledge work such as drafting documents, building presentations, and analyzing data, maintaining quality across very long outputs.

上下文窗口
1M
最大输出 Token
128K
发布日期
2026-05-28
能力
视觉函数调用推理提示缓存PDF 输入
可用供应商
AzureAzureAnthropicAnthropicBedrockBedrock
支持的协议
OpenAIopenaiAnthropicanthropic

登录后即可试用 Anthropic: Claude Opus 4.8

直接在此与模型对话。对话只保存在当前页面,不会被存储。

对话不会被保存——离开或刷新页面后即清空。

供应商

AnthropicAnthropic
输入 Token
$5/M
输出 Token
$25/M
缓存读取
$0.5/M
缓存写入(5 分钟)
$6.25/M
缓存写入(1 小时)
$10/M
网络搜索
$0.015/R
接入协议
Anthropicanthropic
BedrockBedrock
输入 Token
$5/M
输出 Token
$25/M
缓存读取
$0.5/M
缓存写入(5 分钟)
$6.25/M
缓存写入(1 小时)
$10/M
网络搜索
$0.015/R
接入协议
OpenAIopenai/v1/chat/completions/v1/responses
Anthropicanthropic
AzureAzure
输入 Token
$5/M
输出 Token
$25/M
缓存读取
$0.5/M
缓存写入(5 分钟)
$6.25/M
缓存写入(1 小时)
$10/M
网络搜索
$0.015/R
接入协议
Anthropicanthropic

代码示例

import anthropic
client = anthropic.Anthropic(
base_url="https://api.ofox.io/anthropic",
api_key="YOUR_OFOX_API_KEY",
)
message = client.messages.create(
model="anthropic/claude-opus-4.8",
max_tokens=1024,
messages=[
{"role": "user", "content": "Hello!"}
],
)
print(message.content[0].text)

运行状态

第三方评测

LMArena评测条目:claude-opus-4-8

Anthropic: Claude Opus 4.8 在 LMArena 文本榜单(风格控制) 综合类别中获得 1475 分,在 374 个模型中排名第 16,基于 27,803 次人类偏好投票(更新于 2026-07-12)。

claude-opus-4-8 在 LMArena 的评测分数
类别Arena 分数95% 置信区间排名投票数
综合14701481第 16 / 374 名27,803
困难任务15011514第 8 / 374 名18,352
编程15251541第 8 / 369 名7,749
数学14621494第 19 / 362 名1,336
创意写作14521471第 14 / 372 名4,852
指令遵循14711486第 11 / 374 名9,428
中文15121546第 9 / 344 名1,295

来源:LMArena · CC BY 4.0 · 更新于 2026-07-12 · 评测方法 · 排名为 LMArena 文本榜单(风格控制) 各类别内的比较,分数来自第三方人类偏好评测,并非 OFOX 官方评分。

常见问题

Anthropic: Claude Opus 4.8 在 Ofox.ai 上的价格为输入 $5/M/百万 Token,输出 $25/M/百万 Token。按量计费,无月费。