Skip to content
exoticrouter.com ↗

Goose

Runs an extensible local agent for engineering work. Point it at ExoticRouter with a base URL and a key: here are the values, and where they go in Goose.

Setting Value
Base URL, OpenAI-compatible API https://api.exoticrouter.com/v1
Base URL, Anthropic API https://api.exoticrouter.com
API key Your key, from the API keys page
Model An id such as anthropic/claude-sonnet-5-5, from the models page

A tool that adds /v1 to the address by itself is given https://api.exoticrouter.com instead.

An example with a handful of models and a stand-in for the key. Put your own key where it says sk-er-YOUR-KEY.

exoticrouter.json goes here:

System Path
macOS ~/.config/goose/custom_providers/exoticrouter.json
Linux ~/.config/goose/custom_providers/exoticrouter.json
Windows %APPDATA%\Block\goose\config\custom_providers\exoticrouter.json
exoticrouter.json
{
"name": "exoticrouter",
"engine": "openai",
"display_name": "ExoticRouter",
"api_key_env": "EXOTICROUTER_API_KEY",
"base_url": "https://api.exoticrouter.com/v1/chat/completions",
"models": [
{ "name": "anthropic/claude-fable-5-2", "context_limit": 1000000 },
{ "name": "anthropic/claude-haiku-5-5", "context_limit": 1000000 },
{ "name": "anthropic/claude-opus-5", "context_limit": 1000000 },
{ "name": "anthropic/claude-opus-5-5", "context_limit": 1000000 },
{ "name": "anthropic/claude-sonnet-5", "context_limit": 1000000 },
{ "name": "anthropic/claude-sonnet-5-5", "context_limit": 1000000 },
{ "name": "openai/gpt-6.1-sol", "context_limit": 1050000 },
{ "name": "openai/gpt-6.2-astra", "context_limit": 1050000 },
{ "name": "openai/gpt-6.2-sol", "context_limit": 1050000 },
{ "name": "360/gpt-6.1-sol", "context_limit": 128000 }
],
"supports_streaming": true,
"requires_auth": true
}
env.sh
export EXOTICROUTER_API_KEY="sk-er-YOUR-KEY"

Goose reads the key only from the environment, so set EXOTICROUTER_API_KEY to your key in your shell profile (on Windows, as a user variable): this step is by hand. Then run goose session start --provider exoticrouter, and set GOOSE_MODEL to a model id such as anthropic/claude-opus-5-5 to choose the model.

If Goose is not on the machine yet, this is its own installer:

System Command
macOS curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash
Linux curl -fsSL https://github.com/aaif-goose/goose/releases/download/stable/download_cli.sh | bash
Windows Invoke-WebRequest -Uri "https://raw.githubusercontent.com/aaif-goose/goose/main/download_cli.ps1" -OutFile "download_cli.ps1"; .\download_cli.ps1
API Models
OpenAI-compatible Every text model in the catalogue
Anthropic The Claude models

The setting is described in Goose’s own documentation.

  • Claude Code: Works on a codebase from the terminal, IDE, or web.
  • Codex: Works on software engineering tasks through a coding agent.
  • OpenCode: Runs an open-source coding agent with configurable model providers.
  • Kilo Code: Open-source coding agent for editing and working with repositories.
  • Qwen Code: Runs the Qwen coding agent in a terminal.
  • Gemini CLI: Brings Google’s Gemini agent into a terminal.