Skip to content

Providers & API Keys

whispercom supports 5 AI providers via the Vercel AI SDK. You only need one provider set up to use whispercom.

Supported Providers

ProviderEnv VariableBest For
AnthropicANTHROPIC_API_KEYQuality, instruction-following
OpenAIOPENAI_API_KEYGeneral purpose
Google GeminiGOOGLE_GENERATIVE_AI_API_KEYFast, free tier available
Mistral AIMISTRAL_API_KEYEuropean users, Codestral for code
GroqGROQ_API_KEYFastest inference (free tier)
CustomConfigured via whis configureOpenRouter, Nebius, LM Studio

Setting Your API Key

The easiest way to set your API key is by running:

bash
whis configure

The wizard will prompt you for your API key and securely save it to ~/.config/whispercom/config.json.

Environment Variables

If you prefer not to store keys in the config file, you can use environment variables. These will always override stored keys:

bash
export ANTHROPIC_API_KEY=sk-ant-...
# Add to ~/.bashrc or ~/.zshrc to persist
powershell
$env:ANTHROPIC_API_KEY = "sk-ant-..."
# To persist: add to your $PROFILE
bash
set -x ANTHROPIC_API_KEY sk-ant-...
# To persist: set -Ux ANTHROPIC_API_KEY sk-ant-...

:::

Available Models

All providers include a preset list of recommended models.

If the model you want to use isn't in the list (or a newer version was just released), simply select [ + Enter model ID manually ] at the bottom of the list in whis configure to type in the exact model ID.

Anthropic

ModelIDNote
Claude Opus 4.5claude-opus-4-5Most capable
Claude Sonnet 4.5claude-sonnet-4-5Balanced ✨ recommended
Claude Haiku 4.5claude-haiku-4-5Fastest

OpenAI

ModelIDNote
GPT-4ogpt-4oMost capable
GPT-4o minigpt-4o-miniBalanced
o3-minio3-miniReasoning

Google Gemini

ModelIDNote
Gemini 2.5 Progemini-2.5-pro-exp-03-25Most capable
Gemini 2.0 Flashgemini-2.0-flashFast ✨ recommended
Gemini 2.0 Thinkinggemini-2.0-flash-thinking-expReasoning

Mistral AI

ModelIDNote
Mistral Largemistral-large-latestMost capable
Mistral Smallmistral-small-latestBalanced
Codestralcodestral-latestCode-optimized

Groq

ModelIDNote
Llama 3.3 70Bllama-3.3-70b-versatileVersatile ✨ recommended
Llama 3.1 8Bllama-3.1-8b-instantFastest
DeepSeek R1 70Bdeepseek-r1-distill-llama-70bReasoning

Custom (OpenAI-compatible)

You can use third-party API providers that are compatible with the OpenAI API format (like OpenRouter, Nebius, or LM Studio).

  1. Run whis configure
  2. Select Custom (OpenAI-compatible)
  3. Type the Model ID (e.g. anthropic/claude-3.5-sonnet)
  4. Paste your API Key
  5. Enter the Base URL (e.g. https://openrouter.ai/api/v1)

Switching Providers

Run the configure wizard at any time to switch provider or model:

bash
whis configure

Or press c inside the commit picker to reconfigure without leaving the flow.

Getting API Keys

ProviderSign-up page
Anthropicconsole.anthropic.com
OpenAIplatform.openai.com
Googleaistudio.google.com
Mistralconsole.mistral.ai
Groqconsole.groq.com

Released under the MIT License.