# Public model

`GET https://api.llm.buzz/public/v1/models/{author}/{slug}`

One public model with its providers in rank order, each with its prices, limits, residency, data policy and metrics, plus the model's uptime, usage, questions and similar models. `auto_price` is `true` on the row of llm.buzz's own provider, whose prices are the lowest live direct price of each component (the Auto price). A model whose name has no `/` is `GET /public/v1/models/{name}`. Send the name's `/` as it is: an encoded `%2F` is a 404. It is the website's data, not a stable API.

Authentication: none, the route is keyless.

## Parameters

- `author` (path string, required): The part of the model's name before `/`, such as `deepseek`.
- `slug` (path string, required): The part after `/`, such as `deepseek-v4.1-flash`.

## Responses

- 200: The model document.
- 400: A query string other than `revision`, a whole number. The body is `{"error": {"code", "message"}}`.
- 404: No public model has this name: `no public model named 'acme/nope'; see /public/v1/models`.
- 503: The public data is busy, or the request pinned a `revision` this server has not published yet. Retry after a second, as `Retry-After: 1` says.

## Example (curl)

```bash
curl https://api.llm.buzz/public/v1/models/deepseek/deepseek-v4.1-flash
```

## Example response

```json
{
  "schema_version": 1,
  "model": {
    "name": "deepseek/deepseek-v4.1-flash",
    "display_name": "DeepSeek: DeepSeek V4.1 Flash",
    "author": "deepseek",
    "author_name": "DeepSeek",
    "input_modalities": [
      "text",
      "image"
    ],
    "output_modalities": [
      "text"
    ],
    "context_length": 1048576,
    "max_output_tokens": 131072,
    "features": [
      "tools",
      "structured_output",
      "caching"
    ],
    "open_weights": true,
    "providers": {
      "live": 3,
      "paused": 0
    },
    "provider_names": [
      "DeepInfra",
      "Scaleway",
      "Prime Intellect"
    ],
    "eu_available": true,
    "free": false,
    "available": true,
    "price_varies": true,
    "price_unit": "token",
    "price": {
      "input": "0.2",
      "output": "0.6",
      "cache_read": "0.006",
      "cache_write": "0",
      "cache_write_1h": "0",
      "reasoning": "0.6"
    },
    "price_discount": null
  },
  "providers": [
    {
      "rank": 1,
      "slug": "deepinfra",
      "tag": "deepinfra",
      "display_name": "DeepInfra",
      "type": "cloud",
      "residency": "non-eu",
      "state": "live",
      "context_length": 1048576,
      "max_output_tokens": 131072,
      "prices": {
        "input": "0.2",
        "output": "0.6",
        "cache_read": "0.006",
        "cache_write": "0",
        "cache_write_1h": "0",
        "reasoning": "0.6"
      },
      "discount": null,
      "auto_price": false,
      "cache_capable": true,
      "data_policy": null
    }
  ]
}
```
