BazaarLinkBazaarLink
Sign in
DocsAPI ReferenceSDK ReferenceAgentic UsageAI Skills
Models

List available models

Returns all available models, filterable via output_modalities (see List embedding models — the same endpoint with output_modalities=embeddings applied). Without an Authorization header, returns the full public list with public caching; with a Bearer key belonging to an organization, the response is filtered by that org's model allowlist and switches to private, short-lived caching.

GET/api/v1/models

Query parameters

output_modalities
string

A single comma-separated string (not repeated same-name query keys), e.g. image or text,image. Pass all to get every modality. Defaults to text only when omitted. Unrecognized values return 400. Common uses: for text models, keep the default or pass text explicitly; image models pass image; embeddings pass embeddings; text-to-speech pass speech and speech-to-text pass transcription; audio, video, and rerank are available the same way (some categories currently have few or no listed models); to get the union across every category at once (not a sum — a single model can belong to more than one) pass all.

comma-separated, single value
textimageembeddingsaudiovideorerankspeechtranscriptionall
Example: "text,image"
GET /api/v1/models
curl "https://bazaarlink.ai/api/v1/models?output_modalities=all"
Response examples

Success. id is the short form (e.g. "gpt-4o") when the name is unambiguous across providers, otherwise (or when the model is media-billed) the canonical form (e.g. "openai/gpt-4o") — the canonical id is always additionally listed in aliases. Free models get an extra entry using the canonical id plus :free (zero pricing; a discovery signal, not a second real model). When the filter covers text, the list also includes the auto and auto:free virtual routing entries (owned_by "bazaarlink", not backed by any single real model); auto's pricing is "-1"/"-1" (meaning the actual routed model decides the cost) — only auto:free is genuinely zero-cost.

{
  "object": "list",
  "data": [
    {
      "id": "gpt-4o",
      "object": "model",
      "owned_by": "openai",
      "name": "OpenAI: GPT-4o",
      "description": "OpenAI's multimodal flagship model.",
      "context_length": 128000,
      "aliases": [
        "openai/gpt-4o"
      ],
      "pricing": {
        "prompt": "0.0000025",
        "completion": "0.00001"
      },
      "architecture": {
        "modality": "text+image->text",
        "input_modalities": [
          "text",
          "image"
        ],
        "output_modalities": [
          "text"
        ]
      },
      "knowledge_cutoff": "2023-10",
      "max_completion_tokens": 16384
    },
    {
      "id": "openai/gpt-4o:free",
      "object": "model",
      "owned_by": "openai",
      "name": "OpenAI: GPT-4o (free)",
      "description": "Rate-limited free tier. OpenAI's multimodal flagship model.",
      "context_length": 128000,
      "aliases": [],
      "pricing": {
        "prompt": "0",
        "completion": "0"
      },
      "architecture": {
        "modality": "text+image->text",
        "input_modalities": [
          "text",
          "image"
        ],
        "output_modalities": [
          "text"
        ]
      }
    },
    {
      "id": "auto",
      "object": "model",
      "owned_by": "bazaarlink",
      "name": "Auto Router",
      "description": "Automatically selects the best model for the request.",
      "aliases": [],
      "pricing": {
        "prompt": "-1",
        "completion": "-1"
      },
      "architecture": {
        "modality": "text->text",
        "input_modalities": [
          "text"
        ],
        "output_modalities": [
          "text"
        ]
      }
    }
  ]
}
Support
Support
Hi! How can we help you?
Send a message and we'll get back to you soon.
List available models — BazaarLink API