Home / DGAI Help / Privacy & AI / Choosing an AI Backend

Choosing an AI Backend

DGAI can talk to a cloud AI (most capable; needs an API key) or a local AI running on your own machine (fully private, no key, but you need a capable computer). Pick from the backend dropdown at the top of the window.

Cloud providers

Cloud models are the most capable. With any cloud backend, your data is always tokenized — real identities never leave your machine (see How Your Privacy Works).

BackendDefault modelGet a key
Anthropic (recommended)claude-opus-4-8console.anthropic.com
OpenAIgpt-5-miniplatform.openai.com
Geminigemini-2.5-flashGoogle AI Studio
OpenRoutergoogle/gemini-2.5-flashopenrouter.ai
Groqllama-3.3-70b-versatileconsole.groq.com
xAIgrok-4x.ai

Entering your key

Open Privacy & Debug → Settings, paste the key into the {Provider} API key field, and press Open again. Alternatively set the provider's environment variable (e.g. ANTHROPIC_API_KEY), which takes precedence over a stored key. Keys are stored locally in DGAI's settings file.

Treat API keys like passwords. Paste your key directly into DGAI's Settings field (it's masked) or set the environment variable yourself — don't share it or paste it into a chat.

Local AI (nothing leaves your machine)

Run a model on your own computer — no API key, no cloud:

  • Ollama (http://localhost:11434) — default model llama3.1:8b. Use a tool-capable model (e.g. llama3.1, qwen2.5).
  • LM Studio (http://localhost:1234) — runs any model you've loaded.
  • Custom — any OpenAI-compatible endpoint you point it at.

Real-names mode (local only)

With a local AI, you can optionally turn on Real names (localhost AI only) in Settings — DGAI then skips tokenization and the model sees actual names. Because the endpoint is on your own machine, nothing leaves your computer regardless. DGAI refuses this mode for any non-localhost endpoint.

Cloud vs local, in a sentence: cloud gives you the strongest reasoning with airtight tokenization; local gives you total offline privacy and the option of real names, if your computer can run a capable tool-using model.

DGAI is a DNAGedcom tool. © DNAGedcom LLC 2020–2026. DGAI is provided as is with no guarantee given as to its performance.

All Applications · DNAGedcom User Group · Email Support