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-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
}
]
}レスポンスフィールド説明
| フィールド | 型 | 説明 |
|---|---|---|
id | string | モデル識別子(例:"anthropic/claude-sonnet-4.5") |
canonical_slug | string | 永続識別子(変更されません) |
name | string | モデル表示名 |
created | number | 追加日時(Unixタイムスタンプ) |
description | string | モデル機能の説明 |
context_length | number | 最大コンテキストウィンドウ(トークン数) |
architecture | object | 入出力モダリティ、トークナイザー情報 |
pricing | object | 料金(USD/トークン) |
top_provider | object | プロバイダー設定(コンテキスト制限、最大出力数など) |
supported_parameters | string[] | 対応APIパラメータ |
プロバイダーでモデルをフィルタリング
GET https://api.ofox.ai/v1/models/{provider}指定されたプロバイダーのモデルリストのみを返します。
パスパラメータ
| パラメータ | 型 | 説明 |
|---|---|---|
provider | string | プロバイダー識別子(例:anthropic、openai、google、bailian、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}パスパラメータ
| パラメータ | 型 | 説明 |
|---|---|---|
provider | string | プロバイダー識別子(例:anthropic) |
model_id | string | モデル名(例:claude-sonnet-4.5) |
リクエスト例
Terminal
curl https://api.ofox.ai/v1/models/anthropic/claude-sonnet-4.5レスポンス形式
単一のModelオブジェクトを返します。構造はリストインターフェースのオブジェクトと同じです。
Last updated on