Skip to Content

Anthropic Models API

Anthropic ネイティブプロトコルを介して OfoxAI プラットフォーム上の利用可能なモデルをクエリします。レスポンス形式は Anthropic API 仕様に準拠しています(typedisplay_namecreated_at などのフィールド)。

Models APIはパブリックインターフェースです。API Key不要でご利用いただけます。このエンドポイントはAnthropicプロトコルで呼び出し可能な全モデルを返します。Claudeシリーズに限定されません。

全モデルの一覧

GET https://api.ofox.ai/anthropic/v1/models

リクエスト例

Terminal
curl https://api.ofox.ai/anthropic/v1/models

レスポンス形式

{ "data": [ { "type": "model", "id": "anthropic/claude-haiku-4.5", "display_name": "Anthropic: Claude Haiku 4.5", "created_at": "2026-01-21T16:09:13Z", "owned_by": "bedrock", "canonical_slug": "claude-haiku-4-5-20251001", "description": "Anthropic's fastest and most cost-effective model...", "context_length": 200000, "architecture": { "modality": "text+image+file->text", "input_modalities": ["text", "image", "file"], "output_modalities": ["text"], "tokenizer": "claude", "instruct_type": null }, "pricing": { "prompt": "0.000001", "completion": "0.000005", "input_cache_read": "0.0000001", "input_cache_write_5m": "0.00000125", "input_cache_write_1h": "0.000002" }, "top_provider": { "context_length": 200000, "max_completion_tokens": 64000, "is_moderated": false }, "supported_parameters": [ "temperature", "top_p", "max_tokens", "stop", "tools", "tool_choice", "response_format" ], "expiration_date": null } ] }

OpenAI プロトコルとのフィールドの違い

フィールドOpenAI プロトコルAnthropic プロトコル
型識別子"object": "model""type": "model"
名前namedisplay_name
作成時刻created(Unix タイムスタンプ)created_at(ISO 8601)

プロバイダーでモデルをフィルタリング

GET https://api.ofox.ai/anthropic/v1/models/{provider}

パスパラメータ

パラメータ説明
providerstringプロバイダー識別子(例:anthropicopenaigoogle

リクエスト例

Terminal
# Claude シリーズのモデルのみ一覧表示 curl https://api.ofox.ai/anthropic/v1/models/anthropic

レスポンス形式

レスポンス形式は全モデル一覧と同じです。data 配列には指定されたプロバイダーのモデルのみが含まれます。

モデル詳細の取得

GET https://api.ofox.ai/anthropic/v1/models/{provider}/{model_id}

パスパラメータ

パラメータ説明
providerstringプロバイダー識別子(例:anthropic
model_idstringモデル名(例:claude-sonnet-4.5

リクエスト例

Terminal
curl https://api.ofox.ai/anthropic/v1/models/anthropic/claude-sonnet-4.5

レスポンス形式

単一のModelオブジェクトを返します。構造はリストインターフェースのオブジェクトと同じです。

Last updated on