Anthropic's balanced model with state-of-the-art performance on SWE-bench Verified. Ideal for coding, analysis, and general-purpose tasks with excellent cost-performance ratio.
1M コンテキストウィンドウ
64K 最大出力トークン
リリース日: 2025-09-29
対応プロトコル:openaianthropic
利用可能なプロバイダー:Bedrock
機能:VisionFunction Calling推論プロンプトキャッシュPDF入力
料金
| タイプ | 料金 |
|---|---|
| 入力トークン | $3/M |
| 出力トークン | $15/M |
| キャッシュ読込 | $0.3/M |
| キャッシュ書込(5分) | $3.75/M |
| キャッシュ書込(1時間) | $6/M |
コード例
import anthropicclient = anthropic.Anthropic(base_url="https://api.ofox.ai/anthropic",api_key="YOUR_OFOX_API_KEY",)message = client.messages.create(model="anthropic/claude-sonnet-4.5",max_tokens=1024,messages=[{"role": "user", "content": "Hello!"}],)print(message.content[0].text)
関連モデル
よくある質問
Ofox.aiでのAnthropic: Claude Sonnet 4.5の料金は、入力100万トークンあたり$3/M、出力100万トークンあたり$15/Mです。従量課金制、月額料金なし。
Anthropic: Claude Sonnet 4.5は1Mトークンのコンテキストウィンドウと最大64Kトークンの出力に対応。大規模ドキュメントの処理や長い会話の維持が可能です。
ベースURLをhttps://api.ofox.ai/v1に設定し、Ofox APIキーを使用するだけ。OpenAI互換APIなので、既存コードのベースURLとAPIキーを変更するだけです。
Anthropic: Claude Sonnet 4.5は以下の機能に対応:Vision, Function Calling, 推論, プロンプトキャッシュ, PDF入力。Ofox.ai統合APIですべての機能にアクセスできます。