# LLM Model Price Table – Find Cheapest Models

> LLM Model Price Table – Find Cheapest Models is a paid API for AI agents from llm-model-price-table.x402supply.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Ranks LLM models by blended cost (USD per 1M tokens) cheapest first, with filtering by provider, mode, context window, modalities, function calling, vision, and price caps.

## Facts

- Endpoint: POST https://llm-model-price-table.x402supply.com/tools/find_cheapest_models?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/llm-model-price-table-find-cheapest-models-23673d0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XuhhE5hGbhbaBdpGRtPC3

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 llm-model-price-table-find-cheapest-models-23673d0c -d '<json body>'
```

Example prompt: Find me the top 5 cheapest chat models that support function calling and have at least a 32,000-token context window — my workload is about 80% input tokens, so weight the pricing accordingly.

## When to prefer this

Use this endpoint when you need to programmatically compare and rank LLM models by cost across multiple providers, especially when optimizing for a specific input/output token ratio, required capabilities (vision, function calling), or minimum context window. Prefer this over manually checking provider pricing pages or using a general-purpose search.

## Known failure modes

- No models match the specified filters (overly restrictive combination of provider, mode, context window, and modality)
- Invalid provider ID returns empty results or error
- Payment not processed (x402 payment required, $0.005 USDC per call)
- minContextTokens set too high with no matching models
- Price cap too low to return any models

## How this service works

Ranks models cheapest first by blended USD per 1M tokens (inputShare weights input vs output). Filter by provider, mode, minContextTokens, input/output modality, function calling, vision and price caps. Skips sample_spec and models past their deprecation date.

## Output

A ranked list (cheapest first) of LLM models matching the specified filters, including blended USD price per 1M tokens, provider, model name, context window size, and supported modalities. Deprecated models and sample specs are excluded.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "chat",
    "completion",
    "embedding",
    "image_generation",
    "audio_transcription",
    "audio_speech",
    "rerank",
    "moderation",
    "responses",
    "realtime"
   ],
   "type": "string",
   "default": "chat",
   "description": "Model mode. Default chat"
  },
  "limit": {
   "type": "integer",
   "default": 10,
   "maximum": 50,
   "minimum": 1,
   "description": "Maximum models to return, 1-50"
  },
  "provider": {
   "type": "string",
   "maxLength": 60,
   "description": "LiteLLM provider id, e.g. openai, anthropic, gemini, groq. Case-insensitive exact match. Omit for all providers"
  },
  "inputShare": {
   "type": "number",
   "default": 0.75,
   "maximum": 1,
   "minimum": 0,
   "description": "Share of input tokens in your workload, 0-1. Blended = in*share + out*(1-share). Default 0.75"
  },
  "inputModality": {
   "enum": [
    "text",
    "image",
    "audio",
    "video"
   ],
   "type": "string",
   "description": "Require this input modality"
  },
  "requireVision": {
   "type": "boolean",
   "default": false,
   "description": "Only models that accept image input"
  },
  "outputModality": {
   "enum": [
    "text",
    "image",
    "audio",
    "video",
    "code"
   ],
   "type": "string",
   "description": "Require this output modality"
  },
  "minContextTokens": {
   "type": "integer",
   "maximum": 100000000,
   "minimum": 1,
   "description": "Minimum max_input_tokens context window"
  },
  "maxInputPricePerM": {
   "type": "number",
   "minimum": 0,
   "description": "Cap on input USD per 1M tokens"
  },
  "maxOutputPricePerM": {
   "type": "number",
   "minimum": 0,
   "description": "Cap on output USD per 1M tokens"
  },
  "requireFunctionCalling": {
   "type": "boolean",
   "default": false,
   "description": "Only models that support function/tool calling"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/llm-model-price-table-find-cheapest-models-23673d0c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llm-model-price-table.x402supply.com](https://www.zero.xyz/host/llm-model-price-table.x402supply.com/llms.txt)
