# AIHubMix ## Docs - [常见问题](https://docs.aihubmix.com/cn/FAQs/Faq.md): 高频问题请先查阅此文档 - [提交反馈](https://docs.aihubmix.com/cn/FAQs/Feedback.md): 遇到问题时,可以通过工单表单向我们提交反馈,附上 Tid 可以帮助我们更快定位问题。 - [HTTP 状态码](https://docs.aihubmix.com/cn/FAQs/HTTP-Codes.md): 关键错误代码映射表 - [Create a Message](https://docs.aihubmix.com/cn/api-reference/anthropic-compatible/create-a-message.md): Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation. - [Generate Content](https://docs.aihubmix.com/cn/api-reference/google-vertex-ai-compatible/generate-content.md): Native Gemini protocol entry point. Mirrors the request and response shapes of `https://generativelanguage.googleapis.com` — clients may point the google-genai SDK at this gateway directly. - [Create a Chat Completion](https://docs.aihubmix.com/cn/api-reference/openai-compatible/create-a-chat-completion.md): **Starting a new project?** We recommend trying [Responses](https://developers.openai.com/api/docs/api-reference/responses) to take advantage of the latest OpenAI platform features. Compare [Chat Completions with Responses](https://developers.openai.com/api/docs/guides/responses-vs-chat-completions?… - [Create a Completion](https://docs.aihubmix.com/cn/api-reference/openai-compatible/create-a-completion.md): Creates a completion for the provided prompt and parameters. - [Create a Model Response](https://docs.aihubmix.com/cn/api-reference/openai-compatible/create-a-model-response.md): Creates a model response. Provide [text](https://developers.openai.com/api/docs/guides/text) or [image](https://developers.openai.com/api/docs/guides/images) inputs to generate [text](https://developers.openai.com/api/docs/guides/text) or [JSON](https://developers.openai.com/api/docs/guides/structur… - [Create a Video](https://docs.aihubmix.com/cn/api-reference/openai-compatible/create-a-video.md): Create a new video generation job from a prompt and optional reference assets. - [Create an Embedding](https://docs.aihubmix.com/cn/api-reference/openai-compatible/create-an-embedding.md): Creates an embedding vector representing the input text. - [Create Moderation](https://docs.aihubmix.com/cn/api-reference/openai-compatible/create-moderation.md): Classifies if text and/or image inputs are potentially harmful. Learn more in the [moderation guide](https://developers.openai.com/api/docs/guides/moderation). - [Create Speech](https://docs.aihubmix.com/cn/api-reference/openai-compatible/create-speech.md): Generates audio from the input text. - [Create Transcription](https://docs.aihubmix.com/cn/api-reference/openai-compatible/create-transcription.md): Transcribes audio into the input language. - [Create Translation](https://docs.aihubmix.com/cn/api-reference/openai-compatible/create-translation.md): Translates audio into English. - [Delete a Video](https://docs.aihubmix.com/cn/api-reference/openai-compatible/delete-a-video.md): Permanently delete a completed or failed video and its stored assets. - [Download Video Content](https://docs.aihubmix.com/cn/api-reference/openai-compatible/download-video-content.md): Download the generated video bytes or a derived preview asset. - [Generate Images](https://docs.aihubmix.com/cn/api-reference/openai-compatible/generate-images.md): Creates an image given a prompt. [Learn more](https://developers.openai.com/api/docs/guides/images). - [Remix a Video](https://docs.aihubmix.com/cn/api-reference/openai-compatible/remix-a-video.md): Create a remix of a completed video using a refreshed prompt. - [Retrieve a Video](https://docs.aihubmix.com/cn/api-reference/openai-compatible/retrieve-a-video.md): Fetch the latest metadata for a generated video. - [AI SDK](https://docs.aihubmix.com/cn/api/AISDK.md): 用 AI SDK 接入 AIHubMix:通过 OpenAI 兼容接口,在 TypeScript / JavaScript 代码中统一调度多家厂商模型。 - [AIhubMix 一站式集成](https://docs.aihubmix.com/cn/api/Aihubmix-Integration.md): 了解 AIhubMix 的通用模型调用方式 - [Anthropic API 兼容(Beta)](https://docs.aihubmix.com/cn/api/Anthropic-Compatible.md) - [构建 AI 共赢生态](https://docs.aihubmix.com/cn/api/App-code.md): AIhubmix 推出应用标识码 APP-Code,为开发者们提供全部模型(除 claude 系列模型外)10%优惠! - [Claude Code,模型自由](https://docs.aihubmix.com/cn/api/CC-any.md): 使用 Aihubmix 平台上的任何大模型为 Claude Code 提供强劲动力,彻底告别连接不稳定和额度难买的烦恼。Aihubmix 的转发服务基于官方渠道,合规安全,无需担心账号风险或隐性限制。 - [模型后缀能力说明](https://docs.aihubmix.com/cn/api/Capability-Suffix.md): 通过模型后缀,部分模型的高级能力已预先配置,用户可在统一的 OpenAI / Chat 接口下直接使用。 - [Claude 提示词缓存](https://docs.aihubmix.com/cn/api/Claude-Cache.md): 提示缓存显著减少了重复任务或包含一致元素的提示的处理时间,有效减低了 Token 成本。 - [Claude Code](https://docs.aihubmix.com/cn/api/Claude-Code.md): 在 Claude Code 中接入 AIHubMix:这款终端 AI 编程助手用单个 API key 即可跨厂商调用模型,享受稳定路由与统一计费。 - [Claude 原生接口调用](https://docs.aihubmix.com/cn/api/Claude-Native.md) - [通过接口获取账户信息](https://docs.aihubmix.com/cn/api/Cli.md): 通过 AiHubMix CLI 实用管理脚本在命令行中管理密钥、查看账户和可用模型列表等 - [获取当前用户可用模型列表](https://docs.aihubmix.com/cn/api/CliEndpoints/available-models.md): 返回当前用户允许使用的模型列表 - [创建新 KEY](https://docs.aihubmix.com/cn/api/CliEndpoints/create-key.md): 创建一个新的 API KEY - [删除 KEY](https://docs.aihubmix.com/cn/api/CliEndpoints/delete-key.md): 根据 token_id 删除一个 KEY - [获取单个 KEY 详情](https://docs.aihubmix.com/cn/api/CliEndpoints/get-key.md): 根据 token_id 获取 KEY 的详细信息 - [获取当前用户信息与余额](https://docs.aihubmix.com/cn/api/CliEndpoints/get-self.md): 获取当前用户信息与账户余额 - [获取用户 KEY](https://docs.aihubmix.com/cn/api/CliEndpoints/get-user-token.md): 获取当前用户的 KEY 信息(若接口返回 token 字段) - [获取 KEY 列表](https://docs.aihubmix.com/cn/api/CliEndpoints/list-keys.md): 获取所有 KEY 列表,支持 num 参数控制数量 - [搜索 KEY](https://docs.aihubmix.com/cn/api/CliEndpoints/search-keys.md): 通过 keyword 搜索 KEY - [更新 KEY](https://docs.aihubmix.com/cn/api/CliEndpoints/update-key.md): 更新现有 KEY 的名称、过期时间、额度、模型/IP 限制与状态等 - [Codex CLI](https://docs.aihubmix.com/cn/api/Codex-CLI.md): 在 Codex CLI 中接入 AIHubMix:OpenAI 官方终端编程工具用单个 API key 自由切换模型,无需绑定单一厂商。 - [Crush](https://docs.aihubmix.com/cn/api/Crush.md) - [数据隐私](https://docs.aihubmix.com/cn/api/Data-Pravicy.md) - [Dify 插件](https://docs.aihubmix.com/cn/api/Dify-plugin.md): 在 Dify 中轻松集成 Aihubmix - [向量嵌入](https://docs.aihubmix.com/cn/api/EBD.md): AIHubMix 提供兼容 OpenAI 标准的高效向量嵌入方案 - [FIM 补全](https://docs.aihubmix.com/cn/api/FIM.md) - [GPT Image](https://docs.aihubmix.com/cn/api/GPT-Image-1.md) - [Gemini CLI](https://docs.aihubmix.com/cn/api/Gemini-Cli.md) - [Gemini 指南](https://docs.aihubmix.com/cn/api/Gemini-Guides.md): Gemini 漫游指南:关于本站的 Gemini 调用细节,在此汇总。 - [Ideogram AI 绘图支持](https://docs.aihubmix.com/cn/api/IdeogramAI.md) - [图片生成接口](https://docs.aihubmix.com/cn/api/Image-Gen.md): 为了方便开发者调用不同的图像生成模型,AIHubMix 提供了统一的图片生成接口 - [Jina AI 集成](https://docs.aihubmix.com/cn/api/Jina-AI.md) - [Kilo Code](https://docs.aihubmix.com/cn/api/Kilo-Code.md) - [LLM 联网搜索](https://docs.aihubmix.com/cn/api/LLM-Search.md) - [模型映射与回退](https://docs.aihubmix.com/cn/api/Model-Mapping-Fallback.md): 在 AIHubMix 控制台为每个 API Key 配置模型名映射与错误时回退:把客户端的模型别名改写为真实上游模型,主模型失败时自动切换到备用模型,按最终响应模型计费,客户端代码零改动。 - [模型管理API](https://docs.aihubmix.com/cn/api/Models-API.md): 本API文档提供了对模型管理接口的详细说明,包括新版本和旧版本接口的功能、请求示例、参数说明及响应格式。 - [Gemini 新「智绘」](https://docs.aihubmix.com/cn/api/Multimodal-Interaction-with-Gemini.md): Gemini 绘图和视频生成指引 - [OpenClaw](https://docs.aihubmix.com/cn/api/OpenClaw.md) - [OpenCode](https://docs.aihubmix.com/cn/api/Opencode.md) - [阿里通义系列](https://docs.aihubmix.com/cn/api/Qwen.md) - [Qwen Code](https://docs.aihubmix.com/cn/api/Qwen-code.md) - [重排序](https://docs.aihubmix.com/cn/api/Rerank.md): AIHubMix 提供兼容 OpenAI 标准的高效重排序方案 - [Openai Responses API 支持](https://docs.aihubmix.com/cn/api/Responses-API.md) - [STT 语音转文本](https://docs.aihubmix.com/cn/api/STT.md): 使用 Whisper 模型将音频文件转换为文本,支持转录和翻译功能 - [Status](https://docs.aihubmix.com/cn/api/Status.md) - [TTS 文本转语音](https://docs.aihubmix.com/cn/api/TTS.md): 使用 AI 模型将文本转换为自然语音,支持多种语音风格和输出格式 - [三方接入技术指南](https://docs.aihubmix.com/cn/api/Third-PartyIntegrationTechnicalGuide.md): 基于 `@aihubmix/ai-sdk-provider`、`dify-plugin-aihubmix` 和 `cherry-studio` 三个项目的核心实现逻辑,本文档为开发者提供快速接入 aihubmix 统一网关的技术指南。 - [视频生成接口](https://docs.aihubmix.com/cn/api/Video-Gen.md): AiHubMix 提供统一的视频生成 API,兼容 OpenAI Sora 接口格式,后端支持多家厂商模型 - [OpenAI 与 Grok 模型请求封号说明](https://docs.aihubmix.com/cn/api/ban-notice.md) - [CC Switch](https://docs.aihubmix.com/cn/api/cc-switch.md): CC Switch 是开源跨平台桌面 GUI 工具,统一管理 Claude Code、Codex、Gemini CLI、OpenCode、OpenClaw 的 AIHubMix Provider 配置、API key 切换、MCP 服务器与用量统计,支持 Windows/macOS/Linux 全平台。 - [Claude Desktop](https://docs.aihubmix.com/cn/api/claude-desktop.md): 在 Claude Desktop 中接入 AIHubMix:无需 Anthropic 账号登录,全程点击操作即可驱动客户端,通过单个 API key 统一调用 Claude、GPT、Gemini、DeepSeek 等多系列模型,按量计费、灵活可控。 - [Hermes Agent](https://docs.aihubmix.com/cn/api/hermes-agent-ai-hubmix.md): Hermes Agent 是 Nous Research 推出的开源 self-improving AI 智能体,它会自主学习、持续进化,并拥有持久记忆系统。 - [内容审查接口](https://docs.aihubmix.com/cn/api/moderation.md): 提供与 OpenAI 标准完全兼容的内容审查 API,开发者可以通过此接口,利用多模态审核模型自动识别文本或图片中的有害内容(如仇恨言论、暴力、违禁活动等),确保应用合规性。 - [快速使用](https://docs.aihubmix.com/cn/api/responses/Basic-Usage.md): 开始使用 Responses API Beta - [推理](https://docs.aihubmix.com/cn/api/responses/Reasoning.md): Responses API Beta 支持高级推理能力,允许模型在回答问题时展示其内部推理过程,并且可以通过参数配置推理努力程度。 - [工具调用](https://docs.aihubmix.com/cn/api/responses/Tool-Calling.md): 使用 Responses API Beta 进行函数调用与工具集成 - [概述](https://docs.aihubmix.com/cn/api/responses/overview.md): OpenAI-compatible Responses API (Beta) - [统一推理参数](https://docs.aihubmix.com/cn/api/unified-inference.md) - [图像理解](https://docs.aihubmix.com/cn/api/vision.md): 了解如何使用视觉功能来理解图像。 - [Blog](https://docs.aihubmix.com/cn/blogs/Building.md): 分享团队的探索和思考 - [AIHubMix OpenAI 兼容接口升级 —— 深度支持 Claude 思考、缓存与 Beta 功能](https://docs.aihubmix.com/cn/blogs/aihubmix-openai-upgrade-claude.md) - [AIHubMix 全球加速网络](https://docs.aihubmix.com/cn/blogs/global-acceleration.md) - [AIHubMix 图片生成 MCP](https://docs.aihubmix.com/cn/clients/AHM-mcp.md): AIHubMix 图片生成 MCP:在支持 MCP 协议的客户端中通过 AIHubMix 调用图片生成模型,统一计费。 - [AnythingLLM](https://docs.aihubmix.com/cn/clients/AnythingLLM.md): 在 AnythingLLM 中接入 AIHubMix:用单个 API key 为本地私有 RAG 知识库统一接入对话与 Embedding 模型。 - [Avante.nvim](https://docs.aihubmix.com/cn/clients/Avante.nvim.md): 在 Avante.nvim 中接入 AIHubMix:在 Neovim 编辑器里用单个 API key 完成 AI 编程,自由切换模型。 - [ChatAll](https://docs.aihubmix.com/cn/clients/ChatAll.md) - [ChatBox](https://docs.aihubmix.com/cn/clients/ChatBox.md) - [NextChat](https://docs.aihubmix.com/cn/clients/ChatGPT-Next-Web.md): 在 NextChat(ChatGPT Next Web)中接入 AIHubMix:一键部署你的私人 AI 助手,用单个 API key 跨厂商调用模型。 - [ChatHub](https://docs.aihubmix.com/cn/clients/ChatHub.md) - [Chatx](https://docs.aihubmix.com/cn/clients/Chatx.md) - [Cherry Studio](https://docs.aihubmix.com/cn/clients/Cherry-Studio.md) - [Cline](https://docs.aihubmix.com/cn/clients/Cline.md): 在 Cline 中接入 AIHubMix:这款 VS Code / JetBrains AI 编码 Agent 用单个 API key 即可跨厂商调用模型。 - [Cursor](https://docs.aihubmix.com/cn/clients/Cursor.md): 在 Cursor 中接入 AIHubMix:在 AI 代码编辑器里用单个 API key 跨厂商调用模型,无需在多家服务间切换。 - [Dify](https://docs.aihubmix.com/cn/clients/Dify.md): 在 Dify 中接入 AIHubMix:让这个低代码 AI 应用平台用单个 API key 统一调度多家厂商模型。 - [FeelFish](https://docs.aihubmix.com/cn/clients/FeelFish.md): 在 FeelFish 中接入 AIHubMix:AI 小说写作客户端用单个 API key 接入模型辅助创作。 - [GCMP](https://docs.aihubmix.com/cn/clients/GCMP.md) - [GPT-Academic](https://docs.aihubmix.com/cn/clients/GPT-Academic.md): 在 GPT-Academic 中接入 AIHubMix:学术优化工具用单个 API key 调用模型,用于论文润色、翻译与解读。 - [Gptme](https://docs.aihubmix.com/cn/clients/Gptme.md): 在 Gptme 中接入 AIHubMix:开源终端 AI 助手用单个 API key 写代码、跑脚本并自由切换模型。 - [沉浸式翻译](https://docs.aihubmix.com/cn/clients/Immersive-Translate.md): 在沉浸式翻译中接入 AIHubMix:浏览器翻译扩展用单个 API key 完成高质量双语对照翻译。 - [LangChain](https://docs.aihubmix.com/cn/clients/LangChain.md): 用 LangChain 接入 AIHubMix:通过 OpenAI 兼容接口在 Python / JS 代码中调用模型,构建 AI 应用与 Agent。 - [LibreChat](https://docs.aihubmix.com/cn/clients/LibreChat.md): 在 LibreChat 中接入 AIHubMix:开源多模型对话客户端通过自定义端点统一接入多家厂商模型。 - [LiteLLM](https://docs.aihubmix.com/cn/clients/LiteLLM.md): 用 LiteLLM 接入 AIHubMix:通过统一代理层一行代码切换模型,覆盖流式输出与多轮对话。 - [LobeChat](https://docs.aihubmix.com/cn/clients/Lobe-Chat.md) - [n8n](https://docs.aihubmix.com/cn/clients/N8N.md): 在 n8n 中接入 AIHubMix:让这个工作流自动化平台在节点中用单个 API key 调用模型。 - [NextAI Translator](https://docs.aihubmix.com/cn/clients/NextAITranslator.md): 在 NextAI Translator(原 OpenAI Translator)中接入 AIHubMix:用单个 API key 调用模型完成划词翻译。 - [Obsidian](https://docs.aihubmix.com/cn/clients/Obsidian.md): 在 Obsidian 中接入 AIHubMix:通过 Text Generator 等插件用单个 API key 调用模型,用于笔记写作与总结。 - [懒人客服](https://docs.aihubmix.com/cn/clients/On-CS.md): 在懒人客服中接入 AIHubMix:用单个 API key 调用模型驱动智能客服自动回复。 - [Open Design](https://docs.aihubmix.com/cn/clients/Open-Design.md): 用一把 AIHubMix Key 把 Claude Design 开源平替变成本地 AI 设计工作室 - [Open WebUI](https://docs.aihubmix.com/cn/clients/Open-WebUI.md): 在 Open WebUI 中接入 AIHubMix:自托管 Web 客户端用单个 API key 统一接入多家厂商模型,适合团队私有部署。 - [欧路翻译](https://docs.aihubmix.com/cn/clients/Oulu.md): 在欧路翻译中接入 AIHubMix:用单个 API key 接入模型,增强词典与全文翻译能力。 - [Pot](https://docs.aihubmix.com/cn/clients/Pot-App.md): 在 Pot 中接入 AIHubMix:跨平台划词翻译工具用单个 API key 接入模型,完成多语种翻译。 - [ChatGPT 好友 (uTools)](https://docs.aihubmix.com/cn/clients/Utools-ChatGPT.md): 在 uTools「ChatGPT 好友」中接入 AIHubMix:在快捷启动器里用单个 API key 调用模型,全局唤起即用。 - [Zotero](https://docs.aihubmix.com/cn/clients/Zotero.md): 在 Zotero 中接入 AIHubMix:文献管理工具通过插件用单个 API key 调用模型,用于文献总结与问答。 - [cc-connect](https://docs.aihubmix.com/cn/clients/ai-agent-tool-cc-connect.md): cc-connect 通过 AIHubMix 桥接 Claude Code、Codex、Gemini CLI 等 AI Agent,以单个 API key 统一调用主流模型。 - [All API Hub x AIHubMix 配置指南](https://docs.aihubmix.com/cn/clients/all-api-hub.md): 本文介绍如何使用第三方开源浏览器扩展 All API Hub 辅助管理 AIHubMix API Key、账户余额、模型价格和模型列表,并支持导出至 Cherry Studio、Claude Code Router、Kilo Code 等 AI 工具。 - [LobeHub](https://docs.aihubmix.com/cn/clients/lobe-hub.md) - [产品介绍](https://docs.aihubmix.com/cn/index.md): AIHubMix 由美国 AIHubMix, LLC 主体运营,是获得微软 Azure、AWS、GCP 、阿里云、百度云等各大模型推理云厂商官方授权的合规模型聚合平台。所有服务全部集群化部署云美国谷歌云上,长期为众多知名应用提供高并发、稳定、可信赖的 AI 模型 API 服务,深受开发者和企业信任。 - [提示词缓存](https://docs.aihubmix.com/cn/practices/prompt-caching.md) - [快速开始](https://docs.aihubmix.com/cn/quick-start.md): 生成 API 密钥并进行首次调用 - [隐私政策](https://docs.aihubmix.com/cn/terms-and-privacy/Privacy.md) - [服务条款](https://docs.aihubmix.com/cn/terms-and-privacy/Terms.md) - [更新日志](https://docs.aihubmix.com/cn/update/News.md): AIHubMix 更新日志:实时跟踪平台新接入的 GPT、Claude、Gemini、Qwen、DeepSeek 等模型与功能更新,第一时间掌握最新模型支持、能力升级与平台动态。 ## OpenAPI Specs - [openapi](https://docs.aihubmix.com/openapi.json) - [_category_](https://docs.aihubmix.com/clients/_category_.json)