# Private, open-source inference you can verify.

An OpenAI-compatible API for 80+ models at list price. Its enclaves run open-source code you can check, Morse keeps nothing, and no provider learns who you are.

Pay-as-you-go, with no subscriptions. Your first top-up gets 50% extra, up to $50.

## Change two lines.

Point the OpenAI SDK at Morse and use your Morse key. Everything else stays the same.

```diff
import os
from openai import OpenAI

client = OpenAI(
-     base_url="https://api.openai.com/v1",
-     api_key=os.environ["OPENAI_API_KEY"],
+     base_url="https://inference.trymorse.ai/v1",
+     api_key=os.environ["MORSE_API_KEY"],
)

reply = client.chat.completions.create(
    model="moonshotai/kimi-k3.1-pro",
    messages=[{"role": "user", "content": "Hello"}],
)
```

## Set the privacy of every request.

From providers that keep nothing to sealed hardware no one can see into, with one field in your request.

- **E2EE**: Encrypted on your device and opened only inside the model's attested hardware, so no one else can read it, Morse included.
- **TEE**: In the API, your request goes to a hardware enclave run by Phala, NEAR AI, or Tinfoil. We check that enclave's attestation, then our servers pass your request to it without storing it. Phala's enclave passes your request only to a model server that Phala runs itself, whose hardware we don't check. At NEAR AI, our connection ends inside NEAR AI's gateway, a hardware enclave whose attestation we check. That gateway reads your request and passes it on to the model. In the app's E2EE, NEAR AI's gateway cannot read your messages. At Tinfoil, our connection ends inside Tinfoil's router, a hardware enclave whose attestation we check. That router reads your request and passes it on to the model, whose enclave we don't check.
- **Private**: Vetted providers bound by contract or published policy to keep nothing. The provider processes the prompt and never stores it or trains on it.
- **Anonymous**: Closed models, reached by Morse in its own name. The lab sees the prompt, but only as Morse, never as you.

## Most APIs decrypt at the edge.

Morse decrypts only inside sealed hardware. HTTPS protects a request only until the first machine holding the key. Anyone with access to that machine, or to the systems behind it, can read your prompts.

- **TLS terminates inside the enclave.** An enclave generates the key at boot, and the key never leaves enclave hardware. The network between you and the enclave carries only ciphertext.
- **Nothing else Morse runs can read your prompt.** The enclave encrypts each request again before it leaves. Billing sees your key, the time, the model, the provider, and the token count, but not the content.
- **You can check it.** AWS Nitro signs an attestation that names the key. Every certificate is in public logs, and every boot is recorded in a public log.

One command checks the key against the enclave's attestation. Run `npx @askmorse/verify inference.trymorse.ai`.

## Every request, optimized.

The savings come back to you.

- **One price per model.** Every model's price is on the models page, before you send a request.
- **Adaptive routing.** Each request goes to the best-priced vetted provider at the privacy tier you pick, never a less private one.
- **Dynamic caching.** Repeated context is served from a warm cache, often at a tenth of the input price. We never read your prompts to do it.
- **Up to 50% back.** Up to 50% of every dollar saved is refunded to your balance as credit after each UTC hour closes, for that hour's requests. We only do well when you save.

## Questions

### How is this different from OpenRouter's zero-retention mode?

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.

### How does Morse make money?

We pay providers wholesale prices and charge you more than we pay. Teams also pay for extras like dedicated enclaves and audit reports. We never sell your data, and never have any to sell.

### Why should I trust the providers?

On Private, you rely on contracts or published policies: every provider is bound by a zero data retention agreement with us or by its own published policy to store none of your prompts and never train on them, and every provider is on our public list. On TEE, Morse verifies the provider enclave that receives your request before it sends it. Morse checks that enclave's proof, not what runs behind it: Phala's enclave passes your request to a model server whose hardware Morse doesn't check, and Tinfoil's router reads it and forwards it to a model enclave Morse doesn't verify.

### Why not go to the provider directly?

You can, and for one open model it may be cheaper. With Morse, the provider never learns who you are, one key reaches 80+ models under zero data retention agreements or the provider's published no-retention policy, and one set of paperwork covers them all.

## More

- Models: https://trymorse.ai/inference/models.md
- Every model as JSON: https://trymorse.ai/inference/models.json
- API docs: https://trymorse.ai/inference/docs/llms.txt
