Skip to content

Managing API Keys

FeynmanLM uses your own API keys to power AI features — flashcard evaluation, image generation, voice input, and voice output. You choose which providers to use and bring your own keys. All keys are stored securely in your device's Keychain.

Where to Add Keys

Go to SettingsAI Providers & ModelsAPI Keys.

Keys are organized by category:

Chat Providers

These power the AI tutor that evaluates your flashcard answers, asks follow-up questions, and generates flashcard proposals.

ProviderWhat you needWhere to get it
AnthropicAPI keyconsole.anthropic.com
OpenAIAPI keyplatform.openai.com/api-keys
GroqAPI keyconsole.groq.com/keys

You only need one chat provider key. Anthropic (Claude) is the default.

Image Providers

Used to generate images for flashcards (optional).

ProviderWhat you needWhere to get it
GeminiAPI keyaistudio.google.com/apikey
OpenAIAPI key (same as chat)platform.openai.com/api-keys

Speech-to-Text (Voice Input)

Powers the voice review mode where you explain flashcard answers out loud.

ProviderWhat you needWhere to get it
Wispr FlowAPI keywispr.ai
OpenAIAPI key (same as chat)platform.openai.com/api-keys
GroqAPI key (same as chat)console.groq.com/keys
DeepgramAPI keyconsole.deepgram.com
AssemblyAIAPI keyassemblyai.com/dashboard
CartesiaAPI keyplay.cartesia.ai
WhisperKitNone (on-device)Built in — no key needed
Apple SpeechNone (on-device)Built in — no key needed

Text-to-Speech (Voice Output)

Reads flashcard questions and feedback aloud during voice review.

ProviderWhat you needWhere to get it
AppleNone (on-device)Built in — no key needed
OpenAIAPI key (same as chat)platform.openai.com/api-keys
ElevenLabsAPI keyelevenlabs.io/app/settings/api-keys
Together AIAPI keyapi.together.xyz/settings/api-keys
GroqAPI key (same as chat)console.groq.com/keys
DeepgramAPI key (same as STT)console.deepgram.com
CartesiaAPI key (same as STT)play.cartesia.ai

GitHub

Used to import starred repos and documentation into your knowledge base.

MethodWhat you needWhere to get it
GitHub Sign-InOAuth (recommended)Click "Sign in with GitHub" in the app
GitHub PATPersonal access token (fallback)github.com/settings/tokens

Choosing Providers

Once your keys are entered, select which provider to use for each capability in Settings → AI Providers & Models:

  • Chat — pick Anthropic, OpenAI, or Groq
  • Image Generation — pick Gemini or OpenAI
  • Speech-to-Text — pick from any STT provider with a key configured
  • Text-to-Speech — pick from any TTS provider with a key configured

The app auto-loads the available models for each provider once a valid key is entered.

Using the MCP Server Instead

If you connect an AI assistant like Claude or ChatGPT via MCP (see Connect to AI Assistants), the assistant handles the AI processing on its side. In this case, you don't need a chat provider key for flashcard generation — only for voice review evaluation, which runs locally.

Security

  • All keys are stored in the Apple Keychain, encrypted at rest
  • Keys never leave your device except to authenticate with the provider's API
  • Keys are synced across your devices via iCloud Keychain (if enabled)
  • No keys are sent to FeynmanLM servers — the app talks directly to each provider