← 返回 Skills 市场
Deepseek Api Guide
作者
yang1002378395-cmyk
· GitHub ↗
· v1.0.24
· MIT-0
561
总下载
0
收藏
1
当前安装
48
版本数
在 OpenClaw 中安装
/install deepseek-api-guide
功能描述
DeepSeek API 完整指南 - 注册、配置、省钱技巧。适合:想用便宜 AI 的用户。
使用说明 (SKILL.md)
DeepSeek API 完整指南
国产最强 AI,性价比之王。
为什么选 DeepSeek
| 对比项 | DeepSeek V3 | GPT-4o | Claude Sonnet |
|---|---|---|---|
| 价格(输入) | ¥0.27/百万 tokens | ¥18/百万 tokens | ¥21/百万 tokens |
| 价格(输出) | ¥1.08/百万 tokens | ¥108/百万 tokens | ¥105/百万 tokens |
| 性能 | 接近 GPT-4 | 顶级 | 顶级 |
| 中文能力 | 优秀 | 一般 | 一般 |
| 免费额度 | 每天 10 次 | 注册送 $5 | 注册送 $5 |
结论:DeepSeek 比 GPT-4 便宜 100 倍,性能相当
注册流程
步骤 1:注册账号
- 访问:https://platform.deepseek.com/
- 手机号注册(中国 +86)
- 实名认证(身份证)
步骤 2:获取 API Key
- 登录控制台
- API Keys → 创建新 Key
- 复制保存(只显示一次)
步骤 3:充值
- 最低充值:¥10
- 支付方式:支付宝/微信
- 建议:先充 ¥10 测试
配置方法
OpenClaw
# ~/.openclaw/config.yaml
model: deepseek-chat
api_key: ${DEEPSEEK_API_KEY}
base_url: https://api.deepseek.com/v1
Python
from openai import OpenAI
client = OpenAI(
api_key="sk-xxx",
base_url="https://api.deepseek.com/v1"
)
response = client.chat.completions.create(
model="deepseek-chat",
messages=[{"role": "user", "content": "你好"}]
)
Node.js
import OpenAI from 'openai';
const client = new OpenAI({
apiKey: 'sk-xxx',
baseURL: 'https://api.deepseek.com/v1'
});
const response = await client.chat.completions.create({
model: 'deepseek-chat',
messages: [{ role: 'user', content: '你好' }]
});
模型对比
DeepSeek V3(deepseek-chat)
- 适合:日常对话、写作、编程
- 价格:¥0.27/¥1.08(输入/输出)
- 性能:接近 GPT-4
- 推荐指数:⭐⭐⭐⭐⭐
DeepSeek R1(deepseek-reasoner)
- 适合:复杂推理、数学、代码
- 价格:¥1.35/¥5.4
- 性能:推理能力强
- 推荐指数:⭐⭐⭐⭐
省钱技巧
1. 使用免费额度
- 每天免费 10 次调用
- 适合日常简单对话
2. 控制上下文长度
context:
max_tokens: 4000 # 限制上下文
3. 批量处理
batch:
enabled: true
size: 10
4. 缓存重复请求
cache:
enabled: true
ttl: 3600
成本对比
场景:每天 100 条消息,每条 1000 tokens
| 模型 | 月成本 |
|---|---|
| DeepSeek V3 | ¥3.24 |
| GPT-4o | ¥324 |
| Claude Sonnet | ¥378 |
DeepSeek 比 GPT-4 省 ¥320/月
常见问题
Q: API Key 在哪里看?
A: 控制台 → API Keys,创建后复制
Q: 免费额度用完了怎么办?
A: 第二天自动重置,或充值继续使用
Q: 如何查看余额?
curl https://api.deepseek.com/user/balance \
-H "Authorization: Bearer $API_KEY"
Q: 速度慢怎么办?
A: 国内访问较快,海外可能需要代理
Q: 和 GPT-4 差多少?
A: 日常任务几乎无差,复杂任务略逊
需要帮助?
- DeepSeek 配置:¥99
- OpenClaw 集成:¥199
- 企业部署:¥999
联系:微信 yang1002378395 或 Telegram @yangster151
创建:2026-03-14
安全使用建议
This is largely a normal how-to guide, but before following it: (1) verify that https://platform.deepseek.com and api.deepseek.com are the official DeepSeek endpoints (no homepage or publisher metadata is provided here), (2) be cautious when providing phone number and identity documents — confirm the site's legitimacy and privacy policy, (3) never paste your API key into public places; store it in a secure secrets store and use the exact env-var name you choose consistently, (4) double-check pricing and quotas with the vendor directly (promotional claims in the doc may be inaccurate), and (5) be wary of paying for configuration/help offers posted in the doc (contact handles provided may be third-party). If you want higher assurance, ask the publisher for an official homepage or documentation link and for clarification on the canonical env var name to use.
功能分析
Type: OpenClaw Skill
Name: deepseek-api-guide
Version: 1.0.24
The skill bundle is a purely informational guide for using the DeepSeek API. It contains documentation, pricing comparisons, and standard code snippets for Python and Node.js integration. There are no executable scripts, suspicious network calls, or prompt-injection attempts directed at the OpenClaw agent in SKILL.md.
能力评估
Purpose & Capability
Name and description match the SKILL.md content: a how-to/guide for registering, configuring, and saving costs with DeepSeek. The examples (OpenClaw config, Python/Node usage, curl) are appropriate for that purpose.
Instruction Scope
Instructions stay on-topic (registration steps, API key creation, config examples, cost tips). Minor inconsistency: examples reference different environment variable names (DEEPSEEK_API_KEY vs $API_KEY vs sk-xxx), which is confusing but not harmful. The guide instructs users to perform identity verification and payment on the vendor site — normal for a provider that requires real accounts, but users should verify the vendor independently before supplying sensitive personal info.
Install Mechanism
No install spec or code files; this is instruction-only, so nothing will be written to disk or downloaded by the skill itself. Low install risk.
Credentials
The skill declares no required environment variables (and no binaries), which matches the package being instruction-only. However, the examples show the use of an API key (DEEPSEEK_API_KEY / $API_KEY / sk-xxx). This is expected for a guide, but the skill does not standardize the env var name — the mismatch is a usability/inconsistency issue rather than a security violation.
Persistence & Privilege
always is false and the skill has no install steps that modify agent/system configuration. The skill does not request ongoing privileges or automatic inclusion.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install deepseek-api-guide - 安装完成后,直接呼叫该 Skill 的名称或使用
/deepseek-api-guide触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.24
定期更新
v1.1.0
优化功能,修复问题
v1.0.52
Version 1.0.52
- No file changes detected in this release.
- Functionality, documentation, and features remain the same as the previous version.
v1.0.51
Version 1.0.51
- No file changes detected in this version.
- Skill contents, documentation, and metadata remain the same as previous version 1.0.23.
v1.0.50
Version 1.0.50
- No changes detected in this version.
- Content, features, and documentation remain unchanged from the previous release.
v1.0.49
No changes detected in this version.
- Version bumped from 1.0.23 to 1.0.49 without any file changes.
- No updates to documentation, code, or features.
v1.0.48
Version 1.0.48
- No file changes detected in this release.
- No updates to documentation or functionality.
v1.0.47
Version bump only.
- Updated skill version to 1.0.47 (no other changes detected).
v1.0.46
Version 1.0.46
- No file changes detected in this release.
- Functionality, content, and configuration remain unchanged from the previous version.
v1.0.45
Version 1.0.45
- No file changes detected in this release.
- Content, configuration, and usage instructions remain unchanged.
v1.0.44
No file changes detected for version 1.0.44.
- No updates or changes were made in this release.
- All documentation and functionality remain the same as the previous version.
v1.0.43
Version 1.0.43
- No file changes detected in this release.
- No updates to documentation or features.
v1.0.42
Version 1.0.42
- No file changes detected in this release.
- No modifications to documentation or functionality.
- Version number updated only; content remains unchanged.
v1.0.41
Version 1.0.41
- No changes detected from the previous version.
- Content, features, and instructions remain the same as version 1.0.23.
v1.0.40
- Version bump to 1.0.40 with no content or file changes.
- All documentation and configurations remain unchanged from the previous release.
v1.0.39
Version bumped to 1.0.39 with no content or file changes.
- Updated version number to 1.0.39
- No modifications to documentation or code detected
v1.0.38
Version 1.0.38
- No file changes detected in this version.
- Content and documentation remain identical to previous release (1.0.23).
v1.0.37
No file changes detected in this version.
- Version updated to 1.0.37.
- No modifications to content or configuration files.
- Functionality remains unchanged from the previous release.
v1.0.36
Version 1.0.36
- No file changes detected in this release.
- Functionality, documentation, and configuration remain unchanged from the previous version.
v1.0.35
- Version bump to 1.0.35 with no file changes.
- No updates or modifications to documentation or content.
- No new features or bug fixes in this release.
元数据
常见问题
Deepseek Api Guide 是什么?
DeepSeek API 完整指南 - 注册、配置、省钱技巧。适合:想用便宜 AI 的用户。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 561 次。
如何安装 Deepseek Api Guide?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install deepseek-api-guide」即可一键安装,无需额外配置。
Deepseek Api Guide 是免费的吗?
是的,Deepseek Api Guide 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Deepseek Api Guide 支持哪些平台?
Deepseek Api Guide 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Deepseek Api Guide?
由 yang1002378395-cmyk(@yang1002378395-cmyk)开发并维护,当前版本 v1.0.24。
推荐 Skills