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 最大出力トークン
リリース日: 2026-05-28
対応プロトコル:openaianthropic
利用可能なプロバイダー:Bedrock
機能:VisionFunction Calling推論プロンプトキャッシュPDF入力
料金
| タイプ | 料金 |
|---|---|
| 入力トークン | $5/M |
| 出力トークン | $25/M |
| キャッシュ読込 | $0.5/M |
| キャッシュ書込(5分) | $6.25/M |
| キャッシュ書込(1時間) | $10/M |
| Web検索 | $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)
関連モデル
よくある質問
Ofox.aiでのAnthropic: Claude Opus 4.8の料金は、入力100万トークンあたり$5/M、出力100万トークンあたり$25/Mです。従量課金制、月額料金なし。
Anthropic: Claude Opus 4.8は1Mトークンのコンテキストウィンドウと最大128Kトークンの出力に対応。大規模ドキュメントの処理や長い会話の維持が可能です。
ベースURLをhttps://api.ofox.ai/v1に設定し、Ofox APIキーを使用するだけ。OpenAI互換APIなので、既存コードのベースURLとAPIキーを変更するだけです。
Anthropic: Claude Opus 4.8は以下の機能に対応:Vision, Function Calling, 推論, プロンプトキャッシュ, PDF入力。Ofox.ai統合APIですべての機能にアクセスできます。