aisuite with Meridian
Route any aisuite provider through Meridian's unified API gateway. One base URL, every model.
import aisuite as ai
client = ai.Client(
provider_configs={
"openai": {
"api_key": "lm-${YOUR_MERIDIAN_KEY}",
"base_url": "https://api.meridian.foogle.ai/v1",
}
}
)
response = client.chat.completions.create(
model="openai:gpt-4o",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)aisuite is a lightweight Python library that normalizes provider interfaces. Set base_url to your Meridian endpoint and every call routes through our gateway — logging, rate limiting, and cost tracking included.
The model string uses the provider:model convention. Meridian maps this transparently — no client-side provider SDKs needed beyond aisuite itself.
LOCK — Meridian routes all traffic through your dedicated gateway endpoint