Skip to content
AstrBot
Main Navigation HomeBlogRoadmapHTTP API

English

简体中文

English

简体中文

Toggle dark mode

Intro & DeployMessaging PlatformsAI IntegrationUsageDevelopment
Sidebar Navigation

Introduction

What is AstrBot

Community

FAQ

Deployment

Package Manager

One-click Launcher

Docker

Kubernetes

BT Panel

1Panel

Manual

Other Deployments

CasaOS

Compshare GPU

Community-provided Deployment

Support Us

Messaging Platforms

Quick Start

QQ Official Bot

Websockets

Webhook

OneBot v11

NapCat

Lagrange

Other Clients

WeCom Application

WeCom AI Bot

WeChat Official Account

Lark

DingTalk

Telegram

LINE

Slack

Misskey

Discord

Satori

Using LLOneBot

Using server-satori

Community-provided

Matrix

KOOK

VoceChat

AI Integration

✨ Model Providers

NewAPI

AIHubMix

PPIO Cloud

SiliconFlow

TokenPony

302.AI

Ollama

LMStudio

⚙️ Agent Runners

Built-in Agent Runner

Dify

Coze

Alibaba Bailian

DeerFlow

Usage

WebUI

Plugins

Built-in Commands

Tool Use

Anthropic Skills

SubAgent Orchestration

Proactive Tasks

MCP

Web Search

Knowledge Base

Custom Rules

Agent Runner

Unified Webhook Mode

Auto Context Compression

Agent Sandbox

Development

Plugin Development

🌠 Getting Started

Minimal Example

Listen to Message Events

Send Messages

Plugin Configuration

AI

Storage

HTML to Image

Session Control

Publish Plugin

Platform Adapter Integration

AstrBot HTTP API

AstrBot Configuration File

Others

Self-hosted HTML to Image

Open Source Summer

OSPP 2025

On this page

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

Get an API 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.

Configure in AstrBot

Recommended 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

Paid Models (Popular) ​

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.

Edit this page on GitHub

Last updated:

Pager
PreviousNewAPI
NextPPIO Cloud

Deployed on Rainyun Logo