Files

1 line
3.0 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{"repo": "camtrik/ebbilogue", "files": {"data/blog/notes/deepseek-api-platform.mdx": {"9b0506ed2ff756168dee8810df777558f134bf83": {"t": 1785809888.2797182, "n": 1867, "h": "6c9c51dedfd753f0", "c": "---\ntitle: DeepSeek API Platforms\ndate: '2025-02-10'\ntags: ['Web', 'Cloud', 'AI', 'LLM']\ndraft: false\nimages:\nlayout: 'PostBannerInfo'\n---\n\n记录一下可以调用DeepSeek的平台\n[原帖地址](https://www.laogou717.com/geek/DeepseekAPI)\n\n## 硅基流动\n\n**访问地址:** [硅基流动](https://cloud.siliconflow.cn/i/Oj0qFpgb)\n\n**特点:**\n\n- 通过邀请链接注册可获得 2,000 万 TOKEN\n- 支持知识库构建和 API 调用\n- 提供完整的 API 接口和文档\n\n**使用步骤:**\n\n1. 通过链接注册(可选择是否使用邀请码)\n2. 进入控制台创建 API 密钥\n3. 在应用中配置并开始使用\n\n## 腾讯云 LKE\n\n**API 配置:** [控制台设置](https://console.cloud.tencent.com/lkeap/settings)\n\n**在线体验:** [体验中心](https://console.cloud.tencent.com/lkeap/experience)\n\n**API 端点:** [LKE API](https://api.lkeap.cloud.tencent.com)\n\n**可用模型:**\n\n- `deepseek-r1`: Deepseek 基础对话模型\n- `deepseek-v3`: Deepseek 增强版对话模型\n\n**特点:**\n\n- 提供 1,000 万免费 TOKEN\n- 支持联网搜索能力\n- 可创建自定义应用和知识库\n\n**调用示例:**\n\n```sh\ncurl -X POST \"https://api.lkeap.cloud.tencent.com/v1/chat/completions\" \\\n -H \"Content-Type: application/json\" \\\n -H \"Authorization: Bearer YOUR_API_KEY\" \\\n -d '{\n \"model\": \"deepseek-v3\",\n \"messages\": [\n {\"role\": \"user\", \"content\": \"你好,请介绍一下你自己\"}\n ],\n \"temperature\": 0.7\n}'\n```\n\n## 阿里云百炼\n\n**访问地址:** [百炼控制台](https://bailian.console.aliyun.com/#/home)\n\n**特点:**\n\n- 提供 1,000 万免费 TOKEN\n- 支持 Deepseek 模型调用\n- 简单的 API 接入流程\n\n**使用步骤:**\n\n1. 登录控制台\n2. 选择 Deepseek 模型\n3. 创建并获取 API 密钥\n\n## GitHub Models\n\n**访问地址:** [GitHub Marketplace](https://github.com/marketplace?type=models)\n\n**特点:**\n\n- 提供多种开源模型,包括 O3 mini、O1 和 Deepseek\n- 支持 API 调用\n- 可设置 TOKEN 有效期\n\n**使用步骤:**\n\n1. 登录 GitHub 账户\n2. 选择需要的模型(如 Deepseek R1)\n3. 创建 API TOKEN(可设置有效期)\n4. 在应用中配置并使用\n\n## 本地部署 - Ollama\n\nOllama 提供了便捷的本地 AI 模型部署方案:\n\n### 安装方法\n\n**官方下载:** [Ollama 官网](https://ollama.com/)\n\n**国内加速:** [百度网盘下载](https://pan.baidu.com/)\n\n### 模型部署\n\n```sh\n# 查看已安装模型\nollama list\n\n# 安装新模型\nollama pull deepseek-coder:7b-instruct-q4_K_M\n```\n\n### Cherry Studio 集成\n\n- **无需 API 密钥**(可随意填写)\n- 添加模型时使用 `ollama list` 显示的模型名称\n- 支持与知识库结合使用\n"}}}}