Overview
OpenWhispr supports multiple AI providers for cloud transcription and intelligent text processing. You can configure API keys through the Control Panel or by editing your.env file.
API keys are optional if you’re using local transcription with Whisper or Parakeet models. They’re only needed for cloud-based features.
Supported Providers
Transcription Providers
- OpenAI
- Groq
- Mistral
Models Available:
gpt-4o-mini-transcribe- Fast and accurategpt-4o-transcribe- Most accuratewhisper-1- Original Whisper model
AI Processing Providers
- OpenAI
- Anthropic
- Google Gemini
- Groq
Models Available:
- GPT-5.2, GPT-5 Mini, GPT-5 Nano
- GPT-4.1, GPT-4.1 Mini, GPT-4.1 Nano
How to Obtain API Keys
OpenAI API Key
- Visit platform.openai.com
- Create an account or sign in
- Navigate to API Keys in your account settings
- Click Create new secret key
- Copy the key (starts with
sk-) - Add billing information to your OpenAI account
Anthropic API Key
- Visit console.anthropic.com
- Create an account or sign in
- Go to API Keys section
- Click Create Key
- Copy the key (starts with
sk-ant-) - Set up billing in your account
Google Gemini API Key
- Visit aistudio.google.com
- Sign in with your Google account
- Click Get API Key
- Create a new API key or use an existing one
- Copy the key
Gemini offers a free tier with usage limits before requiring payment.
Groq API Key
- Visit console.groq.com
- Create an account or sign in
- Navigate to API Keys
- Click Create API Key
- Copy the key (starts with
gsk_)
Mistral API Key
- Visit console.mistral.ai
- Create an account or sign in
- Go to API Keys
- Generate a new key
- Copy the key
Configuring Keys in the Control Panel
Open Control Panel Settings
Right-click the OpenWhispr tray icon and select Control Panel.Navigate to Settings → Transcription or Settings → Intelligence depending on which provider you’re configuring.
Enter Your API Key
Paste your API key into the input field.
Keys are automatically masked (shown as
sk-...****) for security.Configuring Keys via Environment File
Advanced users can configure API keys by editing the.env file directly:
Locate Your .env File
- macOS
- Windows
- Linux
Edit the File
Add your API keys to the.env file:
API Key Security and Storage
How Keys Are Stored
OpenWhispr stores API keys securely using platform-specific methods.
- In-Memory: Keys loaded from
.envfile are stored inprocess.env - File Persistence: Keys saved via Control Panel are written to the
.envfile in the user data directory - No Cloud Sync: Keys are stored locally and never transmitted except to their respective API providers
- macOS:
~/Library/Application Support/OpenWhispr/.env - Windows:
%APPDATA%\OpenWhispr\.env - Linux:
~/.config/OpenWhispr/.env
.env file is created with restrictive permissions to prevent unauthorized access:
- macOS/Linux: Read/write for user only (chmod 600)
- Windows: Accessible only to the current user account
Best Practices
Use Separate Keys for Testing
Create development and production API keys to avoid mixing usage metrics and costs.
Set Usage Limits
Configure spending limits in your provider dashboards:
- OpenAI: Set monthly spending caps
- Anthropic: Configure usage alerts
- Groq: Monitor free tier limits
Rotate Keys Periodically
Change your API keys every few months or if you suspect they’ve been compromised.
Monitor Usage
Check your provider dashboards regularly for unexpected usage:
- OpenAI: platform.openai.com/usage
- Anthropic: console.anthropic.com
- Groq: console.groq.com
Custom API Endpoints
OpenWhispr supports custom API endpoints for self-hosted or compatible services:Custom endpoints must be compatible with the OpenAI API format.
Troubleshooting API Key Issues
Invalid API Key Error
Invalid API Key Error
Symptoms: Error message saying “Invalid API key” or “Authentication failed”Solutions:
- Verify you copied the entire key (no extra spaces)
- Check that the key starts with the correct prefix:
- OpenAI:
sk- - Anthropic:
sk-ant- - Groq:
gsk_
- OpenAI:
- Ensure you created the key in the correct account
- Check if the key has been revoked in your provider dashboard
- Try creating a new API key
Insufficient Credits Error
Insufficient Credits Error
Symptoms: Error about insufficient balance or quota exceededSolutions:
- Check your billing status in the provider dashboard
- Add payment information if required
- Verify your spending limits aren’t blocking requests
- For free tiers, check if you’ve exceeded usage limits
API Key Not Persisting
API Key Not Persisting
Symptoms: Need to re-enter API key after restarting OpenWhisprSolutions:
- Check file permissions on the
.envfile - Verify the app has write access to the user data directory
- Look for error messages in the console about
.envfile saving - Try manually editing the
.envfile with correct permissions
Rate Limit Errors
Rate Limit Errors
Symptoms: “Too many requests” or “Rate limit exceeded” errorsSolutions:
- Wait a few seconds and try again
- Check your provider’s rate limits for your API tier
- Consider upgrading to a higher tier if needed
- For transcription, try switching to local Whisper/Parakeet
Switching Between Local and Cloud
You can switch between local and cloud processing without losing your API keys:Choose Processing Mode
Select either:
- OpenWhispr Cloud (if signed in)
- Bring Your Own Key (uses your API keys)
- Local Processing (downloads models to your computer)