FREE AI INDEX / 统一产品界面我的收藏提交资源 ↗

Free AI Index / 按厂家浏览Browse by provider

PROVIDER DIRECTORY

DeepSeek API

浏览 DeepSeek API 的 0 个模型记录,比较上下文、限流、状态和来源,并查看已整理的免费入口。Browse 0 model records for DeepSeek API.

0 个模型models最近同步Last synced: —来源级别Source level: 操作指南Operation guide

注册要求与模型查找Registration and model lookup

需要账号Account
yes
需要邮箱Email
unknown
需要手机号Phone
unknown
需要实名Identity
unknown
需要信用卡Card
unknown
需要开通计费Billing
unknown
需要 API KeyAPI key
yes
许可证License
unknown

注册步骤尚未核验。Registration steps are not yet verified.

FreeLLM 实测FreeLLM test · freellm-text-v2 · 22 题 · 7 维度 · 2026-10-19

DeepSeek API 实测表现DeepSeek API: FreeLLM test results

未实测Not tested DeepSeek API 尚未纳入 FreeLLM 实测:本页没有我们自己的分数、延迟或成功率(未实测)。DeepSeek API is not tested by FreeLLM yet: no scores, latency or success rates of our own on this page.

方法:同一套 22 道固定题、temperature=0、全部自动评分;测试节点:GitHub Actions 托管运行器(美国)。数字只代表该时间点、我们的账号和该测试节点,地区与账号不同结果会不同。Method: the same 22 fixed cases, temperature 0, auto-graded; vantage: GitHub Actions (US). Numbers reflect that run, our accounts and that vantage only. 完整报告Full report →

全部模型记录All model records

暂未同步模型目录记录;请查看下方详细操作指南。 / No catalog model records are synced yet; see the detailed operation guide below.

本站详细接入资源Detailed FreeLLM access records

详细操作步骤Detailed operation paths

每条路径都拆成前置条件、步骤、可复制命令和验证动作;免费条件仍以官方页面实时状态为准。curl 命令按 macOS / Linux shell 编写,Windows 用户可使用同页的 Python 或 Node.js 示例。Each path includes prerequisites, steps, copyable commands and a validation action; free terms still follow the provider's live official policy. The curl examples use a macOS/Linux shell; Windows users can run the Python or Node.js examples on this page.

DeepSeek 官方 API 第一次调用(按量计费)

api

EndpointEndpoint
https://api.deepseek.com
认证Authentication
Authorization: Bearer API key
额度与限制Limits

按量计费;价格、并发和限流规则按官方价格与 Rate Limit 页面为准。

前置条件Prerequisites

  • DeepSeek Platform 账号DeepSeek Platform
  • 已创建 API Key 并保存到 DEEPSEEK_API_KEY 环境变量API Key DEEPSEEK_API_KEY
  • 已查看官方价格并确认账户余额;此入口不是免费额度;

操作步骤Steps

  1. 创建 API Key 并查看价格

    在 DeepSeek Platform 创建密钥。官方 API 按量计费;先查看当前模型价格与账户余额,再发请求。

    操作Action:打开 https://platform.deepseek.com/

  2. 安装 OpenAI Python SDK

    官方 API 兼容 OpenAI Chat Completions 格式。建议使用 Python 3.9+ 虚拟环境。

    可复制命令Copyable command
    python -m pip install -U openai
  3. 发送第一条请求

    使用官方当前模型 ID deepseek-flash。该模型名替代已退役的旧 Flash 名称。

    可复制命令Copyable command
    export DEEPSEEK_API_KEY="你的 Key"
    curl https://api.deepseek.com/chat/completions -H 'Content-Type: application/json' -H "Authorization: Bearer $DEEPSEEK_API_KEY" -d '{"model":"deepseek-flash","messages":[{"role":"user","content":"用一句话解释 API 是什么。"}],"stream":false}'

    预期结果Expected:返回 choices[0].message.content;同时检查控制台余额和用量记录。

  4. Python SDK 示例

    密钥从环境变量读取;不在代码中粘贴真实密钥。

    可复制命令Copyable command
    import os
    from openai import OpenAI
    
    client = OpenAI(
        api_key=os.environ["DEEPSEEK_API_KEY"],
        base_url="https://api.deepseek.com",
    )
    response = client.chat.completions.create(
        model="deepseek-flash",
        messages=[{"role": "user", "content": "用一句话解释 API 是什么。"}],
    )
    print(response.choices[0].message.content)

    预期结果Expected:终端打印模型回复。

  5. Node.js SDK 示例

    安装 OpenAI 官方 Node.js SDK;Node.js 20 LTS 或更新版本。

    可复制命令Copyable command
    npm install openai
    
    import OpenAI from "openai";
    
    const client = new OpenAI({
      apiKey: process.env.DEEPSEEK_API_KEY,
      baseURL: "https://api.deepseek.com",
    });
    const response = await client.chat.completions.create({
      model: "deepseek-flash",
      messages: [{ role: "user", content: "用一句话解释 API 是什么。" }],
    });
    console.log(response.choices[0].message.content);

    预期结果Expected:Node.js 打印模型回复;控制台可查看本次调用用量。

验证动作Validation

响应包含 choices 数组中的模型文本,并在控制台确认账户余额和用量变化。

常见问题Common issues
  • 401:检查 API Key 是否正确,且没有把 API URL 填进 Key 字段。401: API Key , API URL Key 。
  • 402:账户余额不足;停止重试并检查价格和余额。402: ; 。
  • 404:确认模型 ID 为当前官方模型名,例如 deepseek-flash。404: ID , deepseek-flash。
  • 429:降低请求频率并按官方建议等待后再重试。429: 。

官方来源Official sources