# Deepseek

Use DeepSeek's chat API: list models, run chat completions, check account balance.

- Repository: https://github.com/Anil-matcha/awesome-muse-connectors (1403 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-10-13
- Runs scripts: yes, review before use

## Install

Claude Code: `npx skills add Anil-matcha/awesome-muse-connectors --skill deepseek -g -a claude-code -y`
Codex: `npx skills add Anil-matcha/awesome-muse-connectors --skill deepseek -g -a codex -y`
Cursor: `npx skills add Anil-matcha/awesome-muse-connectors --skill deepseek -g -a cursor -y`
Gemini CLI: `npx skills add Anil-matcha/awesome-muse-connectors --skill deepseek -g -a gemini-cli -y`

## Description

Use DeepSeek's chat API: list models, run chat completions, check account balance. Trigger phrases: deepseek, deepseek chat, deepseek api.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# DeepSeek

## Purpose
Call the DeepSeek API from Muse: list the currently available models, run OpenAI-compatible chat completions (with thinking mode and sampling controls), and check the account balance. Reach for this when the user wants an answer from a DeepSeek model or wants to inspect their DeepSeek account.

## Tooling
All commands go through `bin/deepseek.py`:

```bash
bin/deepseek.py auth                                              # verify the API key
bin/deepseek.py models                                            # list available models
bin/deepseek.py chat --message "Explain recursion in one sentence" \
    --model deepseek-flash                                        # chat completion (SPENDS)
bin/deepseek.py chat --message "Solve: 2x+5=17" \
    --model deepseek-v4-pro --system "Show your work." \
    --temperature 0.2 --max-tokens 500                             # with options
bin/deepseek.py balance                                           # account balance
```

The chat command prints the reply plus token usage and a cost note. Thinking-mode
models also return `reasoning_content` when the API provides it.

## Auth
- Provider id: `deepseek` (credential is collected as `custom.deepseek`)
- Collection: API key (platform.deepseek.com > API keys) via the secure credential flow (`credentials.request_api_access`)
- Auth scheme: `Authorization: Bearer <api key>` on every request
- Allowed hosts: `api.deepseek.com`
- Status check: `bin/deepseek.py auth`

The rest: https://github.com/Anil-matcha/awesome-muse-connectors/blob/HEAD/connectors/deepseek/SKILL.md
