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 上下文視窗
128K 最大輸出 token
發布日期: 2026-05-28
支援的協定:OpenAIopenaiAnthropicanthropic
可用供應商:BedrockBedrock
能力:視覺函式呼叫推理提示快取PDF 輸入

定價

類型價格
輸入 Token$5/M
輸出 Token$25/M
快取讀取$0.5/M
快取寫入(5 分鐘)$6.25/M
快取寫入(1 小時)$10/M
網路搜尋$0.015/R

程式碼範例

import anthropic
client = anthropic.Anthropic(
base_url="https://api.ofox.ai/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)

常見問題

Anthropic: Claude Opus 4.8 在 Ofox.ai 上的價格為輸入 $5/M/百萬 Token,輸出 $25/M/百萬 Token。按量計費,無月費。