# GLM API: private, with uncensored GLM builds

10 GLM models from Z.ai on one private, OpenAI-compatible API, with up to 1M tokens of context. Morse keeps no prompt and no response. 2 come in uncensored builds.

Base URL: https://inference.trymorse.ai/v1.

## GLM models

| Model | Id | Context | Tiers | Uncensored |
| --- | --- | --- | --- | --- |
| [GLM 5.3 Flash Uncensored](https://trymorse.ai/inference/models/z-ai/glm-5.3-flash-uncensored) | `z-ai/glm-5.3-flash-uncensored` | 1M | Private | Yes |
| [GLM 5.3 Uncensored](https://trymorse.ai/inference/models/z-ai/glm-5.3-uncensored) | `z-ai/glm-5.3-uncensored` | 1M | TEE | Yes |
| [GLM 5.2](https://trymorse.ai/inference/models/z-ai/glm-5.2) | `z-ai/glm-5.2` | 1M | Private | No |
| [GLM 5.3](https://trymorse.ai/inference/models/z-ai/glm-5.3) | `z-ai/glm-5.3` | 1M | TEE and Private | No |
| [GLM 5.3 Flash](https://trymorse.ai/inference/models/z-ai/glm-5.3-flash) | `z-ai/glm-5.3-flash` | 1M | TEE and Private | No |
| [GLM 4.7](https://trymorse.ai/inference/models/z-ai/glm-4.7) | `z-ai/glm-4.7` | 198K | Private | No |
| [GLM 4.5 Air](https://trymorse.ai/inference/models/z-ai/glm-4.5-air) | `z-ai/glm-4.5-air` | 128K | Private | No |
| [GLM 4.6](https://trymorse.ai/inference/models/z-ai/glm-4.6) | `z-ai/glm-4.6` | 198K | Private | No |
| [GLM 5](https://trymorse.ai/inference/models/z-ai/glm-5) | `z-ai/glm-5` | 198K | Private | No |
| [GLM 5.1](https://trymorse.ai/inference/models/z-ai/glm-5.1) | `z-ai/glm-5.1` | 200K | Private | No |

## Uncensored GLM builds

- [GLM 5.3 Flash Uncensored](https://trymorse.ai/inference/models/z-ai/glm-5.3-flash-uncensored): `z-ai/glm-5.3-flash-uncensored`, built on [GLM 5.3 Flash](https://trymorse.ai/inference/models/z-ai/glm-5.3-flash)
- [GLM 5.3 Uncensored](https://trymorse.ai/inference/models/z-ai/glm-5.3-uncensored): `z-ai/glm-5.3-uncensored`, built on [GLM 5.3](https://trymorse.ai/inference/models/z-ai/glm-5.3)

Every uncensored model: https://trymorse.ai/inference/uncensored

## Which to pick

- Has an uncensored build: GLM 5.3 and GLM 5.3 Flash.
- Runs on attested hardware (TEE): GLM 5.3 Uncensored, GLM 5.3, and GLM 5.3 Flash.
- Longest context: GLM 5.3 Flash Uncensored, GLM 5.3 Uncensored, GLM 5.2, GLM 5.3, and GLM 5.3 Flash.
- Reads images: GLM 5.3 Flash Uncensored and GLM 5.3 Flash.

## Call it

```bash
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-uncensored",
    "messages": [{ "role": "user", "content": "Why is the sky blue?" }]
  }'
```

## Questions

### Is there an uncensored GLM model?

Yes. GLM 5.3 Flash Uncensored (z-ai/glm-5.3-flash-uncensored), built on GLM 5.3 Flash and GLM 5.3 Uncensored (z-ai/glm-5.3-uncensored), built on GLM 5.3. The same key calls them as every other model.

### Who can read my prompts to GLM models on Morse?

It depends on the privacy tier your request names. 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.

### Can I use GLM models in Claude Code or Codex?

Yes. Point any OpenAI SDK at https://inference.trymorse.ai/v1 with your Morse API key and a model id, such as z-ai/glm-5.3-flash-uncensored. Morse also speaks Anthropic's Messages format, so Claude Code, Codex, Cline, and OpenCode work through it; each has a setup page in the docs. Every one of them supports tool calls.

## More labs

- [DeepSeek](https://trymorse.ai/inference/labs/deepseek.md)
- [Kimi](https://trymorse.ai/inference/labs/kimi.md)
- [Qwen](https://trymorse.ai/inference/labs/qwen.md)
