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
支援的協定:openaianthropic
可用供應商:Bedrock
能力:視覺函式呼叫推理提示快取PDF 輸入
定價
| 類型 | 價格 |
|---|---|
| 輸入 Token | $5/M |
| 輸出 Token | $25/M |
| 快取讀取 | $0.5/M |
| 快取寫入(5 分鐘) | $6.25/M |
| 快取寫入(1 小時) | $10/M |
| 網路搜尋 | $0.015/R |
程式碼範例
import anthropicclient = 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。按量計費,無月費。
Anthropic: Claude Opus 4.8 支援 1M Token 的上下文視窗,最大輸出 128K Token,可處理大型文件並維持長對話。
只需將 base URL 設定為 https://api.ofox.ai/v1,並使用你的 Ofox API Key。API 相容 OpenAI 格式——只需更改 base URL 和 API Key 即可。
Anthropic: Claude Opus 4.8 支援以下能力:視覺, 函式呼叫, 推理, 提示快取, PDF 輸入。透過 Ofox.ai 統一 API 存取所有功能。