Docs
The gateway is OpenAI-compatible. Anything that talks to the OpenAI REST API works without changes.
1. Create a key
2. Point your SDK at us
base_url: https://api.2aun.tech/v1 api_key: sk-...
3. Call any model
# OpenAI Python SDK
from openai import OpenAI
client = OpenAI(api_key="sk-...", base_url="https://api.2aun.tech/v1")
r = client.chat.completions.create(
model="claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)4. Streaming & tools
Set stream=true for SSE responses. Tool calling, vision, structured outputs and embeddings all pass through transparently.