What is relayfor.si?

List models

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

GETTry it

The same list the RFS Router 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. See every model on Models.

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.

    • architectureobject

      What it reads and writes: input_modalities and output_modalities, such as text, image and file.

    • reasoningobject | null

      How it thinks, for a reasoning model: supported_efforts, default_effort, whether thinking is mandatory, and whether it supports_max_tokens. Null for a model that doesn't reason.

    • pricingobject

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

Request
curl https://relayfor.si/api/v1/models
Response
{  "object": "list",  "data": [    {      "id": "anthropic/claude-sonnet-5.5",      "object": "model",      "owned_by": "anthropic",      "name": "Anthropic: Claude Sonnet 5.5",      "architecture": {        "input_modalities": [          "text",          "image",          "file"        ],        "output_modalities": [          "text"        ]      },      "context_length": 1000000,      "max_output_tokens": 128000,      "reasoning": {        "supported_efforts": [          "max",          "xhigh",          "high",          "medium",          "low"        ],        "default_effort": "high",        "mandatory": true,        "supports_max_tokens": false      },      "pricing": {        "prompt": "0.0000024",        "completion": "0.000012",        "reasoning": "0.000012",        "request": "0",        "image": "0",        "image_output": "0",        "web_search": "0.012"      }    }  ]}