moth docs
Reference Models

Models

Lists every chat, image, video and music model with its price, its limits and what it can do.

GEThttps://api.runmoth.si/v1/models

The list is public, so it needs no key, and a key sent with it must be valid. GET /models/{id} returns one entry in the same shape.

A chat model

idstring

The model ID you send as model.

modalitystring

chat, image, video or music.

context_lengthinteger

The longest conversation the model takes, in tokens.

privacystring

anonymized today, as Anonymized and Sealed explains.

statusstring

available, paused while its price can't be held, or busy while it rests after failing at its host.

pricingobject

Moth's price in dollars per million input and output tokens.

capabilitiesobject

Whether it takes tools, a forced tool choice, sampling settings and web search.

list_priceobject

The maker's own price, the page it was read from, the date it was read and the saving in percent, rounded down. It is left out when no maker price has been verified.

A media model

A media model's pricing has a unit of image, second or song and a unit_usd, its limits list max_images, durations, aspect_ratios and max_prompt_chars where they apply, and its list_price, when there is one, has a unit_usd and a single saving_pct.

Errors

401authentication_errorA key was sent and isn't valid, so send none to read the public list
404not_found_error/models/{id} names no model
429rate_limit_errorToo many reads from the key, so wait for retry-after
curl https://api.runmoth.si/v1/models
Response
{
  "object": "list",
  "data": [
    {
      "object": "model",
      "created": 1790812800,
      "owned_by": "gemini",
      "id": "gemini-3.8-flash",
      "type": "model",
      "family": "gemini",
      "modality": "chat",
      "context_length": 1048576,
      "privacy": "anonymized",
      "status": "available",
      "pricing": {
        "input_usd_per_mtok": "0.375000",
        "output_usd_per_mtok": "1.875000"
      },
      "capabilities": {
        "tools": true,
        "forced_tool_choice": true,
        "sampling_params": true,
        "web_search": false
      },
      "list_price": {
        "input_usd_per_mtok": "0.750000",
        "output_usd_per_mtok": "3.750000",
        "source": "https://ai.google.dev/gemini-api/docs/pricing",
        "checked": "2026-10-17",
        "saving_pct": {
          "input": 50,
          "output": 50
        }
      }
    }
  ]
}

Try it live no key needed

free

Your key stays in this tab and is sent only to the API.