Confirm before you call
- Confirm that the model is in your key’s token group in the Model Marketplace.
- Confirm that
supported_endpoint_typesreturned by/v1/modelsincludes the protocol you need. - Use
/v1/modelsto see what the key can actually access, then send a minimal request.
Publicly documented capabilities
Check models with the current key
data[].id. data[].supported_endpoint_types lists the request protocols available for that model: openai for Chat Completions, anthropic for Messages, openai-response for Responses, and image-generation for image generation. A model can list more than one type; choose from that field for your client rather than guessing from a model name.
/v1/models is a point-in-time view for one key. The Model Marketplace shows prices, groups, and descriptions. If they differ, follow the current key result and console state.
A simple protocol rule
If a model is visible but the call still fails, check its ID, your token group, and the request path first. Keep the Request ID and use the self-check guide.
Where to find details
- This page answers which API to use for a current model.
- API basics covers authentication, model discovery, and protocol selection; Chat Completions provides a minimal text-call example.
- Anthropic Messages and Responses / Codex define the integration boundaries for native Claude and the Codex Provider.
