Skip to Content
API リファレンスOpenAI 互換プロトコルModels

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-5.5", "object": "model", "created": 1790553600, "owned_by": "bedrock", "canonical_slug": "claude-sonnet-5-5", "name": "Anthropic: Claude Sonnet 5.5", "description": "Claude Sonnet 5.5 is Anthropic's Sonnet-tier model, offering a balance of speed and intelligence for coding, reasoning, and agentic workloads. It supports text, image, and file inputs with text output, with a 1M-token context window and up to 128K output tokens, at a lower per-token price than Claude Opus 5.5.", "context_length": 1000000, "architecture": { "modality": "text+image+file->text", "input_modalities": [ "text", "image", "file" ], "output_modalities": [ "text" ], "tokenizer": "claude", "instruct_type": null }, "pricing": { "prompt": "0.000002", "completion": "0.00001", "input_cache_read": "0.0000002", "input_cache_write_5m": "0.0000025", "input_cache_write_1h": "0.000004", "web_search": "0.015" }, "top_provider": { "context_length": 1000000, "max_completion_tokens": 128000, "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, "is_deprecated": false, "supported_endpoints": [ "/v1/chat/completions", "/v1/responses" ], "aliases": [ "claude-sonnet-5-5", "claude-sonnet-5.5" ] } ] }

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

フィールド型説明
idstringモデル識別子(例:"anthropic/claude-sonnet-5.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プロバイダー識別子(例:anthropic、openai、google、qwen、volcengine)

リクエスト例

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-5.5)

リクエスト例

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

レスポンス形式

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

最終更新日