ONE-LINE MIGRATION
Migrate from Anyscale Endpoints to Meridian
Anyscale Endpoints exposes an OpenAI-compatible API. Meridian is a strict superset of that contract. Swap the base URL, keep your SDK calls, and unlock lower latency, higher throughput, and a unified billing surface.
The only change you need
Before
https://api.endpoints.anyscale.com/v1
↓
After
https://api.meridian.sh/v1
OpenAI SDK — zero code changes
import OpenAI from 'openai';
const client = new OpenAI({
baseURL: 'https://api.meridian.sh/v1',
apiKey: process.env.MERIDIAN_API_KEY,
});
const completion = await client.chat.completions.create({
model: 'meridian-70b',
messages: [{ role: 'user', content: 'Hello' }],
});What carries over
- ✓Chat completions
- ✓Streaming (SSE)
- ✓Function calling
- ✓JSON mode
- ✓Token usage headers
- ✓Rate-limit headers
No lock-in. Meridian implements the OpenAI API contract exactly. If you ever need to leave, change the base URL back — your code stays untouched.