Featured Apps

Apps that integrate AIHubMix as the model provider are eligible for 10% off
1
AI SDK
AI SDK
2
HelpKnow
HelpKnow
3
Cherry Studio
Cherry Studio
4
LobeHub
LobeHub
5
Crush
6
Dify
Dify
7
AstrBot
8
RikkaHub
9
Chatbox
Chatbox
10
cline
cline

Integrate AIHubMix and Get 10% Off

Integrate AIHubMix as a model provider and include your App Code in each request. Open-source apps and apps where users bring their own API key can qualify by offering AIHubMix as a provider. Closed-source apps must clearly disclose that model requests are powered by AIHubMix. AIHubMix may revoke the discount or suspend accounts that do not meet these requirements or misuse the program. Learn More >
https://
Sign in or sign up to generate an App Code.
import requests

url = "https://aihubmix.com/v1/chat/completions"
headers={
  "Authorization": "Bearer <AIHUBMIX_API_KEY>",  # Replace with the API key you created on AIHubMix
  "APP-Code": "YOUR_GENERATED_CODE",  # Replace with your generated App Code
  "Content-Type": "application/json"
}
data={
  "model": "gpt-5.5",
  "messages": [
    {
      "role": "user",
      "content": "What is the meaning of life?"
    }
  ]
}

response = requests.post(url, headers=headers, json=data)
print(response.json())