Docs / OpenAI SDK
OpenAI SDK
OpenAI-compatible (with /v1)
Use the openai library via the compatible protocol.
Base URL
https://api.llmapi.pro:99/v1API Key
sk-... (create in Console → API Keys)Recommended
claude-opus-4-8 · claude-sonnet-4-6 · claude-haiku-4-5Setup steps
from openai import OpenAI
client = OpenAI(
api_key="sk-YOUR_KEY",
base_url="https://api.llmapi.pro:99/v1",
)
resp = client.chat.completions.create(
model="claude-opus-4-8",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)Notes
- The OpenAI SDK's
base_urlincludes /v1. SetbaseURLthe same way in Node.
Client not listed? Any "OpenAI-compatible" app works: Base URL =
https://api.llmapi.pro:99/v1, key = your sk-..., type the model name. Or email [email protected].Need help? Email [email protected] · Home