Docs

Models

GET/api/v1/models

The machine-readable catalog. What this endpoint lists is exactly what the gateway serves and bills; there is no hidden menu.

List models

No authentication required:

curl https://tokenkiln.com/api/v1/models

Response:

{
  "object": "list",
  "data": [
    {
      "id": "Qwen/Qwen2.5-7B-Instruct",
      "object": "model",
      "created": 1754200000,
      "owned_by": "tokenkiln",
      "context_length": 8192,
      "pricing": {
        "input_per_million_usd": 0.625,
        "output_per_million_usd": 1.875
      }
    }
  ]
}

Fields

  • id is what you pass as modelin requests. Ids match the model's Hugging Face repository name.
  • context_lengthis the model's context window in tokens, when known.
  • pricing is an extension to the OpenAI schema: USD per million input and output tokens. Prices can change; batches snapshot their prices at creation, live requests use current catalog rates.

The human-readable version, with search, lives on the catalog page, and every model has its own page with ready-to-paste snippets.