DEV Community

codebangkok
codebangkok

Posted on

Claude Code: Self host model configuration

1) Edit ~/.zshrc

export ANTHROPIC_BASE_URL=http://localhost:11434
export ANTHROPIC_AUTH_TOKEN=ollama
Enter fullscreen mode Exit fullscreen mode

2) Run claude code with --model

claude --model qwen3-coder-next
Enter fullscreen mode Exit fullscreen mode

Top comments (0)