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.

  1. Get an API key from console.groq.com
  2. Enter the API key in Settings
  3. Select Groq as your provider
  4. Test connection and save

OpenAI

  1. Get an API key from platform.openai.com
  2. Optionally select a specific model:
    • gpt-4o - Most capable
    • gpt-4o-mini - Faster, cheaper

Anthropic

  1. Get an API key from console.anthropic.com
  2. Select Claude model:
    • claude-3-5-sonnet-latest - Recommended
    • claude-3-opus-latest - Most capable

Local Models (Ollama)

Run models locally on your machine for complete privacy.

  1. Install Ollama
  2. Pull a model: ollama pull llama3.2
  3. Set base URL: http://localhost:11434/v1
  4. Enter model name (e.g., llama3.2)

Local Models (LM Studio)

  1. Download LM Studio
  2. Download a model
  3. Start local server (click "Start Server")
  4. Set base URL: http://localhost:1234/v1