Skip to main content

Direct API Call to AIHubMix

All examples below use the primary domain https://aihubmix.com. If you run into access issues, replace the request URL with the backup domain https://api.inferera.com — all other parameters stay the same.
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

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.

Making Requests via Third-party Clients

Refer to Use Cases

Last updated: 2026-06-01