Keys / DeepSeek

DEEPSEEK_API_KEY

The DeepSeek API key your app calls DeepSeek models with.

Expires
the docs don't say
API
none; dashboard only

Get it

Create one on platform.deepseek.com/api_keys. The steps aren't recorded yet.

Set it

DEEPSEEK_API_KEY=...

DeepSeek's docs call the API with the OpenAI SDK, which doesn't read this variable; your app passes the key in. Or keep it out of .env with keypin: keypin run -- npm run dev

Replace it

  1. Create a new key.
  2. Deploy it everywhere that reads DEEPSEEK_API_KEY.
  3. Check that requests succeed with the new key, then delete the old one.

Set rotate_every on the key in keypin.toml and a rotated date on its vault item, and keypin status shows when it's due.

Sources, checked 2026-11-16