Works in top AI tools.Ready for yours.

One key for every major model. Set up in minutes.

Integrations
25
GitHub stars
1.3M+
Dify installs
42k+

Browse by category

25 apps

Developer program

Build with AIHubMix

PreviewYour appexample.com
  • OpenAI
  • Anthropic
  • Google
  • DeepSeek
  • Qwen
  • xAI
  • Top models
  • Failover
  • Partner rates
Loading your application…

How to use your App Code

After approval, copy your App Code from your application status on this page. Send it with each API request in the APP-Code header.

  1. Install the Python SDK: pip install openai
  2. Replace YOUR_API_KEY, YOUR_APP_CODE, and YOUR_MODEL with your values, then run the example.
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://aihubmix.com/v1",
    default_headers={"APP-Code": "YOUR_APP_CODE"},
)

response = client.chat.completions.create(
    model="YOUR_MODEL",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)

FAQ

Once approved, your app appears on this page if you chose to be listed, and our partnerships team emails you to discuss terms.

Approved applications automatically receive an App Code. Contact our partnerships team to discuss cooperation terms.

No, it keeps working. App Codes with significant usage keep their current terms; inactive ones will gradually lose the discount, with email notice first. Requests that send the header are not affected.

Open-source apps show AIHubMix as one of their model providers. Closed-source apps name the model provider in their UI, terms or docs.

Yes. Untick “List my app” when applying.

Public third-party data such as GitHub stars, plugin installs and npm downloads, refreshed regularly; it does not reflect usage on AIHubMix. Trademarks belong to their owners and are shown only to indicate compatibility.