Switch from OpenRouter to Morse
Move from OpenRouter to Morse in two lines: change the base URL and key, keep your model ids. 69 of our 87 ids match OpenRouter's.
To switch from OpenRouter to Morse, change the base URL to https://inference.trymorse.ai/v1 and use a Morse API key. 69 of Morse's 87 model ids are the same strings OpenRouter uses, so most code keeps its model names.
Morse keeps no prompt and no response, on any tier and any plan. A provider sees Morse, never your account. See What Morse keeps.
Change two lines
client = OpenAI(
- base_url="https://openrouter.ai/api/v1",
- api_key=os.environ["OPENROUTER_API_KEY"],
+ base_url="https://inference.trymorse.ai/v1",
+ api_key=os.environ["MORSE_API_KEY"],
)
completion = client.chat.completions.create(
model="moonshotai/kimi-k3.1-pro", # the same id on both
messages=[{"role": "user", "content": "Hello"}],
)
Make the key under API keys in the console. The OpenAI SDKs and every OpenAI-compatible client take the same two settings.
Your model ids
69 ids work unchanged, and 18 are on Morse only. Prices are in dollars per million tokens, on each model's default endpoint. OpenRouter's list was read on 2026-11-30.
The same on OpenRouter (69)
| Model id | Model | Input / output |
|---|---|---|
deepseek/deepseek-r1-0528 | DeepSeek R1 0528 | $0.55 / $2.19 |
deepseek/deepseek-v3.2 | DeepSeek V3.2 | $0.28 / $0.42 |
deepseek/deepseek-v4-flash | DeepSeek V4 Flash 0423 | $0.14 / $0.28 |
deepseek/deepseek-v4-flash-0731 | DeepSeek V4 Flash 0731 | $0.44 / $1.32 |
deepseek/deepseek-v4-flash-vision-exp | DeepSeek V4 Flash Vision Exp | $0.55 / $1.65 |
deepseek/deepseek-v4-pro | DeepSeek V4 Pro 0423 | $1.625 / $3.25 |
deepseek/deepseek-v4-pro-0813 | DeepSeek V4 Pro | $1.32 / $3.96 |
deepseek/deepseek-v4.1-flash | DeepSeek V4.1 Flash | $0.30 / $1.20 |
deepseek/deepseek-v4.1-flash-1017 | DeepSeek V4.1 Flash 1017 | $0.30 / $1.20 |
google/gemma-3-12b-it | Gemma 3 12B | $0.0625 / $0.1875 |
google/gemma-3-27b-it | Gemma 3 27B | $0.10 / $0.20 |
google/gemma-3-4b-it | Gemma 3 4B | $0.0625 / $0.125 |
google/gemma-4-26b-a4b-it | Gemma 4 26B A4B | $0.15 / $0.60 |
google/gemma-4-31b-it | Gemma 4 31B | $0.25 / $0.50 |
inclusionai/ling-3.0-flash | Ling 3.0 Flash | $0.075 / $0.225 |
inclusionai/ling-3.0-flash-vl | Ling 3.0 Flash VL | $0.075 / $0.225 |
inclusionai/ling-3.1-flash | Ling 3.1 Flash | $0.375 / $1.125 |
meta-llama/llama-3.1-8b-instruct | Llama 3.1 8B | $0.025 / $0.05 |
meta-llama/llama-3.3-70b-instruct | Llama 3.3 70B | $0.125 / $0.40 |
meta-llama/llama-4-scout | Llama 4 Scout | $0.125 / $0.375 |
meta/muse-glimmer-30b | Muse Glimmer 30B | $0.375 / $1.50 |
minimax/minimax-m3 | MiniMax M3 | $0.30 / $1.20 |
minimax/minimax-m3.1-flash | MiniMax M3.1 Flash | $0.15 / $0.60 |
mistralai/mistral-nemo | Mistral Nemo | $0.0363 / $0.0375 |
mistralai/mistral-small-24b-instruct-2501 | Mistral Small 3 2501 | $0.10 / $0.30 |
mistralai/mistral-small-3.2-24b-instruct | Mistral Small 3.2 | $0.10 / $0.30 |
moonshotai/kimi-k2-0905 | Kimi K2 0905 | $0.75 / $3.125 |
moonshotai/kimi-k2.6 | Kimi K2.6 | $0.95 / $4 |
moonshotai/kimi-k3 | Kimi K3 | $3 / $15 |
moonshotai/kimi-k3.1-pro | Kimi K3.1 Pro | $2 / $10 |
nvidia/nemotron-3-super-120b-a12b | Nemotron 3 Super | $0.0938 / $0.50 |
nvidia/nemotron-3-ultra-550b-a55b | Nemotron 3 Ultra | $0.625 / $2.75 |
nvidia/nemotron-3.5-lightning | Nemotron 3.5 Lightning | $0.075 / $0.20 |
nvidia/nemotron-3.5-super-vl | Nemotron 3.5 Super VL | $0.1875 / $0.625 |
openai/gpt-oss-120b | gpt oss 120b | $0.0463 / $0.2125 |
openai/gpt-oss-20b | gpt oss 20b | $0.0375 / $0.175 |
qwen/qwen-2.5-72b-instruct | Qwen2.5 72B Instruct | $0.45 / $0.50 |
qwen/qwen3-14b | Qwen3 14B | $0.35 / $1.40 |
qwen/qwen3-235b-a22b-2507 | Qwen3 235B A22B Instruct 2507 | $0.23 / $0.92 |
qwen/qwen3-30b-a3b | Qwen3 30B A3B | $0.20 / $0.80 |
qwen/qwen3-32b | Qwen3 32B | $0.16 / $0.64 |
qwen/qwen3-coder | Qwen3 Coder 480B A35B | $0.375 / $1.25 |
qwen/qwen3-next-80b-a3b-instruct | Qwen3 Next 80B A3B Instruct | $0.15 / $1.20 |
qwen/qwen3-vl-235b-a22b-instruct | Qwen3 VL 235B A22B | $0.40 / $1.60 |
qwen/qwen3-vl-30b-a3b-instruct | Qwen3 VL 30B A3B | $0.20 / $0.80 |
qwen/qwen3.5-27b | Qwen3.5 27B | $0.30 / $2.40 |
qwen/qwen3.5-35b-a3b | Qwen3.5 35B A3B | $0.25 / $2 |
qwen/qwen3.5-397b-a17b | Qwen3.5 397B A17B | $0.60 / $3.60 |
qwen/qwen3.5-9b | Qwen3.5 9B | $0.125 / $0.1875 |
qwen/qwen3.6-27b | Qwen3.6 27B | $0.60 / $3.60 |
qwen/qwen3.6-35b-a3b | Qwen3.6 35B A3B | $0.375 / $2.25 |
qwen/qwen3.8-2.4t-a95b | Qwen3.8 Max | $2 / $6 |
qwen/qwen3.8-27b | Qwen3.8 27B | $0.50 / $3 |
stepfun/step-3.7-flash | Step 3.7 Flash | $0.20 / $1.15 |
stepfun/step-5-preview | Step 5 Preview | $1 / $2.70 |
tencent/hy3 | Hy3 | $0.175 / $0.725 |
tencent/hy4 | Hy4 | $0.834 / $2.501 |
tencent/hy4-flash | Hy4 Flash | $0.07 / $0.281 |
thinkingmachines/inkling-small | Inkling Small | $0.5625 / $1.50 |
xiaomi/mimo-v2.6-flash | MiMo V2.6 Flash | $0.14 / $0.28 |
xiaomi/mimo-v2.6-pro | MiMo V2.6 Pro | $0.435 / $0.87 |
z-ai/glm-4.5-air | GLM 4.5 Air | $0.20 / $1.10 |
z-ai/glm-4.6 | GLM 4.6 | $0.60 / $2.20 |
z-ai/glm-4.7 | GLM 4.7 | $0.60 / $2.20 |
z-ai/glm-5 | GLM 5 | $1 / $3.20 |
z-ai/glm-5.1 | GLM 5.1 | $1.40 / $4.40 |
z-ai/glm-5.2 | GLM 5.2 | $1.40 / $4.40 |
z-ai/glm-5.3 | GLM 5.3 | $1.40 / $4.40 |
z-ai/glm-5.3-flash | GLM 5.3 Flash | $0.15 / $0.50 |
On Morse only (18)
| Model id | Model | Input / output |
|---|---|---|
abliteration/abliterated-model | Abliterated Model | $1 / $3 |
abliteration/abliterated-model-large-flash | Abliterated Large Flash | $1 / $2 |
abliteration/abliterated-model-large-v2 | Abliterated Large v2 | $3 / $5 |
deepseek-ai/deepseek-v4.1-flash-uncensored | DeepSeek V4.1 Flash Uncensored | $0.50 / $1.50 |
deepseek/deepseek-v3 | DeepSeek V3 | $0.32 / $1.10 |
deepseek/deepseek-v3.1 | DeepSeek V3.1 | $0.56 / $1.68 |
deepseek/deepseek-v4.1-flash-1017-abliterated | DeepSeek V4.1 Flash 1017 Uncensored | $0.50 / $1.50 |
deepseek/deepseek-v4.1-flash-1017-ultrafast | DeepSeek V4.1 Flash 1017 Ultrafast | $0.30 / $1.20 |
google/gemma-4-26b-a4b-uncensored | Gemma 4 26B A4B Uncensored | $0.175 / $0.85 |
inclusionai/ling-3.0-flash-fin | Ling 3.0 Flash Fin | $0.0938 / $0.275 |
moonshotai/kimi-k2 | Kimi K2 | $0.60 / $2.50 |
moonshotai/kimi-k3.1-pro-uncensored | Kimi K3.1 Pro Uncensored | $5 / $18.75 |
qwen/qwen-2.5-7b-instruct | Qwen2.5 7B Instruct | $0.125 / $0.25 |
qwen/qwen3.8-27b-uncensored | Qwen3.8 27B Uncensored | $0.35 / $1.75 |
tencent/hy4-uncensored | Hy4 Uncensored | $1.50 / $4 |
xiaomi/mimo-v2.6-flash-uncensored | MiMo V2.6 Flash Uncensored | $0.50 / $1.75 |
z-ai/glm-5.3-flash-uncensored | GLM 5.3 Flash Uncensored | $0.225 / $1 |
z-ai/glm-5.3-uncensored | GLM 5.3 Uncensored | $1.75 / $5 |
Every model is on the models page.
Parameters
| OpenRouter sends | On Morse |
|---|---|
model | The same id for the 69 models above. For another, pick a Morse model from the table. |
messages, tools, tool_choice, stream | The same. See What works the same. |
response_format | Reaches only a model that lists it in supported_parameters. See Structured outputs. |
reasoning | Works as it does there, and so does reasoning_effort. See Reasoning. |
provider | Morse reads zdr, data_collection, allow_fallbacks, and max_price, and adds min_privacy. See Provider routing. |
models | A list of more than one model returns 400 unsupported_parameter. Morse fails over between one model's providers. |
HTTP-Referer, X-Title | Morse doesn't read these headers, so you can leave them in. |
:free, :nitro | Drop the suffix. A Morse id has none, and an id with one returns 404 model_not_found. |
Every difference is in What's different.
Tools you already use
In a tool set up for OpenRouter, change the same two settings. Each guide names them:
- Aider
- AnythingLLM
- Chatbox
- Cherry Studio
- Claude Code
- Cline
- Codex
- Continue
- Copilot for Obsidian
- Cowrie
- Crush
- Cursor
- Dify
- Flowise
- GitHub Copilot
- Goose
- Hermes Agent
- Jan
- Kilo Code
- LibreChat
- LobeChat
- n8n
- Open WebUI
- OpenClaw
- OpenCode
- Pi
- PwnDoc
- r2ai
- SillyTavern
- STRIDE GPT
- Strix
- Zed
What changes for privacy
OpenRouter's zero data retention covers the providers OpenRouter sends your prompts to, not OpenRouter itself. OpenRouter's servers read every prompt in plain text, and their code is closed. Morse's enclave runs open-source code you can check, and a request your client encrypts for Morse's enclave can be decrypted only inside that enclave. See the privacy page.
Check it works
List the models with your key, then send one chat completion with an id from the table.
curl https://inference.trymorse.ai/v1/models \
-H "Authorization: Bearer $MORSE_API_KEY"
curl https://inference.trymorse.ai/v1/chat/completions \
-H "Authorization: Bearer $MORSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "moonshotai/kimi-k3.1-pro", "messages": [{"role": "user", "content": "Hello"}]}'Questions
Do my OpenRouter model ids work on Morse?
69 of Morse's 87 model ids are the same strings OpenRouter uses, so a request that names one works unchanged on Morse.