Wire formats vs API endpoints in an LLM model catalog

wire_formats is the host's native request format; endpoints is every route you can call. Why an OpenAI-format model lists a Messages route, with a selector.

Checked 2026-11-22

·All posts·Models

On the UplinkSwitch catalog, wire_formats names the request format a model's host speaks natively, while endpoints lists every route you can call for that model, translated ones included. A row can therefore say openai under wire_formats and still list /v1/messages under endpoints: the gateway translates a request that asks for one choice, at the same price on every route.

What two real rows say

Model idwire_formatsendpoints
gpt-6.1-solopenai/v1/chat/completions, /v1/messages, /v1/completions, /v1/responses, /v1beta/models/{model}:generateContent
claude-haiku-5-5anthropic/v1/chat/completions, /v1/messages

Read from GET https://api.uplinkswitch.com/v1/catalog, snapshot of 2026-11-23; availability: gpt-6.1-sol ok, claude-haiku-5-5 ok.

The first row is the surprising one if you read wire_formats as "what I may call". Its host speaks one format, yet the model answers on the Messages route and the Gemini route as well, because the gateway rewrites the request and the reply. The second row runs the other way: a model whose host speaks Anthropic's format also answers on /v1/chat/completions.

The catalog's own schema states the rule in three parts:

  • wire_formats is the host's native format, not the list of routes you can call.
  • endpoints is every route that takes the model.
  • Translation applies when a request asks for a single choice. An openai-native model also answers on /v1/messages and the Gemini route; an anthropic-native model also answers on /v1/chat/completions.

Choose the request path from endpoints

python
import json, urllib.request

CATALOG = "https://api.uplinkswitch.com/v1/catalog"
PREFERRED = ["/v1/messages", "/v1/chat/completions"]  # your client's order of preference

def route_for(model_id: str) -> str:
    rows = json.load(urllib.request.urlopen(CATALOG))["data"]
    row = next((r for r in rows if r["id"] == model_id), None)
    if row is None:
        raise LookupError(f"{model_id} is not on the catalog")
    if row.get("availability") != "ok":
        raise LookupError(f"{model_id} is listed but its availability is {row.get('availability')}")
    for path in PREFERRED:
        if path in row.get("endpoints", []):
            return path
    raise LookupError(f"{model_id} lists none of {PREFERRED}")

print(route_for("claude-haiku-5-5"))

The selector never looks at wire_formats. That field is useful for a different question, namely which format reaches the model without a translation step in between.

A listed route is not a parity promise

endpoints tells you the route accepts the model. It does not certify that every optional feature of that API behaves identically behind a translation. Multiple choices per request are outside the translated case by the schema's own wording, and features that exist in only one vendor's format have nothing to map onto in another. Test the specific feature you depend on, on the route you plan to use, before you build on it.

For route-by-route request examples see the SDK guide; for the overview of what each route does see endpoints.

Questions and answers

Because the two fields count different things. wire_formats counts the formats the model's host speaks natively; endpoints counts the routes the gateway serves the model on, including those it translates into the native format.

No. It means /v1/responses takes that model id. Whether a particular Responses feature works for that model is a separate question the catalog does not answer, so check the feature itself.

endpoints. If the path your client sends is in that array for the id, the request can be routed; wire_formats only tells you whether it will be translated on the way.
Join on Telegram
Help