Skip to content

Use DeepSeek in your terminal

Use DeepSeek models with your own key. You pay DeepSeek directly; kunji never sees your bill.

  1. Create an API key at https://platform.deepseek.com/api_keys.
  2. Run kunji keys add deepseek and paste the key. kunji checks it works, then stores it in your OS keychain.
  3. Pick a default model from the list (type to search).
  4. Run kunji and start chatting.
Provider id deepseek
Type OpenAI-compatible API
API address https://api.deepseek.com/v1
Key variable DEEPSEEK_API_KEY
Terminal window
kunji models deepseek # see available models
kunji use deepseek:<model> # make one your default
kunji chat -m deepseek:<model> # or chat with it once

Inside a chat, switch to it with /model deepseek:<model>; the conversation carries over.

For CI or scripts you can skip the keychain:

Terminal window
export DEEPSEEK_API_KEY=your-key-here
kunji ask -m deepseek:<model> "Hello"