Reference
Providers Command
List available AI providers and their configuration status.
Providers Command
The whisp providers command shows all supported AI providers with their current configuration status.
Usage
whisp providersOutput:
Providers
➜ openai gpt-5-nano-2025-08-07 API key: ✓
anthropic claude-sonnet-4-202... API key: ✓
gemini gemini-1.5-flash API key: ✗
cerebras gpt-oss-120b API key: ✗
ollama llama3.2 (no key needed)
Switch provider: whisp config set provider <name>Output Explained
| Column | Description |
|---|---|
Arrow (➜) | Indicates the currently active provider |
| Provider name | The provider identifier used in configuration |
| Model | The configured model (or default) |
| API key status | Whether the API key is configured |
Status Indicators
| Indicator | Meaning |
|---|---|
API key: ✓ | API key is configured and ready |
API key: ✗ | API key is missing - provider won't work |
(no key needed) | Provider doesn't require an API key (Ollama) |
Supported Providers
| Provider | Requires API Key | Default Model | Environment Variable |
|---|---|---|---|
openai | Yes | gpt-5-nano-2025-08-07 | OPENAI_API_KEY |
anthropic | Yes | claude-sonnet-4-20250514 | ANTHROPIC_API_KEY |
gemini | Yes | gemini-1.5-flash | GOOGLE_API_KEY |
cerebras | Yes | gpt-oss-120b | CEREBRAS_API_KEY |
ollama | No | llama3.2 | — |
Switching Providers
Change your active provider:
whisp config set provider anthropic
whisp restartOr set via environment variable:
export WHISP_PROVIDER=anthropic
whisp restartConfiguring API Keys
Set API keys via environment variables:
# OpenAI
export OPENAI_API_KEY="sk-..."
# Anthropic
export ANTHROPIC_API_KEY="sk-ant-..."
# Google Gemini
export GOOGLE_API_KEY="..."
# Cerebras
export CEREBRAS_API_KEY="csk-..."Or in the config file (~/.config/whisp/config.toml):
[providers.openai]
api_key = "sk-..."
[providers.anthropic]
api_key = "sk-ant-..."Related Commands
| Command | Description |
|---|---|
whisp config | View current configuration |
whisp config set provider <name> | Switch active provider |
whisp init | Interactive setup wizard |
whisp doctor | Verify configuration including API keys |
See Also
- Providers & Models - Detailed provider comparison
- Config File - Full configuration reference
- Environment Variables - All environment variables