Models
Only endpoints that intentionally differ from the standard API carry a chip; the chip links to the note that explains the difference.
Model ids use the form family/model, for example cbcn/glm-5.3 or cc/claude-opus-5. The prefix identifies which upstream family serves the model. Call GET /v1/models for the live catalogue, or browse Dashboard → Models & pricing with prices attached.
/v1/models/api/dashboard/catalogWith a valid owner API key, GET /v1/models also includes your private combo/<slug> aliases. Unauthenticated catalog responses contain ordinary models only. See Combos for routing, permissions, and billing.
/v1/images, /v1/videos or generations endpoint — inference is chat and messages only. modality is a catalogue label passed through from upstream (upstream/), not a capability gate: nothing in the inference path checks it. What decides a call is priced plus enabled plus your key allowlist.GET /api/dashboard/catalog?all=1 is a read filter that includes unpriced models; there is no user-facing toggle to enable or disable catalogue entries. Enabling stays operator-side.POST /v1/messages for such an id returns 404 not_found_error before any hold or charge, while the same id keeps working on POST /v1/chat/completions. Use the error type rather than assuming every catalogue entry is reachable from both endpoints.curl https://atmorouter.dev/v1/models \ -H "Authorization: Bearer ar-xxxxxxxxxxxx"
{
"object": "list",
"data": [
{
"id": "cbcn/glm-5.3",
"object": "model",
"owned_by": "atmorouter",
"family": "CodeBuddy CN",
"pricing": { "input": 0.42, "output": 2.1, "cached_input": 0.042 },
"context_length": 200000,
"max_output_tokens": 8192,
"modality": "text",
"supports_cache": true
}
]
}Pricing fields
Marketplace prices are variable. A “From” price is the lowest advertised offer in the latest snapshot, not a fixed rate promised for every request. Offer tiers show final retail input and output rates in USD per million tokens. Availability counts offers in that snapshot; it does not promise free slots or count unique publishers. An offer whose rate would exceed the model's official list rate is not offered at all, so every tier you see is at or below official. Your charge uses the actual selected offer rate, subject to your budget. Use Budgets to require a minimum percentage off official input and output rates.
pricing.input and pricing.output are USD per million tokens and are billed separately. Output is normally several times more expensive than input, so a chatty completion costs more than a long prompt. pricing.cached_input is the advertised cache-hit input rate. Use the selected offer's applicable cache rate when reconciling usage. Cached-input savings do not replace the input and output rate caps or the paid-request minimum.
Prompt caching
Models with supports_cache: true can reuse a repeated prompt prefix on second-and-later turns of the same conversation. Cached input tokens are reported in the usage block and bill at the selected offer's cache rate, so you can see the effect. Caching is a property of the upstream model, not something you enable per request.
Catalogue changes
The catalogue and its prices are refreshed continuously from live upstream capacity, so models can appear, disappear, or change price. A model priced above its own official list rate is not listed: it is not a premium offer and does not appear in /v1/models. Read the model list at startup rather than hardcoding it, and handle HTTP 404 for a model that is no longer available.
Resolution: exact id, no aliases, no fallback
The model string is looked up by exact id against the enabled catalogue. There is no alias mechanism, no bare-name resolution, and no fallback: a short name, a typo, a disabled entry, or an id that was never priced all answer the same way — HTTP 404 with model_not_found. Read GET /v1/models at startup and send the id verbatim.
{
"error": {
"message": "model \"cbcn/glm-5.3\" not available",
"type": "model_not_found"
}
}Order matters when several checks could fire: a key allowlist miss answers 403 model_not_allowed before the catalogue is even consulted, and the 404 itself fires before any balance check. A 404 therefore never means your balance is empty — it means the id did not resolve.