|
1 | | -# AIHubMix |
| 1 | +# Connect AIHubMix |
2 | 2 |
|
3 | | -AIHubMix provides a variety of models and convenient access methods, similar to OpenRouter. It offers ample daily free model calls, such as `gemini-3-flash-preview-free`, `gpt-4o-free`, `kimi-for-coding-free`, etc., making it suitable for individual developers and small project testing. |
| 3 | +[AIHubMix](https://aihubmix.com/?aff=4bfH) 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. |
4 | 4 |
|
5 | | -## Usage |
| 5 | +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.** |
6 | 6 |
|
7 | | -Click [this link](https://aihubmix.com/?aff=4bfH) to register an account. |
| 7 | +## Get an API Key |
8 | 8 |
|
9 | | -After registration, click [this link](https://aihubmix.com/models) to select the model you want to access. |
| 9 | +1. Sign up at [AIHubMix](https://aihubmix.com/?aff=4bfH) |
| 10 | +2. Go to Console → API Keys to create a new key |
10 | 11 |
|
11 | | -## Integration |
| 12 | + |
12 | 13 |
|
13 | | -Open AstrBot WebUI -> Service Providers page, click "Add Provider", find and click `AIHubMix`, configure the API Key, select the model you want to access, and click "Save" to complete the setup. |
| 14 | +## Configure in AstrBot |
| 15 | + |
| 16 | +Open the AstrBot dashboard , click **Providers → Add Provider → OpenAI**. |
| 17 | + |
| 18 | +Fill in the following: |
| 19 | + |
| 20 | +| Field | Value | |
| 21 | +|-------|-------| |
| 22 | +| API Base URL | `https://aihubmix.com/v1` | |
| 23 | +| API Key | Your AIHubMix key | |
| 24 | + |
| 25 | +After saving, click the provider card to add models. |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | +## Recommended Models |
| 30 | + |
| 31 | +### Free Models 🆓 |
| 32 | + |
| 33 | +These models are completely free, great for development and testing: |
| 34 | + |
| 35 | +| Model ID | Description | |
| 36 | +|----------|-------------| |
| 37 | +| `gpt-4.1-free` | GPT-4.1 free tier | |
| 38 | +| `gemini-3-flash-preview-free` | Gemini 3 Flash free tier | |
| 39 | +| `coding-glm-5-free` | GLM-5 coding model, free | |
| 40 | +| `coding-minimax-m2.5-free` | MiniMax M2.5 coding model, free | |
| 41 | + |
| 42 | +### Paid Models (Popular) |
| 43 | + |
| 44 | +| Model ID | Provider | Description | |
| 45 | +|----------|----------|-------------| |
| 46 | +| `gpt-5.4` | OpenAI | Latest flagship model | |
| 47 | +| `claude-sonnet-4-6` | Anthropic | Great for reasoning and code | |
| 48 | +| `gpt-5.3-chat-latest` | OpenAI | High-performance chat | |
| 49 | +| `deepseek-v3.2` | DeepSeek | Cost-effective | |
| 50 | +| `kimi-k2.5` | Moonshot | Long context | |
| 51 | +| `gemini-3.1-pro-preview` | Google | Multimodal | |
| 52 | + |
| 53 | +> See the full model list at [AIHubMix Docs](https://doc.aihubmix.com). |
| 54 | +
|
| 55 | +## More Than Chat Models |
| 56 | + |
| 57 | +AIHubMix also supports the following capabilities, all configurable in AstrBot: |
| 58 | + |
| 59 | +| Capability | AstrBot Config Location | |
| 60 | +|------------|------------------------| |
| 61 | +| Speech-to-Text (STT) | Providers → Speech to Text | |
| 62 | +| Text-to-Speech (TTS) | Providers → Text to Speech | |
| 63 | +| Embedding | Providers → Embedding | |
| 64 | +| Reranking | Providers → Rerank | |
| 65 | + |
| 66 | +All capabilities use the same API Key and API Base — no extra setup needed. |
| 67 | + |
| 68 | +## Set as Default |
| 69 | + |
| 70 | +Go to **Settings → Provider Settings**, set "Default Chat Model Provider" to your AIHubMix provider, and save. |
0 commit comments