What an OpenAI-compatible API guarantees (and doesn't)

OpenAI-compatible means a service implements part of OpenAI's request and response format. What that covers, what it never promises, and how to check it.

Checked 2026-11-22

·Home·Models

An OpenAI-compatible API implements a defined part of OpenAI's request and response format, so a client built for OpenAI can talk to it by changing the base URL. UplinkSwitch serves Chat Completions that way at https://api.uplinkswitch.com/v1. The phrase is narrower than it sounds: it promises a wire format, not that every OpenAI endpoint exists, and not that a given model behaves like any particular OpenAI model. This page defines the guarantee and gives the checklist to test it, and links the pages that own the route list and the switch itself rather than repeating them.

Three separate things people merge

"Compatible" gets used for three claims that stand or fall independently, and most confusion comes from treating one as proof of another.

  • The HTTP format: the request path, the JSON body, the auth header and the response and streaming shapes match what an OpenAI client sends and parses. This is the compatibility this page is about.
  • The client library: an official OpenAI SDK, pointed at the new base, constructs the right request and reads the response. A library can add behaviour the raw format does not, so a library working is a stronger and separate check. Runnable client setup is on the SDKs guide.
  • The model: the id you name has the capabilities your prompt needs. A format can be perfectly compatible while a model refuses tools or lacks a long context, because that is a property of the model, not the protocol.

The compatibility checklist

To test the format claim, check these one at a time against the service and the exact model id you will use:

  • Request path: the chat route resolves to /v1/chat/completions with /v1 appearing once; the base-URL guide shows how a client can end up doubling it.
  • Payload: the body fields your code sends (model, messages, and any options) are accepted, and unknown fields are handled the way you expect.
  • Authentication: the key goes in the header the OpenAI client sends, and a valid key is accepted.
  • Response parsing: the non-streaming response has the fields your code reads, in the shape it expects.
  • Streaming: the streamed form is a separate check. A working non-streaming call does not prove the stream chunks arrive in the format your client decodes.

The catalog describes each model's endpoints and wire_formats, and where present its supported_parameters, so you can confirm a model answers the route and format you need before you send anything. Treat absent metadata as unknown rather than as a yes.

Why a working chat request is not a full guarantee

A single successful text completion certifies the chat format for that model and nothing more. It does not certify a stateful Responses workflow, hosted tools, file inputs, fine-tuning, or any consumer ChatGPT feature, because those are separate surfaces that a Chat Completions compatibility claim never covered. The route list that this product does serve is owned by the endpoints feature page; reading the catalog metadata behind these fields is owned by the catalog wire-formats explainer; and choosing and switching to an alternative is owned by the OpenAI API alternative page. This page stays on the definition and the acceptance test; those pages carry the inventory and the move.

Questions and answers

No. It means a defined part of the format is implemented, usually Chat Completions. Which routes actually exist is a separate question answered by the service's own endpoint list, not by the compatibility label.

Yes. The format and the model are independent: a service can accept an OpenAI-format Chat Completions request and route it to a Claude id, for example claude-sonnet-5-5, which read ok on the 2026-11-23 catalog. The format is the envelope; the model is what answers.

No. A non-streaming completion certifies only the plain chat format for that model. Streaming, tool calls and any other option each need their own test, because any one can behave differently even when the basic request succeeds.
Join on Telegram
Help