Setting up BYOK providers
Bring-your-own-key (BYOK) lets you use Groq, OpenAI, Anthropic, Google Gemini, OpenRouter, or a custom OpenAI-compatible endpoint with keys stored on your device. Kalam never receives BYOK keys in the clear — with sync enabled, the provider_keys bucket is client-encrypted before upload. Use them for cloud speech-to-text and for AI polish on Pro, Trial, and Max.
Where keys live
- Open Settings → AI & Models → Providers.
- Add or paste a key for each provider you use.
- Optionally configure a custom OpenAI-compatible endpoint (base URL + key) for self-hosted or alternate APIs.
- Assign providers per mode under Dictation → Hear your voice (STT) and Improve the text (polish models).
Keys stay on this device. If you enable sync, the provider_keys bucket is client-encrypted before it leaves the machine — Kalam's servers store ciphertext only.
Add a Groq key (speech + polish)
- Create an account at console.groq.com and open API Keys.
- Create a key and copy it once (you will not see it again).
- In Kalam: Settings → AI & Models → Providers → add Groq → paste the key → save.
- Use Test if the UI offers it, then set a mode's voice provider to Groq under Dictation.
Groq is a common choice for fast cloud transcription on Free and up. See Speech-to-text.
Add an OpenAI key
- Open platform.openai.com → API keys and create a secret key.
- In Kalam: Settings → AI & Models → Providers → add OpenAI → paste → save.
- Point a mode's STT and/or polish model at OpenAI as needed.
Other providers (polish)
| Provider | Typical use |
|---|---|
| Anthropic | AI polish / writing models |
| Google Gemini | AI polish |
| OpenRouter | Many models behind one key |
| Custom OpenAI-compatible | Local gateways or third-party hosts |
Polish with BYOK requires Pro or Trial (Max can use Kalam-hosted AI instead). Details: AI polish and AI & Models settings.
Cloud STT sends audio to that provider. Polish sends transcript text (and any surroundings context) to the AI provider you chose — never to Kalam unless you use Kalam-hosted Max AI.