Skip to Content

HaoAI Documentation

One API key for 100+ LLMs. Fully compatible with the official OpenAI / Anthropic / Gemini SDKs.

Three Protocols, One Gateway

curl https://api.hao.ai/v1/chat/completions \ -H "Authorization: Bearer YOUR_HAOAI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "openai/gpt-5.4-mini", "messages": [{"role": "user", "content": "What is the meaning of life?"}] }'
Quick Start
Get started in 3 minutes with Python / TypeScript / cURL
API Reference
Complete endpoint docs for OpenAI / Anthropic / Gemini protocols
Integrations
Setup guides for Claude Code, Zed, Cline, and more
Model Catalog ↗
Browse 100+ models including GPT, Claude, and Gemini