Skip to main content

AIHubMix logoAIHubMix

AIHubMix is available through the AI SDK. Install the provider package to use their models with Mastra.

For detailed provider-specific documentation, see the AI SDK AIHubMix provider docs.

AIHubMix isn't a model router provider, so model strings like aihubmix/<model> don't resolve. Pass a model instance from @aihubmix/ai-sdk-provider to the agent's model option instead.

To use this provider with Mastra agents, see the Agent Overview documentation.

Installation
Direct link to Installation

npm install @aihubmix/ai-sdk-provider
On this page