Models
Discover the public tier catalog at runtime with GET /api/v1/models.
GET /api/v1/models returns the public tier catalog (the tiers you can
pass as model, with their capabilities), so you read it at runtime
instead of hardcoding tier strings.
curl https://api.cruxy.ai/api/v1/models \
-H "Authorization: Bearer $CRUXY_API_KEY"const res = await fetch('https://api.cruxy.ai/api/v1/models', {
headers: { Authorization: `Bearer ${process.env.CRUXY_API_KEY}` },
})
const { data, cruxy } = await res.json()
for (const model of data) {
console.log(model.id, model.context_window, model.supports_tools)
}
console.log('thought lines:', cruxy.reasoning_summaries)import { Cruxy } from '@cruxy/api'
const cruxy = new Cruxy({ bearerAuth: process.env.CRUXY_API_KEY })
const { result } = await cruxy.models.listModels()
for (const model of result.data) {
console.log(model.id, model.contextWindow, model.supportsTools)
}Tiers, never provider models
The catalog lists Cruxy's public tiers (canto, saga, and
epos) in the OpenAI discovery shape. Each entry's id is the tier
string you pass as model to Chat. The response
never exposes the upstream provider model behind a tier, so a tier is a
stable id you can depend on even when the backing model changes.
Choosing a tier compares the tiers and
when to use each.
| Canto | Saga | Epos | |
|---|---|---|---|
| Model id | canto | saga | epos |
| What it is | The most capable tier. | The balanced tier. | The fastest tier. |
| Best for | The hardest tasks: deep reasoning over text. It does not read images. | Everyday calls: strong quality at lower latency and cost. | Short, high-volume calls where latency and cost matter most. |
Deprecated aliases
The tiers were renamed in API version 2026-10-18. Each former id is a deprecated alias of its new id: the gateway serves, bills, and records it as the same tier.
| Deprecated alias | Public id | Profile |
|---|---|---|
mira | epos | Fast |
vaani | saga | Balanced |
kavi | canto | Deep |
- Requests accept both, on every version. You can send
kavi,vaani, ormiraasmodelon anyCruxy-Version, and anywhere else a model is named on input, such as a key's allowed models. - Responses name the tier by version. From
Cruxy-Version: 2026-10-18, and on any request that sends noCruxy-Version, these response values use the new id:model,cruxy.routed_tier,routing.tier,usage.cost.tier, an error'stier, and the ids in this catalog. A request pinned to2026-10-07or earlier receiveskavi,vaani, andmirathere instead, whichever spelling it sent. - Fields named for Epos have a new name beside the old one. An error body
carries
epos_availablenext tomira_available, always with the same value, andGET /api/v1/limitscarriestoken_pool.eposnext totoken_pool.mira, present together with the same value. Read the new names. The old ones stay, so code that reads them keeps working. - Status components add
public_id. The chat tier components inGET /api/statuskeep the idskavi,vaani, andmira, and each also carriespublic_id:canto,saga, orepos. On every other component,public_idequalsid. Readpublic_idwhen it is present; see Reliability. - Removing an old name takes a new version. Dropping
mira_availableortoken_pool.mira, or changing a status component'sid, ships only under a new datedCruxy-Version, listed in the Changelog.
Switch your code to canto, saga, and epos, and compare a response's tier
against the new ids once you send Cruxy-Version: 2026-10-18 or later. See
Request IDs and metadata
for pinning a version.
Response shape
The envelope is a list of model objects, with a cruxy block beside it:
{
"object": "list",
"data": [
{ "object": "model", "id": "canto", "label": "Canto", "profile": "Deep" }
],
"cruxy": { "reasoning_summaries": false }
}cruxy.reasoning_summaries says whether this deployment sends thought lines
at all, read from the same switch the chat handler applies. false means no
turn gets them. true means a turn gets them only when it is a stream from a
signed-in credential that pins Cruxy-Version: 2026-11-13 or later; a
developer or headless key never does. See
Streaming.
Each entry describes one tier:
| Field | Meaning |
|---|---|
id | The tier string to pass as model, e.g. canto. |
label | The tier's display name: Canto, Saga, or Epos. |
profile | A one-word descriptor to show beside the label: Deep on canto, Balanced on saga, Fast on epos. It is display text, stable once shipped, and never a performance number. |
object | Always "model". |
created | A fixed Unix time in seconds, the same on every call, so the listing can be cached and compared. With owned_by it completes the OpenAI model object, which OpenAI clients require. |
owned_by | Always "cruxy", whatever model serves the tier. |
context_window | Maximum input size, in tokens. |
max_output | Maximum tokens the tier will generate. |
latency_target_ms | The tier's latency target, in milliseconds. |
reasoning | How the tier thinks when a request omits reasoning_effort. default_effort is the effort such a request gets, none, low, medium, or high, and the value echoed back as cruxy.reasoning_effort. graded says whether low, medium, and high are different depths on the tier; when it is false the control is on or off, so low thinks as long as high. See Reasoning effort. |
supports_tools | Whether the tier supports tool calling; see Define tools. |
supports_vision | Whether the tier reads images: a chat message's file_ids may name a JPEG, PNG, or WebP image. A tier where it is false refuses a turn that attaches one, and model: "auto" routes a turn with images to a tier where it is true. |
supports_structured_output | Whether the tier honours response_format json_object and json_schema. A structured request that names a tier where it is false is 422 structured_output_unsupported, and model: "auto" routes a structured request only to a tier where it is true; see Ask for structured output. |
pricing | currency, input_unit, and output_unit: the tier's input and output rates per million tokens. Rates are account-specific. |
Every field above is on every entry, and pricing and reasoning always
carry all of theirs. Read the concrete values from the live response rather
than assuming them; they can change as tiers evolve.
GET /v1/models, the OpenAI wire's listing, returns the same tiers with
id, object, created, and owned_by only, and no cruxy block.
Errors
GET /api/v1/models returns 401 if the key is missing or invalid. See
Errors.
Next steps
- Chat: use a tier id as
model. - Choosing a tier: pick the tier for each call.
- Define tools: for tiers where
supports_toolsis true. - Changelog: when the catalog's metadata changed.