> Discover all available pages from the documentation index: https://mastra.zisheng.pro/llms.txt # ![AIHubMix 标志](https://models.dev/logos/aihubmix.svg)AIHubMix AIHubMix 可通过 AI SDK 使用。安装相应的 Provider package 后,即可在 Mastra 中使用其模型。 有关此 Provider 的详细说明,请参阅 [AI SDK AIHubMix Provider 文档](https://ai-sdk.dev/providers/community-providers/aihubmix)。 如需在 Mastra Agent 中使用此 Provider,请参阅[Agent 概览文档](https://mastra.zisheng.pro/docs/agents/overview)。 ## 安装 **npm**: ```bash npm install @aihubmix/ai-sdk-provider ``` **pnpm**: ```bash pnpm add @aihubmix/ai-sdk-provider ``` **Yarn**: ```bash yarn add @aihubmix/ai-sdk-provider ``` **Bun**: ```bash bun add @aihubmix/ai-sdk-provider ```