Base URL:
https://api.hicap.ai/v1Authentication
The Hicap API uses API keys for authentication. Create and manage your API keys in the Hicap Platform ↗. Provide your key via one of these headers:Example request
Endpoints
All endpoints follow the OpenAI OpenAPI specification.Production
These endpoints are available on the production Hicap API (api.hicap.ai).
Models
Chat Completions
Images
Developer Preview
These endpoints are available on the Hicap developer API and are not yet in production.Developer preview endpoints may change before general availability. Contact support@hicap.ai for access.
Responses
Realtime
Models
Pass any supported model ID in themodel field. The Hicap API supports models across OpenAI, Anthropic, Google Gemini, Moonshot, Zhipu, and MiniMax — all through the same OpenAI-compatible interface.
View all models →
Streaming
Most text generation endpoints support server-sent events (SSE) for streaming responses. Set"stream": true in your request body to receive chunks as they are generated.
[DONE] sentinel.
Rate limits
Rate limits vary by plan and are applied per API key. When you exceed your limit, the API returns a429 status code. Use exponential backoff to retry.
The following rate limit headers are included in API responses:
For higher limits, contact support@hicap.ai or upgrade your plan in the Hicap Platform ↗.
Errors
The Hicap API uses standard HTTP status codes and returns JSON error bodies.
Error responses include a JSON body:
Request IDs
Every API response includes anx-request-id header with a unique identifier for that request. Log this value in production — it allows the Hicap support team to quickly locate and diagnose issues if you need help.