Back to Astrbot

Connect AIHubMix

docs/en/providers/aihubmix.md

4.24.22.5 KB
Original Source

Connect AIHubMix

AIHubMix is a multi-model AI API gateway that provides unified access to OpenAI, Claude, Gemini, DeepSeek, Kimi and more through a single API key. Beyond LLM, it also supports speech, embedding, reranking and other capabilities.

Fully compatible with the OpenAI API format — just change the API Base and Key to get started. Some models are completely free for development and testing.

Get an API Key

  1. Sign up at AIHubMix
  2. Go to Console → API Keys to create a new key

Configure in AstrBot

Open the AstrBot dashboard , click Providers → Add Provider → OpenAI.

Fill in the following:

FieldValue
API Base URLhttps://aihubmix.com/v1
API KeyYour AIHubMix key

After saving, click the provider card to add models.

Free Models 🆓

These models are completely free, great for development and testing:

Model IDDescription
gpt-4.1-freeGPT-4.1 free tier
gemini-3-flash-preview-freeGemini 3 Flash free tier
coding-glm-5-freeGLM-5 coding model, free
coding-minimax-m2.5-freeMiniMax M2.5 coding model, free
Model IDProviderDescription
gpt-5.4OpenAILatest flagship model
claude-sonnet-4-6AnthropicGreat for reasoning and code
gpt-5.3-chat-latestOpenAIHigh-performance chat
deepseek-v3.2DeepSeekCost-effective
kimi-k2.5MoonshotLong context
gemini-3.1-pro-previewGoogleMultimodal

See the full model list at AIHubMix Docs.

More Than Chat Models

AIHubMix also supports the following capabilities, all configurable in AstrBot:

CapabilityAstrBot Config Location
Speech-to-Text (STT)Providers → Speech to Text
Text-to-Speech (TTS)Providers → Text to Speech
EmbeddingProviders → Embedding
RerankingProviders → Rerank

All capabilities use the same API Key and API Base — no extra setup needed.

Set as Default

Go to Settings → Provider Settings, set "Default Chat Model Provider" to your AIHubMix provider, and save.