Notice: MAI Image 2.7 launch limited-time 20% off, covering the full text-to-image and image editing lineup, try it now
Notice: Black Friday 2026 × Cyber Monday: Get up to 30% extra on top-ups, DeepSeek free to use · View the promotion
Open navigation

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

ProtocolEndpointStatus
OpenAI Chat CompletionsPOST /v1/chat/completionsAvailable
OpenAI ResponsesPOST /v1/responsesAvailable
Anthropic MessagesPOST /v1/messagesComing soon
Google InteractionsPOST /v1beta/interactionsComing 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.