Skip to main content
AIHubMix uses OpenAI model calling interface as the standard, aggregating multiple models including OpenAI, Google Gemini, Anthropic Claude and other series models. Calling any model uses the same method, just need to modify the corresponding model ID.
Key points: Only need to add the forwarding base_url and AiHubMix platform API key inside the client. Model IDs can be obtained by clicking the “Copy Button” on model marketplace cards.

Basic Integration: Using OpenAI Official Library

Python Example

Python
OpenAI official current service status check

Universal Model Forwarding API

Endpoint: POST /v1/chat/completions Body Request Parameters:

Request Parameters

Response Example:

Response Results


Last updated: 2026-06-01