# GLM 5.3 Flash Uncensored in Claude Code

Run GLM 5.3 Flash Uncensored in Claude Code on Morse's private API: the lines to set, a 1M-token window, Private tier, $0.225 / $1 per 1M tokens.

Page: https://trymorse.ai/inference/models/z-ai/glm-5.3-flash-uncensored/claude-code

To run GLM in Claude Code, set Claude Code's `ANTHROPIC_BASE_URL` to Morse and name `z-ai/glm-5.3-flash-uncensored` as its model. GLM 5.3 Flash Uncensored is an abliterated build of Z.ai's GLM 5.3 Flash. It takes Claude Code's tool calls, reasons, and reads images. Morse serves it privately on the Private tier, with zero data retention.

| | |
|---|---|
| Model id | `z-ai/glm-5.3-flash-uncensored` |
| Made by | Z.ai |
| Context | 1,048,576 tokens |
| Longest response | 131,072 tokens |
| Tiers | Private |
| Price | $0.225 input / $1 output per 1M tokens |
| Reasoning | low, high, and max |
| Tool calls | Yes |
| Images | Reads images |

## Set it up

1. Get a key: Create an API key in the Morse console. New keys start with `sk_morse_`.
2. Set the environment: Set the lines above in the shell you start Claude Code from, or in your shell's profile.
3. Start Claude Code: Run `claude` in your project's folder.

```
export MORSE_API_KEY="sk_morse_..."
export ANTHROPIC_BASE_URL=https://inference.trymorse.ai
export ANTHROPIC_AUTH_TOKEN="$MORSE_API_KEY"
export ANTHROPIC_MODEL=z-ai/glm-5.3-flash-uncensored
export ANTHROPIC_DEFAULT_OPUS_MODEL=z-ai/glm-5.3-flash-uncensored
export ANTHROPIC_DEFAULT_SONNET_MODEL=z-ai/glm-5.3-flash-uncensored
export ANTHROPIC_DEFAULT_HAIKU_MODEL=z-ai/glm-5.3-flash-uncensored
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=32000
export CLAUDE_CODE_AUTO_COMPACT_WINDOW=200000
```

## What's different with this model

- All four model lines name GLM 5.3 Flash Uncensored, so Claude Code's background work and sub-agents run on it too.
- Claude Code compacts at 200,000 tokens, short of the model's 1,048,576-token window, as each late turn resends the whole conversation.
- `CLAUDE_CODE_MAX_OUTPUT_TOKENS` is 32,000, and the model writes up to 131,072 tokens in one response.
- It takes three reasoning efforts: low, high, and max.
- It reads images, so a screenshot you paste into Claude Code reaches the model.
- It runs on the Private tier only, where a request is read only by the provider's hardware.

## Check it works

Ask Claude Code to change one line in a file. A finished edit shows that Morse took the request and its tool calls.

## What people use it for

- Cybersecurity: Test, monitor, and defend your systems without safety filters blocking real security work.
- Agent security: Stress-test your AI agents to identify prompt injection, jailbreak, and tool misuse vulnerabilities.

## More

- [GLM 5.3 Flash Uncensored API](https://trymorse.ai/inference/models/z-ai/glm-5.3-flash-uncensored)
- [Claude Code setup guide](https://trymorse.ai/inference/docs/tools/claude-code)
- [GLM 5.3 Flash Uncensored in Cursor](https://trymorse.ai/inference/models/z-ai/glm-5.3-flash-uncensored/cursor)
