---
title: "Fallback models for an uncensored API integration"
canonical: https://uncensoredllm.ai/uncensored-model-fallback
generated: 2026-11-23T06:12:12.861Z
source: https://uncensoredllm.ai/uncensored-model-fallback
base_url: https://api.uncensoredllm.ai/v1
---

# Fallbacks when an uncensored model goes down.

Updated November 23, 2026.

Community builds appear, get renamed and disappear, so anything in production should know what to do when its chosen id stops answering. On `https://api.uncensoredllm.ai/v1` that takes three pieces: the catalog’s `availability` field, read before you send; a `models` list on the request itself, so the gateway moves to the next id when the first fails before a byte reaches you; and the `auto/…` profiles, which carry their own ordered lists so you never pin a single build at all. The answering model is named in the body’s `model` field and billed at its own price.

[Get a key](https://app.uncensoredllm.ai/console)

## Read availability before you send

Every row in `GET /v1/catalog` carries an `availability` value taken from real traffic in the last hour. The [status page](https://uncensoredllm.ai/status) defines the four values: `ok` when requests were answered with no failure pattern; `degraded` when at least one request in five failed; `down` when requests failed and none was answered; `unknown` when nobody called the model in that hour, in which case the daily check is the only signal. The catalog needs no key, answers any origin and is cached for five minutes, so polling it from a cron job costs nothing.

```bash
curl -s https://api.uncensoredllm.ai/v1/catalog \
  | jq -r '.data[] | select(.availability != "ok") | "\(.id)\t\(.availability)"'
```

Two more public feeds complete the picture. `GET /v1/status` is the same data behind the status page as JSON, cached for sixty seconds, with the hourly API probe and the models affected in the latest hour; point your own monitoring at it. `GET /v1/proof` answers a different question: whether each build still answers like the model it is named after. Once a UTC day a fixed prompt goes to every route of every model, and the input token count it reports acts as a fingerprint set by the developer’s tokenizer, so a swapped or re-prompted model shows up as a changed count. An id can be `ok` on availability and `changed` on the [proof page](https://uncensoredllm.ai/proof); for an uncensored build, the second is the one that tells you its character has moved.

## Name several models on one request

The chat body takes a `models` array next to `model`: up to five further ids, tried in order. The OpenAPI document is precise about when the next one is tried: only after every route behind the previous id has failed before a byte reached you. A stream therefore falls back only before its first token; once output has started the gateway does not switch models mid-answer, and your client’s own retry handles a broken stream. Each entry obeys the key’s model allowlist, the one that answers is named in the body’s `model` field, and that is the one billed, at its own price. The same field works in an Anthropic-format body on the Messages route.

```
from openai import OpenAI

client = OpenAI(base_url="https://api.uncensoredllm.ai/v1", api_key="sk-ullm-live-…")

reply = client.chat.completions.create(
    model="glm-5.3-flash-abliterated",
    messages=[{"role": "user", "content": "Summarise the thread below and list the open questions."}],
    extra_body={
        "models": ["deepseek-v4.1-flash-abliterated", "apex-flash-1-abliterated", "glm-5.3-abliterated"],
        "routing": "latency",
    },
    max_tokens=600,
)
print(reply.model)        # which of the four answered
print(reply.usage)        # tokens, and usage.cost for the charge
```

Order the list by preference, not by price alone: the first id that answers is the one you pay for, so a fallback that costs $2.1825 / $4.365 per million behind a first choice at $0.4656 / $1.94 is a deliberate step up you accept in exchange for an answer. Keep the fallbacks in the same family or the same tag as the first choice so a swap does not change the character of the output; an abliterated first choice with abliterated fallbacks keeps the no-refusal property through the whole chain.

`routing` is a separate knob: `"price"`, `"latency"` or `"throughput"` sets the order in which a single model’s own routes are tried, over the key’s default. The price is the same whichever route answers, so this is a speed preference, not a cost one. `provider.sort` with the same three values is read as `routing` for clients that already send it.

A key can hold a default `fallback_models` list that applies whenever a request names none, and a preset holds a model plus up to five fallbacks under one name, so a front end that can only type a model id can call `@preset/<name>` and inherit the chain. The [custom models page](https://uncensoredllm.ai/custom-models) covers presets.

## Let a profile choose

The four auto profiles are fallback lists the catalog maintains for you. `auto/uncensored`, `auto/abliterated`, `auto/roleplay` and `auto/security` each pick only from builds carrying the matching tag, from three tiers the router tries in order, and `auto.tier_max` caps how high a request may go. The lists are public in the catalog’s `auto_router.profiles` and render here from it. `auto/security` holds red-team analyst builds for defensive security tooling; its ids are in the catalog’s `auto_router.profiles.security`.

| Profile | Fast tier | Balanced tier | Frontier tier |
| --- | --- | --- | --- |
| `auto/uncensored` | `glm-5.3-flash-uncensored`, `glm-5.3-uncensored`, `deepseek-v4-pro-uncensored` | `jailbreak-free-assistant`, `deepseek-v4.1-flash-1017-uncensored`, `mimo-v2.6-pro-uncensored` | `nemotron-3-ultra-550b-a55b-uncensored`, `kimi-k3.1-pro-uncensored`, `mimo-v2.6-flash-uncensored-thinking`, `kimi-k3-uncensored` |
| `auto/abliterated` | `deepseek-v4.1-flash-abliterated`, `glm-5.3-flash-abliterated`, `apex-flash-1-abliterated` | `deepseek-v4.1-flash-1017-heretic-uncensored`, `glm-5.3-flash-apex-abliterated`, `abliterated-model-large-flash`, `mimo-v2.6-flash-abliterated` | `glm-5.3-abliterated`, `abliterated-model-large`, `abliterated-model` |
| `auto/roleplay` | `gemma-4-31b-novelist` | `qwen3.8-27b-synthia`, `artemis-v1.1` | `wayfarer-large-70b`, `qwen3.8-27b-fable` |

Tier lists from `auto_router.profiles` on 2026-11-23; ids with availability other than ok are left out of the table.

The router sorts each request on the gateway’s side without calling a model first. Frontier takes reasoning requests, high reasoning effort, and tool use mixed with code; balanced takes tool calls, code blocks, image parts, JSON-schema answers and any prompt longer than 16,000 tokens; the rest stays in fast. Inside a tier the ids are tried top to bottom, so a profile is a router and a fallback chain in one. Send an `x-session-id` header and whichever build answered first stays on that session for thirty minutes after its last request, so a character’s voice holds across a scene even while the list underneath is being edited. The [auto router page](https://uncensoredllm.ai/auto-router) explains the tiers.

## What a failure costs

A request that fails before any model answers is not charged. Before a fallback id is ever considered, a `5xx` or `429` from one of a model’s routes sends the request to another of its routes at the same price; a `429` that reaches you carries a `retry-after` header with the seconds to wait. When a fallback answers, the charge is that model’s input and output rate on the tokens it processed, and nothing for the ids that failed ahead of it. Every response, errors included, carries a request id in its headers; keep it if you write in.

## Fallbacks: questions

### How do I know a model is down before I send?

Read its row in GET /v1/catalog: availability is ok, degraded, down or unknown, from real traffic in the last hour, cached five minutes and free to poll. GET /v1/status adds the hourly probe as JSON, and the proof page says whether the build still answers like itself.

### Can one request name several models?

Yes. Put the first choice in model and up to five more in models, in order. The next is tried only when every route of the one before failed before a byte reached you, so a stream switches only before its first token. The body’s model field names the one that answered.

### What is billed when a fallback answers?

The answering model’s own price, on the tokens it read and wrote, reported as usage.cost in the response body. The ids that failed ahead of it cost nothing, and a route retry on the same model never changes the rate.

## Read next

- [Live availability per model](https://uncensoredllm.ai/status)
- [The daily real-model check](https://uncensoredllm.ai/proof)
- [The auto router and its tiers](https://uncensoredllm.ai/auto-router)
- [Routing and presets](https://uncensoredllm.ai/features/routing)
- [Presets under one name](https://uncensoredllm.ai/custom-models)
- [Every price](https://uncensoredllm.ai/pricing)
