API reference

API overview

Base URL, authentication and limits.

The Stardust API is OpenAI-compatible. Use any OpenAI SDK or plain HTTP.

Base URL#

base url
https://api.stardustllm.xyz/v1

Authentication#

Send your API key as a bearer token. Keys start with sd_live_ and are created in API keys.

header
Authorization: Bearer sd_live_...

Keep keys secret: never put them in front-end code or a public repository. Revoke a key in the dashboard if it leaks.

Endpoints#

MethodPathDescription
POST/v1/chat/completionsGenerate a response (reference).
GET/v1/modelsList every model with pricing (reference).
GET/v1/models/{id}Full profile of one model.

Limits#

LimitValue
Requests per API key60 per minute
Request body10 MB max
Active API keys per account10