List Models API

The Models API returns the full catalog of models available through FastRouter, including metadata such as provider, context window, pricing, and capabilities.

List Models Endpoint

GET https://go.fastrouter.ai/api/v1/models

Example: List All Models (cURL)

curl --location 'https://go.fastrouter.ai/api/v1/models' \
  --header "Authorization: Bearer API-KEY"

Python Example Using OpenAI SDK

from openai import OpenAI

client = OpenAI(
    api_key="API-KEY",
    base_url="https://go.fastrouter.ai/api/v1"
)

models = client.models.list()
for m in models.data:
    print(m.id, "-", m.name)

Last updated