Text reasoning API
HiAPI serves text and reasoning models through OpenAI-compatible protocols. One API key and one base URL (https://api.hiapi.ai) cover every model enabled for your account — only the endpoint and the request/response shape change.
Protocols
| Protocol | Endpoint | Status |
|---|---|---|
| OpenAI Chat Completions | POST /v1/chat/completions | Available |
| OpenAI Responses | POST /v1/responses | Available |
| Anthropic Messages | POST /v1/messages | Coming soon |
| Google Interactions | POST /v1beta/interactions | Coming soon |
Choosing a protocol
- Start from the model, not the endpoint. Every model page lists the protocols it accepts under its API Reference section — open the model and read the protocol tabs.
- Both available protocols share the same base URL and API key, so you can mix them in one application.
- Streaming, tool calls, structured output, and reasoning controls differ per protocol. Use the protocol page for the exact field names instead of assuming they match.
Next steps
- Chat Completions — the widest client compatibility; works with the OpenAI SDKs.
- Responses — the recommended endpoint for newly integrated text models.
- Browse models — filter to text models and open any model’s API Reference for its exact parameters and limits.