INTEGRATIONS / OPENAI SDK
OpenAI SDK
Meridian implements the OpenAI /v1 surface. Point base_url at the gateway and the official openai SDK works unchanged across Python, TypeScript, Go, and Ruby. Streaming, tool calls, vision, JSON mode and structured outputs all pass through.
Sign in to render the snippets below with your actual key inline.
from openai import OpenAI
client = OpenAI(
api_key="YOUR_KEY",
base_url="https://meridian.getnimbus.net/api/v1",
)
resp = client.chat.completions.create(
model="anthropic/claude-sonnet-4-5",
messages=[{"role": "user", "content": "ship it"}],
)
print(resp.choices[0].message.content)REFERENCE