建立繁榮的AI生態系統

將 AIHubmix 集成為模型提供者,所有模型(Claude 系列模型除外)請求均符合資格 10% 折扣
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
GCMP

集成AIHubmix,立即享受9折優惠

1. 在應用程序中將 AIhubmix 集成為模型提供者,並在請求標頭中包含您的應用程式代碼。 2. 為了符合 10% 折扣資格:對於開源應用程序或需要用戶提供自己的模型密鑰的應用程序,只需將 AIhubmix 設置為模型提供者。用戶可以直接輸入其密鑰開始使用。 3. 對於封閉源代碼項目,只需在應用程序中指示模型由 AIhubmix 提供即可。 4. AIhubmix 保留對此折扣計劃的最終解釋權,並可能撤銷不符合規定的應用程序的折扣或禁止濫用系統的帳戶。 更多詳情 >
https://
請登入或註冊以生成
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())