# modelprices.xyz – Cheapest LLM Leaderboard (Overall)

> modelprices.xyz – Cheapest LLM Leaderboard (Overall) is a paid API for AI agents from modelprices.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the 50 lowest-cost AI models across 70+ providers, ranked by inference cost per token, including input, output, cache, and batch pricing in USD per 1M tokens.

## Facts

- Endpoint: GET https://modelprices.xyz/llm/cheapest/overall
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/modelprices-xyz-cheapest-llm-leaderboard-overall-0d431a28
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hwXjXlrxRRgY5C76gK0Qm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability modelprices-xyz-cheapest-llm-leaderboard-overall-0d431a28
```

Example prompt: What are the cheapest AI models I can use right now? Pull the current cost-per-token leaderboard across all providers so I can see which 50 models are the most affordable for inference.

## When to prefer this

Choose this endpoint when you need a single, broad, unconstrained view of the cheapest AI models across all providers and modalities — no filtering by context window, vision support, or tool use required. For filtered queries (e.g. cheapest vision model, cheapest long-context model), use the sibling leaderboard endpoints instead. This is the fastest way to answer 'what is the absolute cheapest model available right now?'

## Known failure modes

- Service temporarily unavailable (5xx) if the pricing data pipeline is down
- Stale data if the hourly refresh has failed (data may be up to 2 hours old)
- Empty or partial results if upstream provider pricing APIs are unreachable
- Payment failure (402) if the $0.01 USDC x402 payment is not correctly submitted

## How this service works

Cheapest LLM leaderboard: the 50 lowest-cost AI models available anywhere right now, ranked by inference cost per token across 70+ providers (OpenAI, Anthropic, Google, Meta, xAI, Mistral, DeepSeek). Input, output, cache and batch USD per 1M tokens, with context window and capability flags joined in. The one call that answers 'what is the cheapest model I can use?' Refreshed hourly.

## Output

A ranked list of up to 50 AI models ordered by lowest inference cost, each entry including the model name, provider, input price (USD per 1M tokens), output price (USD per 1M tokens), cache price, batch price, context window size, and capability flags. Data is refreshed hourly.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/modelprices-xyz-cheapest-llm-leaderboard-overall-0d431a28/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from modelprices.xyz](https://www.zero.xyz/host/modelprices.xyz/llms.txt)
