Models API
OfoxAIプラットフォーム上の利用可能な全モデルの一覧とクエリを行います。返されるデータはOpenRouter標準に準拠しており、モデルの完全なメタデータ(アーキテクチャ、料金、対応パラメータなど)を含みます。
Models APIはパブリックインターフェースです。API Key不要でご利用いただけます。レスポンスの各フィールドの詳細についてはモデルカタログ — Models API標準をご覧ください。
全モデルの一覧
GET https://api.ofox.ai/v1/modelsリクエスト例
cURL
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"
]
}
]
}レスポンスフィールド説明
プロバイダーでモデルをフィルタリング
GET https://api.ofox.ai/v1/models/{provider}指定されたプロバイダーのモデルリストのみを返します。
パスパラメータ
リクエスト例
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}パスパラメータ
リクエスト例
Terminal
curl https://api.ofox.ai/v1/models/anthropic/claude-sonnet-5.5レスポンス形式
単一のModelオブジェクトを返します。構造はリストインターフェースのオブジェクトと同じです。
最終更新日