OpenAI & Anthropic SDKs on Meridian
Drop-in compatible. Change the base URL, keep your existing code.
Pythonopenai SDK
OpenAI Python
Use gpt-4o, gpt-4.1, o4-mini, and more through the standard OpenAI Python client pointed at Meridian.
Python quickstartTypeScriptopenai SDK
OpenAI TypeScript
Same models, same shape. Works with Next.js, Node, and edge runtimes via the official openai npm package.
TypeScript quickstartCLIAnthropic
Claude Code via Meridian
Route claude-code through Meridian to access claude-opus-4-8 and claude-sonnet-4-5 using the OpenAI-compatible shape. No SDK changes required.
Set MERIDIAN_BASE_URL and your API key, then invoke claude-code as normal. Meridian translates requests transparently.
Claude Code setup