Skip to main content
A single API key works for all three dialects. The only differences are the base URL and auth header: Replace the model name with the slug from the catalog — the example below uses a model available in Service Mode Performance.

Python

Anthropic Messages

Streaming:

OpenAI Chat Completions

Streaming:

OpenAI Responses

Streaming:

Node.js / TypeScript

Anthropic Messages

Streaming:

OpenAI Chat Completions

Streaming:

OpenAI Responses

Streaming:

Notes