Skip to Content

Models API

OfoxAIプラットフォーム上の利用可能な全モデルの一覧とクエリを行います。返されるデータはOpenRouter標準に準拠しており、モデルの完全なメタデータ(アーキテクチャ、料金、対応パラメータなど)を含みます。

Models APIはパブリックインターフェースです。API Key不要でご利用いただけます。レスポンスの各フィールドの詳細についてはモデルカタログ — Models API標準をご覧ください。

全モデルの一覧

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

リクエスト例

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

レスポンス形式

{ "object": "list", "data": [ { "id": "anthropic/claude-sonnet-4.5", "object": "model", "created": 1759104000, "owned_by": "bedrock", "canonical_slug": "claude-sonnet-4-5-20250929", "name": "Claude Sonnet 4.5", "description": "Anthropic's balanced model with state-of-the-art performance...", "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.000003", "completion": "0.000015", "input_cache_read": "0.0000003", "input_cache_write_5m": "0.00000375", "input_cache_write_1h": "0.000006" }, "top_provider": { "context_length": 200000, "max_completion_tokens": 16384, "is_moderated": false }, "per_request_limits": null, "supported_parameters": [ "temperature", "top_p", "max_tokens", "stop", "tools", "tool_choice", "response_format", "reasoning" ], "default_parameters": null, "expiration_date": null } ] }

レスポンスフィールド説明

フィールド説明
idstringモデル識別子(例:"anthropic/claude-sonnet-4.5"
canonical_slugstring永続識別子(変更されません)
namestringモデル表示名
creatednumber追加日時(Unixタイムスタンプ)
descriptionstringモデル機能の説明
context_lengthnumber最大コンテキストウィンドウ(トークン数)
architectureobject入出力モダリティ、トークナイザー情報
pricingobject料金(USD/トークン)
top_providerobjectプロバイダー設定(コンテキスト制限、最大出力数など)
supported_parametersstring[]対応APIパラメータ

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

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

指定されたプロバイダーのモデルリストのみを返します。

パスパラメータ

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

リクエスト例

Terminal
# すべてのAnthropicモデルを一覧表示 curl https://api.ofox.ai/v1/models/anthropic # すべてのOpenAIモデルを一覧表示 curl https://api.ofox.ai/v1/models/openai

レスポンス形式

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

モデル詳細の取得

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

パスパラメータ

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

リクエスト例

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

レスポンス形式

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

Last updated on