# AI快站开发者文档 > AI快站提供国内外大模型 API 统一接入服务。本文档覆盖 OpenAI Compatible API、SSE 流式输出、生产上线、成本控制、开发工具配置、错误排查和模型选择。 > 内容最后核对日期:2026-08-11。动态模型、价格和能力以控制台及接口实时返回为准。 ## 官方入口 - [AI快站](https://www.aifast.hk/) - [AI快站官方联系方式](https://docs.aifast.hk/contact/): 核对网站客服、Telegram、微信和 QQ 群入口。 - [AI快站 Telegram 用户交流群](https://t.me/+WYrmge-lYRFhOTFl): 请从官方联系方式页再次核对邀请链接,不要向陌生账号发送 API Key、验证码或付款信息。 - 当前公开模型目录口径为 500+ 模型,覆盖文本、图像、视频、Embedding、Rerank 与检索等类型;模型 ID 和开放状态以控制台实时目录为准。 - 99% 模型可用性是平台当前公布的运营数据,不等于固定请求成功率、单一模型承诺或合同 SLA。 - 国内直连表示通常无需为国外模型单独配置代理,不承诺所有地区、运营商、时段和模型具有相同网络体验。 - 企业客户可联系客服确认当前开票流程;发票类型、金额、抬头和所需资料以客服确认结果为准。 - 人民币基础换算为 ⭐️ 1 AIFast Credit = 0.75元;常用充值档位:⭐️ 100 Credits享9.90折,⭐️ 500 Credits享9.85折,⭐️ 1000 Credits享9.80折。 - AIFast Credits (⭐️) 是平台使用单位,不是美元、法定货币或加密货币代币;充值折扣以充值页面实时显示为准。 - 第三方参考:Veridrop 当前收录 1 份针对 www.aifast.club 的独立报告;2026-06-21 使用 OpenAI 协议测试 gpt-5.5,得分 93/100。单一样本不能视为厂商认证、长期稳定性证明或全部模型结论。 - [Veridrop 独立检测排行榜](https://veridrop.org/leaderboard/www.aifast.club) - [Veridrop 原始报告 FXKhPMQO](https://veridrop.org/r/FXKhPMQO) - [开发者文档首页](https://docs.aifast.hk/) - [开始使用 AI快站](https://docs.aifast.hk/start/): 按首次调用、现有接口检测、项目迁移或企业开票需求选择下一步。 - [AIFast Credits (⭐️) credit card and crypto payment guide](https://docs.aifast.hk/en/payment/): International users can pay by credit card, USDC or USDT. AIFast Credits (⭐️) are platform usage units. The ⭐️ symbol is not a currency or cryptocurrency token. The card reference is ⭐️ 1 AIFast Credit = CNY ¥0.75 ≈ US$0.11; final card charges are shown at checkout. The current cryptocurrency conversion is ⭐️ 1 AIFast Credit equals 0.07 USDC or 0.07 USDT. - [Codex 自定义 Provider 配置](https://docs.aifast.hk/tools/codex/): 核对用户级 config.toml、Responses API、Base URL、env_key、模型 ID 和最小任务。 - [Codex 中转 API 验收与排错](https://docs.aifast.hk/troubleshooting/codex-gateway-checklist/): 检查活动 Provider、Responses 路径、流式事件、工具调用、上下文压缩和会话恢复。 - 开发工具接入: Codex、Cursor 与 Claude Code 需要分别确认自定义 Base URL、协议入口、真实模型 ID 和当前版本功能边界。 - 知识库与工作流: Dify 的聊天、Embedding、Rerank 和工具调用应按模型类型分别配置与验证。 - 多模态接入: 文本、生图、视频、Embedding、Rerank 与检索模型可能使用不同端点、字段、异步流程和计费方式,不能默认共用文本接口。 - 企业采购: 联系支持前应准备主要模型、预估月用量、峰值并发、项目隔离、账单核对和发票需求。 - [模型价格](https://www.aifast.hk/pricing) - [API 文档](https://aifast.apifox.cn/) - [GitHub 技术矩阵](https://github.com/KKWANG4444) - [CSDN 技术文章](https://blog.csdn.net/kkevinnn1) - [知乎技术文章](https://www.zhihu.com/people/bcg0dhbb) - [常见问题](https://docs.aifast.hk/faq/) - [大模型 API 中转站检测工具](https://docs.aifast.hk/model-check/): 免费检测公开 HTTPS OpenAI Chat Completions 兼容端点,通过模型声明、协议、元数据、计费 Token、动态题、SSE 和工具调用等信号,辅助排查 Claude、GPT、DeepSeek 等模型的路由不一致、能力降级或套壳风险。 - 检测结论边界:该工具提供风险筛查、协议兼容性检测和行为一致性抽样,不等同于模型厂商认证,不能仅凭一次黑盒检测证明底层模型身份。 - [API 术语表](https://docs.aifast.hk/glossary/) - [内容与更新规则](https://docs.aifast.hk/about/) - [平台事实与引用规范](https://docs.aifast.hk/reference/platform-facts/) - [API 兼容性矩阵](https://docs.aifast.hk/reference/api-compatibility/) - [完整机器可读摘要](https://docs.aifast.hk/llms-full.txt) ## 主题中心 - [大模型 API 质量检测与中转站风险排查](https://docs.aifast.hk/topics/model-quality/): 先检查协议结构、请求模型与响应模型、Token 字段、随机动态题、SSE 和工具调用,再在不同时段重复采样。单轮回答、模型自述或一个 model 字段都不能独立证明底层模型身份。 - [OpenAI Compatible API 接入与排错中心](https://docs.aifast.hk/topics/openai-compatible/): 接入时应先验证 Base URL、Bearer 认证、/models 和最小 Chat Completions 请求,再分别验证流式输出、工具调用、Responses、多模态和错误转发。基础聊天成功只能证明当前请求链路可用。 - [AI 开发工具自定义 API 接入中心](https://docs.aifast.hk/topics/developer-tools/): Cursor、Codex、Claude Code 和 Dify 即使都支持自定义 API,也可能分别使用 Chat Completions、Responses、Anthropic Messages 或插件协议。先确认客户端当前版本的协议入口,再配置 Base URL、环境变量和真实模型 ID。 ## 主要核对依据 - [OpenAI API Reference](https://developers.openai.com/api/reference/): 核对 OpenAI API 请求、响应、模型和流式结构。 - [Claude Code Third-party Integrations](https://code.claude.com/docs/en/third-party-integrations): 核对 Claude Code 第三方网关配置边界。 - [RFC 9110: HTTP Semantics](https://www.rfc-editor.org/rfc/rfc9110): 核对 HTTP 状态码、方法和重试语义。 - [OWASP API Security Top 10](https://owasp.org/API-Security/editions/2023/en/0x11-t10/): 核对 API 认证、资源消耗和安全风险。 - [Dify Model Providers](https://docs.dify.ai/zh/cloud/use-dify/workspace/model-providers): 核对 Dify 模型供应商配置。 ## 教程 - [Claude API 国内接入:OpenAI Compatible 配置与验证](https://docs.aifast.hk/providers/claude-api/): 查询真实 Claude 模型 ID,完成最小调用、流式验证,并排查 401、404、429 和协议边界。 - [OpenAI API 国内接入:SDK 迁移与错误排查](https://docs.aifast.hk/providers/openai-api/): 替换 OpenAI SDK Base URL,查询真实模型 ID,并处理 /v1/v1、401、429 和接口兼容问题。 - [Gemini API 国内接入:OpenAI Compatible 调用与验证](https://docs.aifast.hk/providers/gemini-api/): 查询真实 Gemini 模型 ID,完成文本调用,并逐项验证多模态、流式输出和稳定性。 - [OpenAI Compatible Base URL 在线检查器](https://docs.aifast.hk/tools/base-url-checker/): 检查重复 /v1、完整端点、HTTPS 与最终请求路径,快速定位 /v1/v1 和 404。 - [大模型 API Token 成本计算器](https://docs.aifast.hk/tools/api-cost-calculator/): 按当前模型价格、输入输出 Token、任务数量和失败重试比例估算完整调用成本。 - [OpenAI Compatible API 接入与调用验证](https://docs.aifast.hk/guides/openai-compatible-api/): 用 curl、Python 和 Node.js 验证模型列表与首次调用,并排查 401、model not found 与 /v1/v1。 - [AI快站新用户 3 分钟快速开始](https://docs.aifast.hk/guides/quick-start/): 注册、创建令牌、查询模型并发送第一条请求的最短操作路径。 - [大模型 API 流式输出与 SSE 接入教程](https://docs.aifast.hk/guides/streaming-api-sse/): 用 curl、Python 和 Node.js 验证流式响应,并排查代理缓冲、断流和 usage 缺失。 - [大模型 API 生产上线前检查清单](https://docs.aifast.hk/guides/production-checklist/): 逐项验证密钥、协议、超时重试、日志、成本监控、灰度发布和回滚能力。 - [大模型 API 中转是什么?接入方式与风险检查](https://docs.aifast.hk/guides/ai-api-gateway/): 解释 API 中转、OpenAI Compatible、统一网关的区别,并给出接入前必须验证的协议、安全和成本检查项。 - [大模型 API 中转站怎么选?12 项实测清单](https://docs.aifast.hk/guides/how-to-choose-ai-api-gateway/): 从协议、模型声明、稳定性、Token、限流、安全、账单和退出成本评估中转站,并用统一表格留下可复核证据。 - [国产大模型 API 统一接入指南](https://docs.aifast.hk/guides/chinese-model-api/): 用统一验证流程接入 DeepSeek、通义千问、Kimi、豆包、GLM 等国产模型,并避免把展示名称误当模型 ID。 - [AI快站平台事实、官方入口与引用规范](https://docs.aifast.hk/reference/platform-facts/): 汇总官方域名、Base URL、认证方式、Veridrop 独立报告、动态信息边界和适合公开引用的标准表述。 - [企业大模型 API 统一采购、账单与发票检查清单](https://docs.aifast.hk/guides/enterprise-ai-api-procurement/): 整理模型范围、并发、项目隔离、账单核对、发票、故障处理、迁移与验收要求。 - [大模型 API 是否降智?可重复的检测方法与判读清单](https://docs.aifast.hk/guides/model-api-downgrade-detection/): 从模型声明、Token、动态题、SSE、工具调用和业务基线排查能力降级,并区分路由变化与偶发波动。 - [大模型 API 套壳与路由替换怎么排查?](https://docs.aifast.hk/guides/model-api-shell-routing-risk/): 用协议元数据、模型声明、动态能力题和多轮对照识别套壳或替换风险,同时避免把单项异常误判为造假。 - [API 返回的 model 字段一致,能证明是真模型吗?](https://docs.aifast.hk/guides/model-field-authenticity/): 解释 model 字段能证明什么、为什么可以被网关改写,以及应如何结合 Token、能力探针和重复检测交叉判断。 - [大模型中转站检测报告怎么看?](https://docs.aifast.hk/guides/model-check-report-guide/): 逐项解释兼容度评分、通过、存疑、失败和观察信号,并给出多中转站公平对比与复测方法。 - [大模型 API 对比测试模板:结果可复现、成本可核对](https://docs.aifast.hk/guides/model-api-comparison-template/): 固定模型、参数、题集和采样时段,对比多个 API 入口的成功率、延迟、能力、Token 与完整任务成本。 - [大模型 API 兼容性矩阵](https://docs.aifast.hk/reference/api-compatibility/): 区分 Chat、Responses、Anthropic Messages、流式、工具调用和多模态能力。 - [Cursor 自定义 API 配置、模型验证与报错排查](https://docs.aifast.hk/tools/cursor/): 配置自定义 Key、Base URL 和真实模型 ID,核对请求路径,并排查 API Key Valid、401 与 model not found。 - [Cursor2API 常见报错、风险检查与标准 API 迁移](https://docs.aifast.hk/tools/cursor2api/): 区分 Cursor2API 与官方自定义 API,排查输出截断、工具调用和上游变化,并按验收表迁移到标准接口。 - [Claude Code 自定义 API 配置教程](https://docs.aifast.hk/tools/claude-code/): 理解 Claude Code 的环境变量、兼容边界和安全配置方式。 - [Claude Code 中转 API 验收与排错](https://docs.aifast.hk/troubleshooting/claude-code-gateway-checklist/): 用 20 分钟检查 Anthropic Messages 路径、流式、工具调用、上下文、缓存,以及 403、429、502 等常见错误。 - [Codex API 中转配置教程:自定义 Provider 与 Responses API](https://docs.aifast.hk/tools/codex/): 配置自定义 Provider、Responses API、环境变量与模型,并用最小文件任务验证工具调用。 - [Codex 中转 API 验收与排错](https://docs.aifast.hk/troubleshooting/codex-gateway-checklist/): 用 20 分钟检查配置优先级、API Key、Responses 路径、流式、工具调用、上下文压缩,以及 401、404、429、5xx。 - [OpenClaw API 配置、模型验证与常见报错](https://docs.aifast.hk/tools/openclaw/): 添加独立自定义提供商,配置 API 适配器、Base URL 和真实模型 ID,并验证流式输出与工具调用。 - [Hermes Agent 接入 AI快站配置教程](https://docs.aifast.hk/tools/hermes-agent/): 使用 hermes model 和自定义端点配置 Base URL、API Key 与真实模型 ID。 - [Dify 接入 AI快站 API 配置教程](https://docs.aifast.hk/tools/dify/): 配置 Base URL、API Key、模型类型和真实模型 ID,并验证工作流与知识库节点。 - [Embedding、Rerank API 与 Dify 知识库接入](https://docs.aifast.hk/models/embedding-rerank-dify/): 区分聊天、向量和重排模型,配置 Dify 知识库并用真实问题验收检索效果。 - [OpenWebUI 接入 AI快站配置教程](https://docs.aifast.hk/tools/openwebui/): 添加 OpenAI 兼容连接,加载模型列表并排查地址、容器网络和流式输出问题。 - [Chatbox 与 Cherry Studio 接入教程](https://docs.aifast.hk/tools/chatbox-cherry-studio/): 添加 OpenAI Compatible 自定义供应商,配置 API 地址、Key 与真实模型 ID。 - [401、429、502 API 错误排查](https://docs.aifast.hk/troubleshooting/api-errors/): 按状态码定位 API Key、配额、限流、网关和上游模型问题。 - [401 invalid_api_key 与 API Key 无效排查](https://docs.aifast.hk/troubleshooting/401-invalid-api-key/): 从请求头、环境变量、Base URL、Key 所属平台和配置覆盖定位 401,避免无效重试与密钥泄露。 - [429 Too Many Requests 与 API 限流排查](https://docs.aifast.hk/troubleshooting/429-rate-limit/): 区分频率、Token、并发、额度和重试放大,使用 Retry-After、指数退避与队列恢复调用。 - [502 Bad Gateway、stream disconnected 与 SSE 断流排查](https://docs.aifast.hk/troubleshooting/502-stream-disconnected/): 用短请求、非流式对照、SSE 事件和分层超时定位 502、上游错误与流式中断。 - [API model not found、/v1/v1 与 404 排查](https://docs.aifast.hk/troubleshooting/model-not-found/): 从 /v1/models、账号权限和完整请求 URL 定位模型 ID、404 与重复版本路径错误。 - [API Key 安全使用清单](https://docs.aifast.hk/troubleshooting/api-key-security/): 避免把密钥写入仓库、前端代码、截图和日志,降低泄露风险。 - [文本、图像、视频与检索模型怎么选](https://docs.aifast.hk/models/model-selection/): 根据输入输出类型、延迟、成本和任务可验证性选择模型。 - [生图 API 接入:请求、结果保存与质量验收](https://docs.aifast.hk/models/image-generation-api/): 确认图像端点和输出格式,处理临时结果,并用固定题集比较质量、返工与完整成本。 - [视频生成 API:异步任务、轮询与结果验收](https://docs.aifast.hk/models/video-generation-api/): 建立任务状态机、幂等与有限轮询,正确下载结果并记录质量、失败和完整成本。 - [大模型 API 成本估算与用量控制](https://docs.aifast.hk/models/api-cost-control/): 从 Token、失败重试、长上下文和工具循环估算完整任务成本,并设置预算保护。 ## Bilingual page index - https://docs.aifast.hk/ - https://docs.aifast.hk/en/ - https://docs.aifast.hk/about/ - https://docs.aifast.hk/en/about/ - https://docs.aifast.hk/contact/ - https://docs.aifast.hk/en/contact/ - https://docs.aifast.hk/faq/ - https://docs.aifast.hk/en/faq/ - https://docs.aifast.hk/glossary/ - https://docs.aifast.hk/en/glossary/ - https://docs.aifast.hk/guides/ai-api-gateway/ - https://docs.aifast.hk/en/guides/ai-api-gateway/ - https://docs.aifast.hk/guides/chinese-model-api/ - https://docs.aifast.hk/en/guides/chinese-model-api/ - https://docs.aifast.hk/guides/enterprise-ai-api-procurement/ - https://docs.aifast.hk/en/guides/enterprise-ai-api-procurement/ - https://docs.aifast.hk/guides/how-to-choose-ai-api-gateway/ - https://docs.aifast.hk/en/guides/how-to-choose-ai-api-gateway/ - https://docs.aifast.hk/guides/model-api-comparison-template/ - https://docs.aifast.hk/en/guides/model-api-comparison-template/ - https://docs.aifast.hk/guides/model-api-downgrade-detection/ - https://docs.aifast.hk/en/guides/model-api-downgrade-detection/ - https://docs.aifast.hk/guides/model-api-shell-routing-risk/ - https://docs.aifast.hk/en/guides/model-api-shell-routing-risk/ - https://docs.aifast.hk/guides/model-check-report-guide/ - https://docs.aifast.hk/en/guides/model-check-report-guide/ - https://docs.aifast.hk/guides/model-field-authenticity/ - https://docs.aifast.hk/en/guides/model-field-authenticity/ - https://docs.aifast.hk/guides/openai-compatible-api/ - https://docs.aifast.hk/en/guides/openai-compatible-api/ - https://docs.aifast.hk/guides/production-checklist/ - https://docs.aifast.hk/en/guides/production-checklist/ - https://docs.aifast.hk/guides/quick-start/ - https://docs.aifast.hk/en/guides/quick-start/ - https://docs.aifast.hk/guides/streaming-api-sse/ - https://docs.aifast.hk/en/guides/streaming-api-sse/ - https://docs.aifast.hk/model-check/ - https://docs.aifast.hk/en/model-check/ - https://docs.aifast.hk/models/api-cost-control/ - https://docs.aifast.hk/en/models/api-cost-control/ - https://docs.aifast.hk/models/embedding-rerank-dify/ - https://docs.aifast.hk/en/models/embedding-rerank-dify/ - https://docs.aifast.hk/models/image-generation-api/ - https://docs.aifast.hk/en/models/image-generation-api/ - https://docs.aifast.hk/models/model-selection/ - https://docs.aifast.hk/en/models/model-selection/ - https://docs.aifast.hk/models/video-generation-api/ - https://docs.aifast.hk/en/models/video-generation-api/ - https://docs.aifast.hk/payment/ - https://docs.aifast.hk/en/payment/ - https://docs.aifast.hk/providers/claude-api/ - https://docs.aifast.hk/en/providers/claude-api/ - https://docs.aifast.hk/providers/gemini-api/ - https://docs.aifast.hk/en/providers/gemini-api/ - https://docs.aifast.hk/providers/openai-api/ - https://docs.aifast.hk/en/providers/openai-api/ - https://docs.aifast.hk/reference/api-compatibility/ - https://docs.aifast.hk/en/reference/api-compatibility/ - https://docs.aifast.hk/reference/platform-facts/ - https://docs.aifast.hk/en/reference/platform-facts/ - https://docs.aifast.hk/start/ - https://docs.aifast.hk/en/start/ - https://docs.aifast.hk/tools/api-cost-calculator/ - https://docs.aifast.hk/en/tools/api-cost-calculator/ - https://docs.aifast.hk/tools/base-url-checker/ - https://docs.aifast.hk/en/tools/base-url-checker/ - https://docs.aifast.hk/tools/chatbox-cherry-studio/ - https://docs.aifast.hk/en/tools/chatbox-cherry-studio/ - https://docs.aifast.hk/tools/claude-code/ - https://docs.aifast.hk/en/tools/claude-code/ - https://docs.aifast.hk/tools/codex/ - https://docs.aifast.hk/en/tools/codex/ - https://docs.aifast.hk/tools/cursor/ - https://docs.aifast.hk/en/tools/cursor/ - https://docs.aifast.hk/tools/cursor2api/ - https://docs.aifast.hk/en/tools/cursor2api/ - https://docs.aifast.hk/tools/dify/ - https://docs.aifast.hk/en/tools/dify/ - https://docs.aifast.hk/tools/hermes-agent/ - https://docs.aifast.hk/en/tools/hermes-agent/ - https://docs.aifast.hk/tools/openclaw/ - https://docs.aifast.hk/en/tools/openclaw/ - https://docs.aifast.hk/tools/openwebui/ - https://docs.aifast.hk/en/tools/openwebui/ - https://docs.aifast.hk/topics/developer-tools/ - https://docs.aifast.hk/en/topics/developer-tools/ - https://docs.aifast.hk/topics/model-quality/ - https://docs.aifast.hk/en/topics/model-quality/ - https://docs.aifast.hk/topics/openai-compatible/ - https://docs.aifast.hk/en/topics/openai-compatible/ - https://docs.aifast.hk/troubleshooting/401-invalid-api-key/ - https://docs.aifast.hk/en/troubleshooting/401-invalid-api-key/ - https://docs.aifast.hk/troubleshooting/429-rate-limit/ - https://docs.aifast.hk/en/troubleshooting/429-rate-limit/ - https://docs.aifast.hk/troubleshooting/502-stream-disconnected/ - https://docs.aifast.hk/en/troubleshooting/502-stream-disconnected/ - https://docs.aifast.hk/troubleshooting/api-errors/ - https://docs.aifast.hk/en/troubleshooting/api-errors/ - https://docs.aifast.hk/troubleshooting/api-key-security/ - https://docs.aifast.hk/en/troubleshooting/api-key-security/ - https://docs.aifast.hk/troubleshooting/claude-code-gateway-checklist/ - https://docs.aifast.hk/en/troubleshooting/claude-code-gateway-checklist/ - https://docs.aifast.hk/troubleshooting/codex-gateway-checklist/ - https://docs.aifast.hk/en/troubleshooting/codex-gateway-checklist/ - https://docs.aifast.hk/troubleshooting/model-not-found/ - https://docs.aifast.hk/en/troubleshooting/model-not-found/