← Back to Skills Marketplace
yang1002378395-cmyk

Deepseek Api Guide

by yang1002378395-cmyk · GitHub ↗ · v1.0.24 · MIT-0
cross-platform ✓ Security Clean
561
Downloads
0
Stars
1
Active Installs
48
Versions
Install in OpenClaw
/install deepseek-api-guide
Description
DeepSeek API 完整指南 - 注册、配置、省钱技巧。适合:想用便宜 AI 的用户。
README (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:注册账号

  1. 访问:https://platform.deepseek.com/
  2. 手机号注册(中国 +86)
  3. 实名认证(身份证)

步骤 2:获取 API Key

  1. 登录控制台
  2. API Keys → 创建新 Key
  3. 复制保存(只显示一次)

步骤 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

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install deepseek-api-guide
  3. After installation, invoke the skill by name or use /deepseek-api-guide
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug deepseek-api-guide
Version 1.0.24
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 48
Frequently Asked Questions

What is Deepseek Api Guide?

DeepSeek API 完整指南 - 注册、配置、省钱技巧。适合:想用便宜 AI 的用户。 It is an AI Agent Skill for Claude Code / OpenClaw, with 561 downloads so far.

How do I install Deepseek Api Guide?

Run "/install deepseek-api-guide" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Deepseek Api Guide free?

Yes, Deepseek Api Guide is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Deepseek Api Guide support?

Deepseek Api Guide is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Deepseek Api Guide?

It is built and maintained by yang1002378395-cmyk (@yang1002378395-cmyk); the current version is v1.0.24.

💬 Comments