Batchrouter Docs

Models & catalog

Browse the Batchrouter model catalog — filter by provider, read per-provider pricing and capacity, and pick the right model.

Not open yet

Sign-up is not open yet. The API routes for batches, chat completions and the OpenAI-compatible endpoints are not yet available.

The catalog is the source of truth for which models Batchrouter can route to, and what each one costs per provider. Read it before you quote or submit a batch so you reference a model id that actually exists and matches your operation, region, and privacy needs.

GET /v1/catalog/models is public and requires no authentication — call it from anywhere, including the browser, to discover available models.

List the catalog

The base call returns every model with its routing eligibility, context limits, and per-provider pricing.

curl https://api.batchrouter.com/v1/catalog/models

The response is { data: CatalogModel[], provider_count, pricing_updated_at }.

Filter the catalog

Narrow the list with a query parameter.

ParameterValuesFilters to
providera provider slug (e.g. openai, anthropic)Models offered by that provider

For example, list the models one provider offers:

curl "https://api.batchrouter.com/v1/catalog/models?provider=openai"

What a model entry exposes

Each CatalogModel describes the model once at the top level, then carries a provider_offerings array — one snapshot per provider that serves the model. The same model (for example, an open-weight model) can appear under several providers at different prices and in different regions; Batchrouter routes across all of them.

Top-level fields you'll use most:

  • model — the model id you pass as model to quotes and batches (for example gpt-5.4-mini). It is the provider's own id for the model, so it can contain dots or slashes (meta-llama/Llama-3.3-70B-Instruct-Turbo).
  • slug — a URL-safe form of the same model (gpt-5-4-mini), used only in the path of GET /v1/catalog/models/{slug}. Do not pass it as model.
  • display_name, provider — human label and the primary provider slug.
  • context_window, max_input_tokens, max_output_tokens — token limits.
  • input_modalities — accepted inputs: text only, so every model reports ["text"].
  • is_available — whether the model is currently routable.
  • direct_only — present and true when every provider lane that serves the model takes chat completions only. Such a model answers direct requests through POST /v1/chat/completions and takes no batch work, and its catalog prices are the lanes' direct prices. Its example_batch is then a chat-completions request, { direct_only: true, endpoint: "POST /v1/chat/completions", body }, not a batch item. The field is absent on any model with at least one lane that takes batch work.

Each entry in provider_offerings is where per-provider routing detail lives:

  • Lane id — lane_id (ln_ and 16 hex digits), the stable id of the lane this offering belongs to. It stays the same when the provider edits the lane.
  • Pricing — price (per-provider, provider-declared rates). The top-level pricing_updated_at tells you how fresh the price data is.
  • Capacity — capacity_status (active, draining, paused), available_queue_items, available_queue_tokens, and a capacity_freshness object (fresh / stale_heartbeat / unknown). Lanes marked stale_heartbeat are not treated as live routable supply.
  • Regions — the offering's regions tags. For a provider that declares the countries it runs inference in, every offering carries the same tags, derived from those countries: the countries themselves, plus EU when all of them are EU members. Batchrouter publishes this metadata; it is not an enforced residency guarantee. The region_unavailable check does not read this per-offering field. It compares your allowed_regions with what the provider declares for itself: see Region matching.
  • Data retention & privacy — retention_days, supports_zdr (zero data retention), data_collection (allow / deny), training_use, and privacy_terms_url.
  • Capabilities — runtime_capabilities.
  • Status — status (active, paused, deprecated, disabled) and metadata_verification_status (verified / unverified / undeclared).

Trimmed example

The shape below is illustrative and abridged — real responses contain more fields and many models. Always read live data from GET /v1/catalog/models; prices and capacity change frequently.

{
  "data": [
    {
      "slug": "gpt-5-4-mini",
      "model": "gpt-5.4-mini",
      "display_name": "GPT-5.4 mini",
      "provider": "openai",
      "context_window": 1000000,
      "max_output_tokens": 128000,
      "input_modalities": ["text"],
      "is_available": true,
      "provider_offerings": [
        {
          "provider": "openai",
          "provider_name": "OpenAI",
          "context_window": 128000,
          "price": { "currency": "usd", "input_per_mtok": "0.15", "output_per_mtok": "0.60" },
          "capacity_status": "active",
          "regions": ["global"],
          "retention_days": 30,
          "supports_zdr": false,
          "status": "active"
        }
      ]
    }
  ],
  "provider_count": 1,
  "pricing_updated_at": "2026-06-17T09:00:00Z"
}

Picking a model

Batchrouter accepts two ways to choose a model in a quote (POST /v1/quotes/model) or batch (POST /v1/batches):

  1. Pin one model. Set model to a single model id when you need a specific model. Batchrouter still routes across every provider that offers that model and picks the cheapest eligible lane.

    { "model": "gpt-5.4-mini" }
  2. Offer a fallback list. Set models to an array of candidate model ids and Batchrouter picks the cheapest one that satisfies your constraints (capacity, region, required tools). Use this when several models would do and price is what matters.

    { "models": ["gpt-5.4-mini", "claude-haiku-4-5", "Qwen/Qwen2.5-7B-Instruct"] }

The canonical item you'll quote against:

{"customer_item_id":"item-1","operation": "chat.completions","model":"gpt-5.4-mini","input":{"messages":[{"role":"user","content":"Summarize: Batchrouter routes batch-AI workloads across providers."}]}}

The ids above are live catalog models. The catalog changes, so list the currently routable ones with GET /v1/catalog/models and pass the model value of one of those entries.

Quotes and batches never route to a model with direct_only: true, because it has no lane that takes batch work. Send its requests to chat completions instead, or pick a model without the flag.

Next steps