3 Minutes to leading 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
Selected Providers
99.9%
Uptime
~300ms
Latency

Codex WebSocket

1
Get a HaoAI API Key
2
Configure the HaoAI provider
3
Enable WebSocket
Installercurl -fsSL https://hao.ai/install/codex.sh | bash
View guide
OpenAI
GPT-5.5
Claude
Claude Opus 4.8
H

Help me compare which model is better for coding.

GPT-5.5
Claude Opus 4.8
Follow up: show me a TypeScript example
Open Chat

Popular model prices

View full model pricing
OpenAI: GPT-5.6 Sol
0.15x
OpenAI
OpenAI: GPT-5.6 Sol
openai/gpt-5.6-sol

Pricing

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 Fable 5
0.15x
Claude
Anthropic: Claude Fable 5
anthropic/claude-fable-5

Pricing

Price
HaoAI(0.15x)
Official
Input
$1.5/M
$10/M
Output
$7.5/M
$50/M
Cache read
$0.15/M
$1/M
Anthropic: Claude Opus 4.8
0.15x
Claude
Anthropic: Claude Opus 4.8
anthropic/claude-opus-4.8

Pricing

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