Self-hosted OpenAI-compatible API. Drop-in replacement for OpenAI's client with predictable cost and zero vendor lock-in.
32 models across 9 providers. All share a unified OpenAI-compatible interface — switch with a single parameter.
Use the official OpenAI SDK. Swap the base URL — nothing else changes.
# pip install openai from openai import OpenAI # Point the SDK at our endpoint. Same schema as OpenAI. client = OpenAI( base_url="https://ai.semestaberjaya.my.id/v1", api_key="<your-key>", ) response = client.chat.completions.create( model="claude-sonnet-5", messages=[ {"role": "user", "content": "Halo, siapa kamu?"} ], stream=True, ) for chunk in response: print(chunk.choices[0].delta.content or "", end="")