# Gemma 4 26B A4B Uncensored in Claude Code

Run Gemma 4 26B A4B Uncensored in Claude Code on Morse's private API: the lines to set, a 256K-token window, TEE tier, $0.175 / $0.85 per 1M tokens.

Page: https://trymorse.ai/inference/models/google/gemma-4-26b-a4b-uncensored/claude-code

To run Gemma in Claude Code, set Claude Code's `ANTHROPIC_BASE_URL` to Morse and name `google/gemma-4-26b-a4b-uncensored` as its model. Gemma 4 26B A4B Uncensored is an uncensored build of Google's Gemma 4 26B A4B. It takes Claude Code's tool calls, reasons, and reads images. Morse serves it privately on the TEE tier, with zero data retention.

| | |
|---|---|
| Model id | `google/gemma-4-26b-a4b-uncensored` |
| Made by | Google |
| Context | 262,144 tokens |
| Longest response | 262,144 tokens |
| Tiers | TEE |
| Price | $0.175 input / $0.85 output per 1M tokens |
| Reasoning | high |
| 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=google/gemma-4-26b-a4b-uncensored
export ANTHROPIC_DEFAULT_OPUS_MODEL=google/gemma-4-26b-a4b-uncensored
export ANTHROPIC_DEFAULT_SONNET_MODEL=google/gemma-4-26b-a4b-uncensored
export ANTHROPIC_DEFAULT_HAIKU_MODEL=google/gemma-4-26b-a4b-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 Gemma 4 26B A4B 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 262,144-token window, as each late turn resends the whole conversation.
- `CLAUDE_CODE_MAX_OUTPUT_TOKENS` is 32,000, and the model writes up to 262,144 tokens in one response.
- It reasons at one effort, high.
- It reads images, so a screenshot you paste into Claude Code reaches the model.
- It runs on the TEE tier only, where a request is read only by the provider's enclave and model.

## 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

- [Gemma 4 26B A4B Uncensored API](https://trymorse.ai/inference/models/google/gemma-4-26b-a4b-uncensored)
- [Claude Code setup guide](https://trymorse.ai/inference/docs/tools/claude-code)
