Support the Openai Responses API multi-function interface, the following functions have been launched:

  • ✅ Text input:Text input
  • ✅ Image input:Image input
  • ✅ Streaming:Streaming
  • ✅ Functions:Functions
  • ✅ Web search:Web search
  • ✅ Computer Use:Computer Use
  • ✅ Reasoning:Reasoning

Usage (Python call):

Same as the official OpenAI call method, just replace api_key and base_url for forwarding. Mainland China can access directly.

client = OpenAI(
    api_key="AIHUBMIX_API_KEY", # Replace with the key you generated in AiHubMix
    base_url="https://aihubmix.com/v1"
)
from openai import OpenAI

client = OpenAI(
    api_key="AIHUBMIX_API_KEY", # Your Key "sk-***"
    base_url="https://aihubmix.com/v1"
)

response = client.responses.create(
  model="gpt-4o-mini", # codex-mini-latest AVAILABLE
  input="Tell me a three sentence bedtime story about a unicorn."
)

print(response)

Note:

  1. The latest codex-mini-latest does not support search.
  2. The Computer use feature requires integration with Playwright. It’s recommended to refer to the official repository.

Known issues:

  • Use cases are complex to invoke
  • Takes many screenshots, which is time-consuming and often unreliable
  • May trigger CAPTCHA or Cloudflare human verification, potentially leading to infinite loops