API
One API for models, agents and tools
Every Hanzo capability is reachable from a single base URL with a single key. If you have used the OpenAI API, you already know most of this.
Base URL
https://api.hanzo.ai/v1
Authenticate with a bearer token: Authorization: Bearer <your key>. Keys are created and revoked in the console.
Core endpoints
The full reference, including parameters and error shapes, lives in the docs.
/v1/chat/completionsPOST
Chat completions across every model on the platform, streaming or buffered. OpenAI-compatible, so existing clients work by changing the base URL./v1/modelsGET
The models available to your organization, with their identifiers and capabilities./v1/embeddingsPOST
Vector embeddings for search, retrieval and clustering./v1/agentsGET · POST
The canonical agent registry — define an agent once and run it from any surface.How it fits together
One key, one bill
A single API key authenticates every endpoint. Usage meters to your organization, so spend is attributed in one place rather than per service.OpenAI-compatible
The chat and embeddings surfaces follow the OpenAI request and response shapes. Point an existing SDK at api.hanzo.ai and it works.Open source
The gateway and the services behind it are open source. Run the same API yourself, or use the hosted one.