Skip to main content
GET
/
gateway
/
models
List gateway models
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch('https://api.phaseo.app/v1/gateway/models', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "ok": true,
  "privacy_scope": "shared",
  "limit": 50,
  "offset": 0,
  "total": 128,
  "models": [
    {
      "id": "<string>",
      "canonical_slug": "<string>",
      "model_id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "created": 123,
      "release_date": "<string>",
      "deprecation_date": "<string>",
      "retirement_date": "<string>",
      "status": "<string>",
      "lifecycle": {
        "status": "active",
        "deprecation_date": "<string>",
        "retirement_date": "<string>",
        "replacement_model_id": "<string>",
        "message": "<string>"
      },
      "organisation_id": "<string>",
      "organisation_name": "<string>",
      "organisation_colour": "<string>",
      "aliases": [
        "<string>"
      ],
      "endpoints": [
        "<string>"
      ],
      "input_types": [
        "<string>"
      ],
      "output_types": [
        "<string>"
      ],
      "providers": [
        {
          "api_provider_id": "<string>",
          "is_active_gateway": true,
          "params": [
            "<string>"
          ]
        }
      ],
      "supported_params": [
        "<string>"
      ],
      "supported_parameters": [
        "<string>"
      ],
      "architecture": {
        "modality": "<string>",
        "input_modalities": [
          "<string>"
        ],
        "output_modalities": [
          "<string>"
        ],
        "tokenizer": "<string>",
        "instruct_type": "<string>"
      },
      "top_provider_id": "<string>",
      "top_provider": {
        "context_length": 123,
        "max_completion_tokens": 123,
        "is_moderated": true
      },
      "pricing": {
        "prompt": "<string>",
        "completion": "<string>",
        "request": "<string>",
        "image": "<string>",
        "input_cache_read": "<string>",
        "input_cache_write": "<string>",
        "web_search": "<string>"
      },
      "pricing_detail": {
        "pricing_plan": "<string>",
        "meters": {}
      },
      "per_request_limits": {}
    }
  ]
}
Returns the public gateway catalogue for models that are currently routable. The response is gateway-native: model IDs, endpoint names, providers, supported params, and pricing are derived from gateway tables rather than the internal model metadata catalogue. Notes:
  • endpoints use public names like chat.completions, responses, and messages.
  • organisation filters by the prefix in the public model ID, for example anthropic in anthropic/claude-3-haiku.
  • privacy_scope=shared is supported today. privacy_scope=team is reserved and currently returns 501.

Response

{
  "ok": true,
  "privacy_scope": "shared",
  "limit": 50,
  "offset": 0,
  "total": 99,
  "models": [
    {
      "id": "anthropic/claude-3-haiku",
      "canonical_slug": "anthropic/claude-3-haiku",
      "model_id": "anthropic/claude-3-haiku",
      "name": "anthropic/claude-3-haiku",
      "description": "anthropic/claude-3-haiku via AI Stats Gateway. Supports chat.completions, messages, responses.",
      "created": null,
      "release_date": null,
      "deprecation_date": null,
      "retirement_date": null,
      "status": "active",
      "organisation_id": "anthropic",
      "organisation_name": null,
      "organisation_colour": null,
      "aliases": [],
      "endpoints": ["chat.completions", "messages", "responses"],
      "input_types": ["text"],
      "output_types": ["text"],
      "architecture": {
        "modality": "text->text",
        "input_modalities": ["text"],
        "output_modalities": ["text"],
        "tokenizer": null,
        "instruct_type": "chat"
      },
      "providers": [
        {
          "api_provider_id": "anthropic",
          "is_active_gateway": true,
          "params": [
            "max_tokens",
            "response_format",
            "stop",
            "structured_outputs",
            "temperature",
            "tool_choice",
            "tools",
            "top_k",
            "top_p"
          ]
        }
      ],
      "supported_params": [
        "max_tokens",
        "response_format",
        "stop",
        "structured_outputs",
        "temperature",
        "tool_choice",
        "tools",
        "top_k",
        "top_p"
      ],
      "supported_parameters": [
        "max_tokens",
        "response_format",
        "stop",
        "structured_outputs",
        "temperature",
        "tool_choice",
        "tools",
        "top_k",
        "top_p"
      ],
      "top_provider_id": null,
      "top_provider": {
        "context_length": null,
        "max_completion_tokens": null,
        "is_moderated": false
      },
      "pricing": {
        "prompt": null,
        "completion": null,
        "request": null,
        "image": null,
        "input_cache_read": null,
        "input_cache_write": null,
        "web_search": null
      },
      "pricing_detail": {
        "pricing_plan": "standard",
        "meters": {}
      },
      "per_request_limits": null
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token authentication

Query Parameters

endpoints
string[]

Filter by endpoints

organisation

Filter by organisation Organisation identifier.

Available options:
ai21,
aion-labs,
allenai,
amazon,
anthropic,
arcee-ai,
baidu,
black-forest-labs,
bytedance,
cohere,
cursor,
deepseek,
eleven-labs,
essential-ai,
google,
ibm,
inception,
inclusionai,
kwaipilot,
lg,
liquid-ai,
meituan,
meta,
microsoft,
minimax,
mistral,
moonshotai,
naver-hyperclova,
nous,
nvidia,
openai,
perplexity,
prime-intellect,
qwen,
relace,
sourceful,
stepfun,
suno,
upstage,
vercel,
voyage,
x-ai,
xiaomi,
z-ai
input_types
string[]

Filter by input types

output_types
string[]

Filter by output types

params
string[]

Filter by params

limit
integer
default:50

Limit the number of results

Required range: 1 <= x <= 250
offset
integer
default:0

Offset for pagination

Required range: 0 <= x <= 5000
format
enum<string>
default:json

Response format. Defaults to json.

Available options:
json,
rss,
atom
feed
enum<string>

Alias for format. Accepts json, rss, or atom.

Available options:
json,
rss,
atom

Response

List of models

ok
boolean
required
Example:

true

privacy_scope
enum<string>
required
Available options:
shared,
team
Example:

"shared"

limit
integer
required
Required range: 1 <= x <= 250
Example:

50

offset
integer
required
Required range: 0 <= x <= 5000
Example:

0

total
integer
required
Required range: x >= 0
Example:

128

models
object[]
required
Last modified on March 11, 2026