Skip to main content

OpenAI-Compatible

Uses the standard OpenAI API format. Drop in your existing code and just change the base URL and API key.

Many Models, One API

Access models from Google, DeepSeek, Meta, Qwen, Mistral, and more through a single endpoint.

Reliable & Secure

Load balancing, automatic failover, encrypted transmission, and API key authentication.

Cost Optimized

Transparent pricing with no hidden fees. Compare models and pick the best cost-performance ratio.

OpenAI SDK Compatibility

If you’re already using the OpenAI SDK, switching to IoTeX AI Gateway takes two lines of code:
from openai import OpenAI

client = OpenAI(
    api_key="your-iotex-api-key",          # Replace with your IoTeX API key
    base_url="https://gateway.iotex.ai/v1"  # Point to IoTeX AI Gateway
)

# Everything else stays the same
response = client.chat.completions.create(
    model="gemini-2.5-flash",
    messages=[{"role": "user", "content": "Hello!"}]
)