Chat Completions
Authorizations
Pass an API key (prefixed lk_) or a JWT access token as a bearer token. Generate API keys in the dashboard at https://dashboard.lyceum.technology/api-keys.
Body
OpenAI-compatible chat completion request. Any additional OpenAI parameter is forwarded to the model unchanged.
Model ID from GET /serverless/models. Virtual routing models are also accepted: lyceum/simple, lyceum/complex, lyceum/reasoning, lyceum/router (auto-selects). Slash-free aliases (e.g. z-ai-glm-5.2) work for clients that reject /.
1If true, tokens are streamed as Server-Sent Events (text/event-stream).
Maximum tokens to generate.
Toggle/scale reasoning on models that support it. none disables thinking.
none, low, medium, high 
