Skip to main content
Claude Code talks to the Anthropic Messages API, which Muna implements. Point it at Muna with a few environment variables.

Configuring Claude Code

Then start Claude Code in your project directory:
Claude Code sends background work, like summarizing a conversation, to a smaller “Haiku” model. Muna does not serve Claude models, so set ANTHROPIC_DEFAULT_HAIKU_MODEL to a Muna model too. Otherwise those requests fail.
To keep the settings across sessions, add them to the env block of ~/.claude/settings.json:
Any chat model in Models works. Qwen 3.8 27B is the strongest coding model on Muna today; Gemma 4 26B is faster and cheaper for lighter tasks.