AI Providers
DearDiary supports multiple AI providers for diary generation. Choose the one that best fits your needs.
Supported Providers
| Provider | Default Model | Type |
|---|---|---|
| Groq (Recommended) | llama-3.3-70b-versatile | Cloud |
| OpenAI | gpt-4o | Cloud |
| Anthropic | claude-3-5-sonnet-latest | Cloud |
| Ollama | varies | Local |
| LM Studio | varies | Local |
Groq (Recommended)
Fast inference with a free tier available.
- Get an API key from console.groq.com
- Enter the API key in Settings
- Select Groq as your provider
- Test connection and save
OpenAI
- Get an API key from platform.openai.com
- Optionally select a specific model:
gpt-4o- Most capablegpt-4o-mini- Faster, cheaper
Anthropic
- Get an API key from console.anthropic.com
- Select Claude model:
claude-3-5-sonnet-latest- Recommendedclaude-3-opus-latest- Most capable
Local Models (Ollama)
Run models locally on your machine for complete privacy.
- Install Ollama
- Pull a model:
ollama pull llama3.2 - Set base URL:
http://localhost:11434/v1 - Enter model name (e.g.,
llama3.2)
Local Models (LM Studio)
- Download LM Studio
- Download a model
- Start local server (click "Start Server")
- Set base URL:
http://localhost:1234/v1