Coderrr

Providers

Coderrr reaches five providers over plain HTTP. No provider SDK is installed, and your key goes straight from your machine to the provider — nothing is proxied through a server.

At a glance

ProviderKey neededDefault model
Ollamano — default providergemma4:31b-cloud
Anthropicyesclaude-sonnet-4-20250514
OpenAIyesgpt-4o
Googleyesgemini-2.0-flash
OpenRouteryesqwen/qwen-2.5-coder-32b-instruct

Tool use is the thing that matters

Coderrr is a real agent loop: the model reads files, calls tools, observes results, and iterates. A model that is merely good at writing code but weak at multi-turn tool use will struggle regardless of its benchmark scores.

Ollama — the default

Ollama

Local models or Ollama-hosted cloud models. No API key is required for local models; Ollama-hosted models use your Ollama account.

Install Ollama: ollama.com/download

ModelNotes
gemma4:31b-cloudThe out-of-the-box default. Tool-capable and usable on a free Ollama account.
kimi-k3:cloudStronger, 1M context — but returns 403 without a paid Ollama subscription, which is why it cannot be the default. Switch to it with coderrr config if you have one.
qwen2.5-coder:14bFully local, no account at all. Noticeably weaker at the multi-turn tool use the agent loop depends on.
qwen2.5-coder:7bFully local and smaller still. Same caveat, more so.
# fully local
ollama pull qwen2.5-coder:14b

coderrr config
# Select "Ollama", then a model
# Endpoint defaults to http://localhost:11434/v1

The endpoint prompt lets you point at a remote Ollama host. It rejects anything that is not a URL — a stray y stored there would make every later request fail in a way that reads like a network fault.

Hosted providers

Anthropic

Claude models. Strong at multi-turn tool use, which is what this agent loop leans on hardest.

Get a key: console.anthropic.com · Env var: ANTHROPIC_API_KEY

ModelNotes
claude-sonnet-4-20250514Default. The balanced choice.
claude-opus-4-20250514More capable, more expensive.

OpenAI

GPT models.

Get a key: platform.openai.com/api-keys · Env var: OPENAI_API_KEY

ModelNotes
gpt-4oDefault.
gpt-4o-miniCheaper. A good choice for [verify].model.

Google Gemini

Gemini models.

Get a key: aistudio.google.com/apikey · Env var: GOOGLE_API_KEY

ModelNotes
gemini-2.0-flashDefault. Fast and inexpensive.
gemini-1.5-proLarger context.

OpenRouter

Many providers behind one key, including free tiers. Useful for trying models without signing up for each vendor.

Get a key: openrouter.ai/keys · Env var: OPENROUTER_API_KEY

ModelNotes
qwen/qwen-2.5-coder-32b-instructDefault.
anthropic/claude-3.5-sonnetClaude through OpenRouter.
deepseek/deepseek-chatCapable and cheap.

Any model ID OpenRouter accepts works — the suggestions are just starting points. Requests carry a HTTP-Referer and X-Title header for attribution on OpenRouter's dashboards.

Switching provider or model

coderrr config                  # change provider, model, or key
coderrr config show             # confirm what is active
coderrr run "..." -m gpt-4o     # override the model for one run
coderrr                         # then /model gpt-4o inside the session

A /model change inside a session applies to that session only and is not saved.

Custom endpoints

Ollama, OpenAI, and OpenRouter all go through one OpenAI-compatible adapter; Anthropic and Google need bespoke wire translation. If you run an OpenAI-compatible gateway, configure the Ollama provider and point its endpoint at your gateway.

[provider]
name     = "ollama"
model    = "your-model-id"
endpoint = "https://your-gateway.example.com/v1"

Removed in v2

Azure AI / GitHub Models is no longer a provider, and the GITHUB_TOKEN setting is gone with it. v1 reached those models through a hosted backend that v2 does not have. Use OpenRouter if you want many models behind one key.