api.int2.net
v1 · OpenAI-Compatible
Inference endpoint

An LLM gateway, spoken simply.

A drop-in OpenAI-compatible API surface, served by LiteLLM. Point any existing SDK at the base URL below and begin.

Base URL https://api.int2.net/v1
01

From the shell

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.

bash
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
  }'
02

From Python

The endpoint speaks the OpenAI wire format, so the official openai SDK works without modification — just override base_url.

python
# 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)