Overview

There are two model lists:
  • Hosted Cloud API (https://api.allternit.com/v1): the public models you pay for with Allternit Cloud credits. Prices in this list are what a request is billed.
  • Local runtime gateway (http://127.0.0.1:8013/v1): the gateway inside the Allternit runtime on your own machine. It lists the Fabric model catalog, filtered by the virtual key’s allowlist, plus policy aliases and a pricing snapshot.

Hosted Cloud API

GET https://api.allternit.com/v1/models lists every model you can call with POST /v1/chat/completions. It needs no API key. The recommended model comes first. Retired aliases come last, flagged hidden, so saved bots and old clients keep working.

Example response

Fields

A model can carry more metadata from its host, such as description, architecture and supported_parameters. To get a price per 1M tokens, multiply prompt_price or completion_price by 1,000,000. The Cloud API has no /v1/models/{id} or /v1/pricing route: use this list.

Credits

The list is public, but calling a model needs Cloud credits. A call from an account with no credits answers 402 credits_required, and one whose balance is at or below $0 answers 402 credits_exhausted. Your own provider keys, plan models and platform project runtimes are billed their own way and skip this check. The list has no per-account lock: read cloud_models on GET /api/v1/billing/credits or GET /api/v1/me/usage (see Cloud billing). Details and the error body: Chat Completions.

Local runtime gateway

GET /v1/models on the runtime gateway is served by the Fabric model catalog. It requires an active organization (403 organization_required otherwise) and lists catalog entries, not policy aliases.

Example response

Model object fields

Thinking levels (Cloud API and runtime gateway)

GET /api/v1/models/thinking returns the shared thinking table: each vendor’s word and level labels, and the levels and default for each model pattern. Pickers match a model id against it (lowercase, . read as -, any provider/ prefix dropped, a trailing * as a prefix, first match wins).
  • Cloud API: public, no sign-in. The body is the table file unchanged, with a strong ETag and Cache-Control: public, max-age=3600. Send the ETag in If-None-Match to get 304 Not Modified. Web and phones read it here with no computer.
  • Runtime gateway: the same table, served on the computer.

Policy aliases

Policy aliases (runtime gateway) are not returned by /v1/models. Pass one as the model of a chat completion to trigger the gateway’s benchmark-weighted router, which picks a concrete provider/model pair and derives a cross-provider fallback chain.

Open lane (Cloud API)

On the hosted Cloud API, every model in GET /v1/models carries a lane field: standard, or open for open-weight models with far fewer refusals (for example deepseek-v4.1-flash-open, glm-5.3-flash-open). Open rows add open.access: plan for rows any entitled account can use, research for Open Research rows. Research rows are left out of the list for accounts without Open Research. The price shown is the billed price. Open models need the acceptable use policy, an 18+ confirmation, and a paid plan (see the entitlement rules). Every request passes the hard-line filter. See Open lane and refusal handoff.

Retrieve a model (runtime gateway)

Returns one model object as above. An unknown id returns 404 with { "error": "model_not_found", "message": "..." }. Aliases are not retrievable here.

Pricing (runtime gateway)

GET /v1/pricing on the runtime gateway returns the current per-model rates in dollars per 1 million tokens.

Pricing fields

Error codes