Settings
API keys, model routing, and cost transparency.
API Keys
API keys are stored in
.env.local in your project root. They never leave your machine. Add them there, then restart the dev server.Anthropic API Keyrequired
For Claude models (Haiku, Sonnet, Opus)
ANTHROPIC_API_KEY=your_key_here
Get your key at: https://console.anthropic.com/
OpenAI API Keyrequired
For Whisper transcription, fallback models, and embeddings
OPENAI_API_KEY=your_key_here
Get your key at: https://platform.openai.com/api-keys
Google AI API Key
For Gemini 2.5 Pro (long-context analysis)
GOOGLE_GENERATIVE_AI_API_KEY=your_key_here
Get your key at: https://aistudio.google.com/app/apikey
After adding keys to .env.local, restart with:
npm run dev
This month's spend
$0.0000
Total LLM spend since start of month
No spend recorded yet. Start chatting to see costs here.
Model routing
| Model | Tier | In /1k | Out /1k |
|---|---|---|---|
| Haiku 4.5 | fast | $0.00025 | $0.00125 |
| Sonnet 4.6 | balanced | $0.00300 | $0.01500 |
| Opus 4.6 | powerful | $0.01500 | $0.07500 |
| GPT-4o mini | fast | $0.00015 | $0.00060 |
| GPT-4o | balanced | $0.00500 | $0.01500 |
| Gemini 2.5 Pro | powerful | $0.00125 | $0.01000 |
Data policy
All data is stored locally in .data/app.db — SQLite on your machine.
Audio recordings are saved to .data/audio/ and never uploaded beyond the Whisper API call.
No telemetry. No analytics. No cloud database.
Only transient LLM API calls leave your machine.