---
title: "AI model router, pay as you go, no subscription"
canonical: https://relayswitch.io/auto-router
generated: 2026-11-08T07:18:37.733Z
source: https://api.relayswitch.io/v1/catalog
base_url: https://api.relayswitch.io/v1
---

Routing

# AI model router: one id, the right model per request

An AI router on a prepaid key: send model "auto" and the gateway picks a fast, balanced or frontier model for that request, billed at the model's own price. No router fee, no subscription; pay as you go by card or in USDT, USDC, BTC, ETH, SOL.

bash

1`curl https://api.relayswitch.io/v1/chat/completions -H "Authorization: Bearer sk-relay-..." -H "Content-Type: application/json" -d '{"model": "auto", "messages": [{"role": "user", "content": "Summarize this thread."}]}'`

[Create an auto router key](https://app.relayswitch.io/console/keys?auto=auto)[See the tiers today](#tiers)

How it decides

## How the AI router picks a model

Three tiers. The request is classified on the API, with no extra model call, from what it carries.

Fast

Everything the two tiers below do not claim: short chat turns, classification, extraction, rewrites.

5 models today. Input $0.0582 to $0.09, output $0.1455 to $0.36 per million tokens.

Balanced

Tools, code blocks, images, a json\_schema answer, or a prompt over 16,000 tokens.

5 models today. Input $0.3178 to $1.20, output $0.9987 to $4.50 per million tokens.

Frontier

A reasoning ask, a high reasoning effort, or tools together with code.

5 models today. Input $1.20 to $6.00, output $7.20 to $30.00 per million tokens.

| Tier | Model | Input | Output |
| --- | --- | --- | --- |
| fast | [Claude Haiku 5.5](https://relayswitch.io/models/claude-haiku-5-5) | $0.0582 | $0.1455 |
| fast | [GLM 5.3 Flash](https://relayswitch.io/models/glm-5.3-flash) | $0.09 | $0.15 |
| fast | [GPT-6 Luna](https://relayswitch.io/models/gpt-6-luna) | $0.0625 | $0.20 |
| fast | [MiniMax M3](https://relayswitch.io/models/minimax-m3) | $0.09 | $0.36 |
| fast | [DeepSeek V4.1 Flash](https://relayswitch.io/models/deepseek-v4.1-flash) | $0.06 | $0.18 |
| balanced | [Claude Sonnet 5.5](https://relayswitch.io/models/claude-sonnet-5-5) | $1.20 | $3.00 |
| balanced | [GPT-6.1 Sol](https://relayswitch.io/models/gpt-6.1-sol) | $0.582 | $2.91 |
| balanced | [Gemini 4 Argon](https://relayswitch.io/models/gemini-4-argon) | $0.60 | $3.00 |
| balanced | [Kimi K3](https://relayswitch.io/models/kimi-k3) | $0.90 | $4.50 |
| balanced | [GLM 5.3](https://relayswitch.io/models/glm-5.3) | $0.3178 | $0.9987 |
| frontier | [Claude Opus 5.5](https://relayswitch.io/models/claude-opus-5-5) | $2.80 | $10.00 |
| frontier | [GPT-6 Astra](https://relayswitch.io/models/gpt-6-astra) | $3.00 | $15.00 |
| frontier | [Claude Fable 5.1](https://relayswitch.io/models/claude-fable-5.1) | $6.00 | $30.00 |
| frontier | [Gemini 3.1 Pro Preview](https://relayswitch.io/models/gemini-3.1-pro-preview) | $1.20 | $7.20 |
| frontier | [Claude Opus 5](https://relayswitch.io/models/claude-opus-5) | $1.80 | $7.50 |

USD per million tokens, read from the catalog at render. Within a tier, models are tried in this order.

Profiles

## The same router, one catalog tag

A profile picks only models carrying that tag. Send the id as the model, or set it on the key.

`auto/uncensored`

Fiction, character chat and research that gets refused elsewhere.

Only models carrying the uncensored tag in the catalog.

Models today: [GLM-5.3 Flash Uncensored](https://relayswitch.io/models/glm-5.3-flash-uncensored), [GLM-5.3 Uncensored](https://relayswitch.io/models/glm-5.3-uncensored), [DeepSeek V4 Pro Uncensored](https://relayswitch.io/models/deepseek-v4-pro-uncensored), [Jailbreak-Free Assistant](https://relayswitch.io/models/jailbreak-free-assistant), [DeepSeek V4.1 Flash 1017 Uncensored](https://relayswitch.io/models/deepseek-v4.1-flash-1017-uncensored), [MiMo V2.6 Pro Uncensored](https://relayswitch.io/models/mimo-v2.6-pro-uncensored), [Uncensored Coding Agent](https://relayswitch.io/models/uncensored-coding-agent), [Nemotron 3 Ultra 550B Uncensored](https://relayswitch.io/models/nemotron-3-ultra-550b-a55b-uncensored), [Kimi K3.1 Pro Uncensored](https://relayswitch.io/models/kimi-k3.1-pro-uncensored), [MiMo V2.6 Flash Uncensored Thinking](https://relayswitch.io/models/mimo-v2.6-flash-uncensored-thinking), [Kimi K3 Uncensored](https://relayswitch.io/models/kimi-k3-uncensored)

[Create a uncensored key](https://app.relayswitch.io/console/keys?auto=uncensored)

`auto/abliterated`

Open-weight builds with the refusal direction removed from the weights.

Only models carrying the abliterated tag.

Models today: [DeepSeek V4.1 Flash Abliterated](https://relayswitch.io/models/deepseek-v4.1-flash-abliterated), [GLM-5.3 Flash Abliterated](https://relayswitch.io/models/glm-5.3-flash-abliterated), [Apex Flash 1 Abliterated](https://relayswitch.io/models/apex-flash-1-abliterated), [DeepSeek V4.1 Flash 1017 Heretic](https://relayswitch.io/models/deepseek-v4.1-flash-1017-heretic-uncensored), [GLM-5.3 Flash Apex Abliterated](https://relayswitch.io/models/glm-5.3-flash-apex-abliterated), [Abliterated Large Flash](https://relayswitch.io/models/abliterated-model-large-flash), [MiMo V2.6 Flash Abliterated](https://relayswitch.io/models/mimo-v2.6-flash-abliterated), [GLM-5.3 Abliterated](https://relayswitch.io/models/glm-5.3-abliterated), [Abliterated Model Large](https://relayswitch.io/models/abliterated-model-large), [Abliterated Model](https://relayswitch.io/models/abliterated-model)

[Create a abliterated key](https://app.relayswitch.io/console/keys?auto=abliterated)

`auto/security`

Exploit analysis, malware triage, CTF and red-team work. Alias: auto/cyber.

Only models carrying the security tag.

Models today: [Gemma 4 26B A4B Cybersecurity](https://relayswitch.io/models/gemma-4-26b-a4b-it-cybersecurity), [GLM-5.3 Flash Cybersecurity](https://relayswitch.io/models/glm-5.3-flash-cybersecurity), [Qwen3.8 27B Cybersecurity](https://relayswitch.io/models/qwen3.8-27b-cybersecurity), [Red Team (Flash)](https://relayswitch.io/models/uplink-red-team-flash), [OrcaCyber MiniMax M3.1 Flash](https://relayswitch.io/models/minimax-m3.1-flash-cybersecurity), [OrcaCyber Qwen3.8 Flash Next](https://relayswitch.io/models/qwen3.8-flash-next-cybersecurity), [Red Team (Pro)](https://relayswitch.io/models/uplink-red-team-pro), [CyberHeabsy](https://relayswitch.io/models/cyberheabsy), [OrcaCyber Zero 1.5](https://relayswitch.io/models/orca-zero-1.5-cybersecurity)

[Create a security key](https://app.relayswitch.io/console/keys?auto=security)

`auto/roleplay`

Long character chats in SillyTavern, JanitorAI, Chub and the other front ends.

Only models carrying the roleplay tag.

Models today: [Cydonia 24B v4.3](https://relayswitch.io/models/cydonia-24b-v4.3), [Magidonia 24B v4.3](https://relayswitch.io/models/magidonia-24b-v4.3), [Gemma 4 31B Novelist](https://relayswitch.io/models/gemma-4-31b-novelist), [Uncensored AI Roleplay](https://relayswitch.io/models/uncensored-ai-roleplay), [Qwen3.8 27B Synthia](https://relayswitch.io/models/qwen3.8-27b-synthia), [Artemis v1.1](https://relayswitch.io/models/artemis-v1.1), [Skyfall 36B v2](https://relayswitch.io/models/skyfall-36b-v2), [Wayfarer Large 70B](https://relayswitch.io/models/wayfarer-large-70b), [Qwen3.8 27B Fable](https://relayswitch.io/models/qwen3.8-27b-fable), [Magnum v4 72B](https://relayswitch.io/models/magnum-v4-72b)

[Create a roleplay key](https://app.relayswitch.io/console/keys?auto=roleplay)

Auto router key

## Route a client that cannot change its model name

Set the router on the key instead of in the request.

### One select on the key

Create key in the console has an Auto router select: off, auto, or one of the four profiles. A key set to one sends every chat request through the router whatever model the client names.

### Works in fixed-model clients

Claude Code, Cursor, Cline, SillyTavern and any other client with a single model string get the tier that fits each request, with no change to the client.

### Same balance, same key

The key draws on the prepaid balance like any other, topped up by card or in USDT, USDC, BTC, ETH, SOL. Existing keys get the same select in their settings.

[Create an auto router key](https://app.relayswitch.io/console/keys?auto=auto)

Code

## Three lines of difference

Any OpenAI-compatible client, the Messages, Responses or Gemini endpoints: the model id is "auto" and the rest of the request is yours.

### curl, with a tier cap

bash

1`curl https://api.relayswitch.io/v1/chat/completions \`

2 `-H "Authorization: Bearer sk-relay-..." \`

3 `-H "Content-Type: application/json" \`

4 `-d '{`

5 `"model": "auto",`

6 `"messages": [{"role": "user", "content": "Write the migration plan for this schema."}],`

7 `"auto": {"tier_max": "balanced"}`

8 `}'`

9`# The answer's "model" names the model that replied; x-uplink-auto-tier names the tier.`

### Python OpenAI SDK, with a sticky session

python

1`from openai import OpenAI`

2`import os`

3

4`client = OpenAI(`

5 `base_url="https://api.relayswitch.io/v1",`

6 `api_key=os.environ["RELAYSWITCH_API_KEY"],`

7`)`

8

9`reply = client.chat.completions.create(`

10 `model="auto",`

11 `messages=[{"role": "user", "content": "Refactor this function to async."}],`

12 `extra_headers={"x-session-id": "ticket-4821"}, # same model for 30 minutes`

13`)`

14`print(reply.model) # the model the router chose; billed at its own price`

Related

-   [Fallbacks, presets and throughput routing](https://relayswitch.io/features/routing)
-   [Every model and price](https://relayswitch.io/models)
-   [How pay as you go billing works](https://relayswitch.io/pricing)
-   [OpenRouter alternatives](https://relayswitch.io/alternatives/openrouter)
-   [Claude Code setup](https://relayswitch.io/guides/claude-code)
-   [The uncensored builds](https://relayswitch.io/uncensored)

FAQs

## AI model router: questions

What it picks, what it costs, and how to steer it.

Open the console

A key in under a minute

[Get a key](https://app.relayswitch.io/console)

Or email [hello@relayswitch.io](mailto:hello@relayswitch.io)

### 

### 

### 

### 

### 

### 

### 

### 

## One id, every model, pay as you go

A key set to the router from $10 by card or in USDT, USDC, BTC, ETH, SOL. No router fee, no subscription.

[See the tiers](#tiers)[Create an auto router key](https://app.relayswitch.io/console/keys?auto=auto)

