Claude Codeon uncensored models
Claude Code sends requests in the Anthropic messages format and lets you choose where they go. This endpoint accepts that format, so three environment variables put Claude Code on a model from this line.
Set it up
- Create a key in the dashboard.
- Set the three variables in the shell you start Claude Code from. Note the base URL has no
/v1on the end. - Run
claude. It now talks to the model named inANTHROPIC_MODEL.
shell
export ANTHROPIC_BASE_URL="https://uncensoredopencode.com"
export ANTHROPIC_AUTH_TOKEN="sk-nc-..."
export ANTHROPIC_MODEL="glm-5.3-flash-uncensored"
claudeGood to know
The variables only affect the shell they are set in, so you can keep one terminal on your normal setup and another on this one. To go back, open a new terminal or unset the three variables.
Claude Code leans hard on tool calling and long context. Every model on this line supports tools and holds a million tokens. GLM 5.3 Flash is the one to start with; Kimi K3.1 Pro is the strongest.
Any id on the models page works here, and each is priced by the token.