AIHubMix
One OpenAI-compatible API for 710+ mainstream AI models.
Working when we checked on .
What is AIHubMix?
AIHubMix provides a unified API gateway that lets developers access 710+ AI models from OpenAI, Anthropic, Google, DeepSeek, Qwen, Grok and others through a single OpenAI-compatible endpoint. It targets developers and teams who want one API key, pay-as-you-go billing, and drop-in compatibility with existing OpenAI SDKs. The service offers auto-failover across official cloud routes (AWS, Azure, Vertex AI, Alibaba Cloud, Tencent Cloud), an in-house automatic LLM router that dispatches requests to suitable models to lower cost, and a desktop app for macOS and Windows that connects coding agents like Claude Code, Codex, OpenCode and Gemini CLI in one click. Pricing is per-token, charged at each model's listed rate.
AIHubMix pricing
Pricing model: Freemium
Pay-as-you-go per-token pricing per model (e.g., GPT 6.1 Terra $1/M input, $5/M output; Kimi K3.1 Pro $2/M input, $10.5/M output; DeepSeek V4.1 Flash 1017 $0.0775/M input, $0.31/M output with 50% off; Ideogram Vector 1 from $0.143/image); some models listed as free; router charged at routed model's price
AIHubMix pros
- Access to 710+ models from OpenAI, Anthropic, Google, DeepSeek, Qwen, Grok and more via one API key
- Drop-in compatible with existing OpenAI SDKs by changing the base_url
- Auto-failover routing across AWS, Azure, Vertex AI, Alibaba Cloud and Tencent Cloud
- AIHubMix LLM Router automatically dispatches requests to lower cost; routing itself is free
- Desktop app for macOS (12+) and Windows connects agents like Claude Code, Codex, OpenCode and Gemini CLI in one click
- Per-model pay-as-you-go pricing with visible throughput, TTFT and context stats
AIHubMix cons
- Desktop app requires macOS 12 or later for the Mac build
- The LLM Router is currently in beta and still being updated
- Usage requires an account and API key with a prepaid balance
- Pricing per model varies widely and details for subscription plans are not documented
Frequently asked questions about AIHubMix
What does AIHubMix do?
AIHubMix is a unified gateway providing access to 710+ AI models from providers like OpenAI, Anthropic, Google, DeepSeek, Qwen and Grok through a single OpenAI-compatible API endpoint.
Who is AIHubMix for?
It is aimed at developers and teams who want one API key, pay-as-you-go billing, and compatibility with the SDKs they already use, including agent tools like Claude Code and Codex.
Do I need to change my code to use AIHubMix?
No. It works as a drop-in for the OpenAI SDK by changing the base_url to https://aihubmix.com/v1 and using an AIHubMix API key.
How does auto-failover work?
AIHubMix routes requests across official cloud providers such as AWS, Azure, Vertex AI, Alibaba Cloud and Tencent Cloud, with automatic failover to maintain resilient access.
What is the AIHubMix LLM Router?
It is an in-house automatic model router, currently in beta, that uses a small trained model to dispatch each request to an appropriate mainstream model based on content, lowering cost. Routing itself is free; you are charged at the routed model's price.
What agents can the AIHubMix desktop app connect?
The desktop app, available for macOS 12 or later and Windows, connects agents such as Claude Code, Codex, OpenCode and Gemini CLI in one click, with no config files to edit.
How is AIHubMix priced?
It uses pay-as-you-go per-token pricing that varies by model, for example GPT 6.1 Terra at $1/M input and $5/M output, and some models are listed as free.
How many models are available on AIHubMix?
The homepage cites 710+ models, and the models page lists 934 models spanning text, image, speech, video, transcription, embeddings, rerank, OCR and other modalities.
Does AIHubMix offer discounts?
Yes. For example, DeepSeek V4.1 Flash 1017 was offered at 50% off ($0.0775/M input, $0.31/M output) for a limited two-week period.
Does AIHubMix support image generation models?
Yes. Models like Ideogram Vector 1 can generate editable vector graphics from text prompts or existing images, priced from $0.143 per image.