For Codex and Claude Code Developers
Rate Limit hit again?
Use HaoAI, keep Codex running
3-second setup, keep Vibe Coding
# Just add two lines
export OPENAI_BASE_URL=https://api.hao.ai/v1
export OPENAI_API_KEY=HAOAI_API_KEY
# Keep using Codex through HaoAIWorks with coding agents
Why HaoAI?
Three hard metrics, benchmarked against official API
No Rate Limits
Unlimited Throughput
No RPM limits. No TPM limits. No queuing during peak hours. Long context? No problem. We protect your vibe coding flow.
Full Claude Opus 4.6 / Sonnet 4.6 lineup supported
Zero Migration Cost
Native Protocol Compat
Full Anthropic Messages API support. Claude Code, OpenCode, and Cline plug in without adapters.
Supports Anthropic / OpenAI / Google protocols
Enterprise Reliable
99.9% SLA
Multi-node redundancy with automatic failover. Globally accelerated routes keep latency around ~300ms for critical demos.
Monthly uptime 99.9%+, P99 latency <200ms
30-second setup
Claude Code
1
Get HaoAI API Key2
Set env variable3
Keep vibe coding# ~/.zshrc or ~/.bashrc
export ANTHROPIC_BASE_URL=https://api.hao.ai/anthropic
export ANTHROPIC_AUTH_TOKEN=HAOAI_API_KEYOpenCode
1
Get HaoAI API Key2
Configure base_url3
Run opencode and keep shipping# ~/.config/opencode/config.toml
[providers.haoai]
api_key = "sk-haoai-***"
base_url = "https://api.hao.ai/v1"~300ms
Global acceleration
99.9%
Monthly uptime
Full lineup
Claude models
3 Protocols
Anthropic / OpenAI / Google