List models

Every model you can call and its price. No key needed.

GETTry it

The same list the gateway serves: every model with a fixed price, and the prices you pay. Prices are in dollars as decimal strings, per token unless named otherwise.

It changes when models arrive or leave, at most every hour, so cache it for a few minutes.

No key needed. Anyone can read it.

Response

  • dataobject[]

    One entry per model.

    • idstring

      The id to send as model.

    • namestring

      Its display name.

    • context_lengthinteger

      The longest prompt plus answer, in tokens.

    • max_output_tokensinteger | null

      The longest answer it can write.

    • pricingobject

      What you pay, in dollars as decimal strings: prompt, completion and reasoning per token, request per call, image per image, web_search per search.

Request
curl https://binference.io/api/v1/models
Response
{  "object": "list",  "data": [    {      "id": "anthropic/claude-sonnet-5.5",      "object": "model",      "owned_by": "anthropic",      "name": "Anthropic: Claude Sonnet 5.5",      "context_length": 1000000,      "max_output_tokens": 128000,      "pricing": {        "prompt": "0.0000024",        "completion": "0.000012",        "reasoning": "0.000012",        "request": "0",        "image": "0",        "web_search": "0.012"      }    }  ]}