Basics
Quick Start
1️⃣ Direct API Call to AiHubMix
Replace <AIHUBMIX_API_KEY>
with your Aihubmix Key. Please note the key’s validity period and usage limits.
For available model
options, please check the Model Gallery. Simply copy and paste the model name to use it.
For streaming responses, simply add the parameter stream: true
2️⃣ Using OpenAI SDK
Replace <AIHUBMIX_API_KEY>
with your Aihubmix Key. Please note the key’s validity period and usage limits.
For available model
options, please check the Model Gallery. Simply copy and paste the model name to use it.
For models that support web search, you can add the following parameter:
Available models: gpt-4o-search-preview
, gpt-4o-mini-search-preview
.
Please note that search models currently do not support parameters like temperature
.
3️⃣ Making Requests via Third-party Clients
Refer to Use Cases