1️⃣ Direct API Call to AiHubMix
Replace
<AIHUBMIX_API_KEY>
with your Aihubmix Key. Please note the key’s validity period and usage limits.model
options, please check the Model Gallery. Simply copy and paste the model name to use it.
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.
gpt-4o-search-preview
, gpt-4o-mini-search-preview
.
Please note that search models currently do not support parameters like
temperature
.