Skip to main content

Base URL

All API requests are made to:

OpenAI-Compatible Format

ModelStack follows the OpenAI API format, so you can use any existing OpenAI SDK or HTTP client. Just change the base URL and API key.

Available Endpoints

Authentication

All requests require an API key passed via the Authorization header:
API keys are created and managed from your dashboard.

Request Format

All requests use JSON. Set the Content-Type header:

Response Format

Responses follow the OpenAI response format:

Streaming

ModelStack supports Server-Sent Events (SSE) streaming. Set "stream": true in your request body to receive incremental responses.

Rate Limits

Rate limits depend on your subscription plan: When you exceed your rate limit, requests return a 429 Too Many Requests error.