Setting Up Your Own API Key (BYOK)

Last updated March 16, 2026

Bring Your Own Key

MailDesk uses your own AI account — you have full control over costs and model choice.

Supported Providers

  • Anthropic (Claude) — Recommended. Models: Claude Sonnet 4.6, Claude Opus 4.6
  • OpenAI (GPT) — Models: GPT-4o, GPT-4o-mini, GPT-4.5

Set up API Key

  1. Go to Settings → AI
  2. Select your provider (Anthropic or OpenAI)
  3. Enter your API key
  4. Select the desired model
  5. Click Test Connection to check if the key works
  6. Save the configuration

Security

Your API key is stored encrypted with AES-256-GCM in the database — just like mailbox passwords. It is never visible in plain text at any time.

Costs

Costs depend on your provider and the selected model. A typical AI response consumes about 1,000–3,000 tokens, which corresponds to approximately €0.01–0.03 per response with Claude Sonnet.

Was this article helpful?

Powered by MailDesk