// api reference

List models

Lists every model you can call, with context length and prices.

GEThttps://api.litepod.io/v1/models

Authorization

Authorizationheaderrequired
Bearer sk_litepod_.... See Authentication.

Response

A list of model objects. Besides OpenAI's fields, each has name, context_length and pricing in USD per 1M tokens.

Errors

StatuscodeWhen
401invalid_api_keyMissing, malformed or revoked key.
429rate_limit_exceededAccount rate limit reached.

See Errors & retries for the error format and what to retry.

curl https://api.litepod.io/v1/models \
  -H "Authorization: Bearer $LITEPOD_API_KEY"
200 response
{
  "object": "list",
  "data": [
    {
      "id": "nvidia/nemotron-lightning-3.5-30b-a3b",
      "object": "model",
      "created": 0,
      "owned_by": "DeepSeek",
      "name": "DeepSeek V4.1 Flash",
      "context_length": 1048576,
      "pricing": {
        "input_per_million_usd": 0.3,
        "cached_input_per_million_usd": 0.006,
        "output_per_million_usd": 1.2
      }
    }
  ]
}