Configure OpenAI-compatible or Anthropic-compatible clients to use DeepSeek models on RunAPI.
Model Reference | Skill Repo | All Models
Call the DeepSeek API through RunAPI with OpenAI-compatible clients or
Anthropic-compatible Messages clients. Point clients at https://runapi.ai/v1
for Chat Completions, or https://runapi.ai for /v1/messages, send
deepseek-v4-pro or deepseek-v4-flash, and pay through one RunAPI balance.
This skill teaches Claude Code, Codex, Gemini CLI, Cursor, and 50+ agents how
to wire DeepSeek requests through RunAPI.
The canonical agent file is skills/deepseek/SKILL.md.
npx skills add runapi-ai/deepseek -gOr paste this prompt to your AI agent:
Install the deepseek skill for me:
1. Clone https://github.com/runapi-ai/deepseek
2. Copy the skills/deepseek/ directory into your
user-level skills directory (e.g. ~/.claude/skills/
for Claude Code, ~/.codex/skills/ for Codex).
3. Verify that SKILL.md is present.
4. Confirm the install path when done.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_RUNAPI_TOKEN",
base_url="https://runapi.ai/v1",
)
response = client.chat.completions.create(
model="deepseek-v4-pro",
messages=[{"role": "user", "content": "Hello, DeepSeek!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
apiKey: "YOUR_RUNAPI_TOKEN",
baseURL: "https://runapi.ai/v1",
});
const response = await client.chat.completions.create({
model: "deepseek-v4-flash",
messages: [{ role: "user", content: "Hello, DeepSeek!" }],
});
console.log(response.choices[0].message.content);curl -X POST "https://runapi.ai/v1/chat/completions" \
-H "Authorization: Bearer YOUR_RUNAPI_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-v4-pro",
"messages": [{"role": "user", "content": "Hello, DeepSeek!"}]
}'Get a RunAPI API Key at https://runapi.ai/api_keys.
ANTHROPIC_BASE_URL=https://runapi.ai \
ANTHROPIC_API_KEY=YOUR_RUNAPI_TOKEN \
claudeUse model deepseek-v4-pro or deepseek-v4-flash when calling
POST /v1/messages.
| Model ID | Notes |
|---|---|
deepseek-v4-pro |
Higher quality DeepSeek chat and reasoning tasks |
deepseek-v4-flash |
Fast DeepSeek chat |
- DeepSeek API on RunAPI: https://runapi.ai/models/deepseek
- Provider page: https://runapi.ai/providers/deepseek
- Browse the full RunAPI catalog: https://runapi.ai/models
- Skill repository: https://github.com/runapi-ai/deepseek
- Keep API keys in
OPENAI_API_KEY,ANTHROPIC_API_KEY, or your secret manager; never inline them in commits or shell history. - Stream long responses (
stream: true) so the agent can release the terminal/IO loop early. - For pricing, rate-limit, and commercial-usage answers, link to https://runapi.ai/models/deepseek rather than this README.
Licensed under the Apache License, Version 2.0.