Supported Providers
- Cloud APIs
- Cloud Infrastructure
- Local Models
| Provider | Environment Variable | Notes |
|---|---|---|
| Anthropic (Claude) | ANTHROPIC_API_KEY | Recommended. Deepest integration: built-in web search, extended thinking, prompt caching. |
| OpenAI | OPENAI_API_KEY | GPT-4o, o1, o3, and all current OpenAI models. |
| Google Gemini | GEMINI_API_KEY | Gemini 1.5 Pro, Flash, and Gemini 2.x models. |
| OpenRouter | OPENROUTER_API_KEY | 200+ models from multiple providers via a single key. |
| Groq | GROQ_API_KEY | High-throughput inference for Llama, Mixtral, and others. |
| xAI (Grok) | XAI_API_KEY | Grok-2 and Grok-3 models. |
| Mistral | MISTRAL_API_KEY | Mistral Large, Small, and Codestral. |
| GitHub Copilot | GH_TOKEN | OAuth-based — sign in via browser with gsd config. |
gsd config — keys are stored in ~/.gsd/agent/auth.json and apply to all projects automatically.Listing Available Models
List all models GSD can find with your current credentials:Overriding the Model for a Session
Pass--model when starting GSD to use a specific model for that session, ignoring whatever is set in preferences:
Switching Models In-Session
Change the active model without restarting the session:models.json file reloads each time you open the picker — no restart needed.
You can also switch directly:
Using Claude Subscriptions via Claude Code
If you have a Claude Pro, Max, Team, or Enterprise subscription, authenticate through Anthropic’s official Claude Code CLI instead of an API key:Adding Custom or Unlisted Models
Define custom models, local endpoints, and OpenAI-compatible proxies in~/.gsd/agent/models.json:
apiKey value is the name of the environment variable GSD should read (not the literal key). GSD resolves it automatically at runtime.
Per-Phase Model Routing
Assign different providers or models to different phases of the auto-mode pipeline inPREFERENCES.md:
Verifying Your Setup
After configuring a provider, verify everything is working:
If a model doesn’t appear, check that:
- The environment variable is exported in the current shell
~/.gsd/agent/models.jsonis valid JSON (cat ~/.gsd/agent/models.json | python3 -m json.tool)- The local inference server is running (for Ollama, LM Studio, etc.)
