Create a chat completion
OpenAI-compatible chat completions endpoint. Accepts the OpenAI chat completions request shape and routes to any catalogued model.
Also served at /v1/openai/chat/completions; both paths accept the same requests. This bare path matches the OpenAI SDK’s default base URL shape, so pointing the SDK at https://api-gateway.merge.dev/v1 works with no other changes.
Authentication
Request
Processing tier. ‘flex’ = discounted best-effort (slower, may be throttled); ‘priority’ = premium low-latency (not currently priced on any route, so it fails closed). Omit or ‘standard’ for normal processing. Allowed only on routes that price the requested tier, otherwise the request fails closed with 400.
If the provider throttles the requested tier (429/503), retry once at the standard tier, billed at standard rates. The response service_tier shows the tier that actually served.