SandLogic LLM Router — SDK

Base URL https://llmrouter.164-52-192-241.nip.io · auth Authorization: Bearer <token> · tenant tnt-dev, application app-demo.

Current version: 0.2.0. The package is not on PyPI, so pip install sl-llmrouter-sdk will not find it. Install it from this page, using the wheel’s URL.

from sl_llmrouter_sdk import RouterClient
c = RouterClient("https://llmrouter.164-52-192-241.nip.io", api_key="<token>",
                 tenant_id="tnt-dev", application_id="app-demo")
print(c.complete([{"role":"user","content":"hello"}])["output"]["text"])

Endpoints: POST /routing/v1/selections (recommend), /routing/v1/completions (execute), /v1/chat/completions (OpenAI-compatible).