The Morse API docs: a quickstart, privacy tiers and provider routing, streaming and tools, SDK guides, and the full API reference. Updated December 4, 2026.

Page: https://trymorse.ai/inference/docs

# Quickstart

Make a key and send your first request to an OpenAI-compatible API for 89 chat models, 86 of them open-weight.

Morse is an OpenAI-compatible API for 89 chat models, 86 of them open-weight, from DeepSeek, Kimi, and GLM to Qwen, MiniMax, and gpt-oss. Morse calls every provider from an attested enclave that keeps no prompt or response and never tells a provider who you are.

Base URL

```
https://inference.trymorse.ai/v1
```

1. Make a keyIn the [console](https://console.trymorse.ai), choose **Create key**, name the key, choose **Create**, and copy the key it shows. Making a key needs a verified email, and the console shows the key only once.Add credits before your first call: a key pays from them.A $0 balance returns [`402 insufficient_balance`](https://trymorse.ai/inference/docs/api/errors#status-402): add credits from $5 at [console.trymorse.ai/credits](https://console.trymorse.ai/credits).Terminal`export MORSE_API_KEY="sk_morse_..."`
2. Send a requestGive any OpenAI client the base URL, your key, and a Morse model.cURL Python TypeScript`curl https://inference.trymorse.ai/v1/chat/completions \ -H "Authorization: Bearer $MORSE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "z-ai/glm-5.3-flash", "messages": [{"role": "user", "content": "Hello"}] }'`The response is a `chat.completion` object, in OpenAI's format.

## Files for tools and agents

- [OpenAPI spec](https://trymorse.ai/inference/docs/openapi.json): the whole API as an OpenAPI 3.1 file.
- [llms.txt](https://trymorse.ai/inference/docs/llms.txt): every page of the docs, linked.
- [llms-full.txt](https://trymorse.ai/inference/llms-full.txt): every page of the docs in one Markdown file.
- [agents.md](https://trymorse.ai/inference/agents.md): the base URL, the auth header, and each common error with its fix, for coding agents.

## Next steps

[OpenAI compatibility Use the OpenAI SDKs with Morse, switch from OpenAI or OpenRouter, and see the parameters Morse treats differently.](https://trymorse.ai/inference/docs/openai-compatibility) [Models Model ids, how to list them, and what each model can do on each endpoint.](https://trymorse.ai/inference/docs/models) [Privacy tiers Set a privacy floor on a request, and see what Anonymous, Private, and TEE each protect.](https://trymorse.ai/inference/docs/privacy-tiers)
