Models & IDs

How model ids work: canonical 2-segment ids, branded aliases, and the companyfabric/* meta-models, plus the /v1/models listing endpoint.

List models

Public endpoint, no auth required. Returns every model with its id, modality, and pricing, the same catalog that powers the model pages.

curl https://api.companyfabric.com/v1/models

Canonical ids

Model ids use the 2-segment provider/model form, e.g. anthropic/claude-sonnet-5-5 or openai/gpt-5.5. If you are migrating from another OpenAI-compatible gateway, your existing ids resolve unchanged.

Meta-models

Five routed model strings pick the concrete model for you per request:

  • companyfabric/auto, best available default for the request
  • companyfabric/fast, lowest latency tier
  • companyfabric/cheap, lowest cost tier
  • companyfabric/best, maximum quality tier
  • companyfabric/code, tuned for coding workloads

Search models

The listing also has the search models for POST /v1/search (/docs/search), with modality search and a per-request price: the modes companyfabric/search and companyfabric/auto-search, and the engines deepseek/search, exa/search and parallel/search. Each engine carries access: credits means it bills your balance, byok means it runs only on your own provider key from the BYOK vault. Its pricing is the provider's own per-request price plus a feeMultiplier: a search on the balance bills that price times provider tax times feeMultiplier (2 for DeepSeek search, not the 1.05 on chat). They are not chat models, and sending one to /v1/chat/completions answers wrong_endpoint.

Branded aliases

Every canonical id also resolves under a 3-segment branded alias (companyfabric/anthropic/sonnet-5-5), useful when you want configs to be visibly CompanyFabric. Both spellings hit the same catalog entry and price.