Skip to main content
LiteLLM is a Python SDK and proxy server that calls 100+ LLM APIs through one OpenAI-style interface. Its OpenAI-compatible provider (openai/<model> with a custom api_base) points it at the ScitiX Model Inference API. Default model here is glm-5.2; see the Models page for the full list and pricing.

Configure

Create an API key on the ScitiX API Keys page and export it. Keep keys out of source code:

SDK

Prefix the model with openai/ and set api_base:

Proxy

Use the same routing in config.yaml for the LiteLLM proxy server:
The openai/ prefix is required for a custom OpenAI-compatible endpoint. Without it LiteLLM tries to infer the provider from the bare model ID and won’t route to api_base. Choose a model with native tool calling if you use LiteLLM’s function-calling features.

Verify

Run the SDK snippet above with SCITIX_API_KEY exported. A normal reply confirms the connection — verified on litellm 1.96.0:
For the proxy, run:
Then call http://localhost:4000/v1/chat/completions with model: glm-5.2. LiteLLM’s bundled model database does not list ScitiX model IDs, so it may warn about unknown context size or price. Pass max_tokens explicitly, or register the model with litellm.register_model({...}). This does not affect chat responses.