Base URLs
- International:
https://infistar.ai/v1 - Mainland China:
https://infistar.cc/v1 - Use HTTPS for all requests.
/v1 suffix. Follow the instructions for your client rather than adding /v1 twice.
Authentication
Send your API key in the HTTP request header:401 Unauthorized; see authentication and permissions.
Connections and timeouts
- Reasoning models can take longer to respond. The existing gateway guidance recommends a client timeout of 60–180 seconds.
- Reuse connections with
Connection: keep-alivewhere your client supports it. - Use
stream: truewhen the selected model and client support streaming. This lets users see output as it arrives instead of waiting for the entire response.