One API forleading global models
Get API KeyExplore Models
from openai import OpenAI
client = OpenAI(
base_url="https://api.hao.ai/v1",
api_key="YOUR_HAOAI_API_KEY"
)
response = client.chat.completions.create(
model="openai/gpt-5.4",
messages=[{"role": "user", "content": "Hello!"}]
)0.15x
Vs official reference
Global routing
High-concurrency API gateway
Request billing
Usage, latency, cost per request
Codex WebSocket
1
Get a HaoAI API Key2
Configure the HaoAI provider3
Enable WebSocketInstaller
View guidecurl -fsSL https://hao.ai/install/codex.sh | bashH
Help me compare which model is better for coding.
GPT-5.5
Claude Opus 4.8
HaoAI Chat
Follow up: show me a TypeScript example
Popular model prices
OpenAI: GPT-5.5
0.15x
OpenAI: GPT-5.5
openai/gpt-5.5Pricing
Price
HaoAI(0.15x)
Official
Input
$0.75/M
$5/M
Output
$4.5/M
$30/M
Cache read
$0.075/M
$0.5/M
Anthropic: Claude Opus 4.8
0.15x
Anthropic: Claude Opus 4.8
anthropic/claude-opus-4.8Pricing
Price
HaoAI(0.15x)
Official
Input
$0.75/M
$5/M
Output
$3.75/M
$25/M
Cache read
$0.075/M
$0.5/M
Anthropic: Claude Opus 4.7
0.15x
Anthropic: Claude Opus 4.7
anthropic/claude-opus-4.7Pricing
Price
HaoAI(0.15x)
Official
Input
$0.75/M
$5/M
Output
$3.75/M
$25/M
Cache read
$0.075/M
$0.5/M