A drop-in OpenAI-compatible API surface, served by LiteLLM. Point any existing SDK at the base URL below and begin.
Send a chat completion with curl. Replace YOUR_API_KEY
with the key you were issued, and your-model-name with one of the
configured model aliases.
curl https://api.int2.net/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "model": "your-model-name", "messages": [ {"role": "user", "content": "Hello, who are you?"} ], "temperature": 0.7 }'
The endpoint speaks the OpenAI wire format, so the official
openai SDK works without modification — just override
base_url.
# pip install openai from openai import OpenAI client = OpenAI( base_url="https://api.int2.net/v1", api_key="YOUR_API_KEY", ) response = client.chat.completions.create( model="your-model-name", messages=[ {"role": "user", "content": "Hello, who are you?"}, ], temperature=0.7, ) print(response.choices[0].message.content)