# Stack Facts: Cheapest LLM Models Lookup

> Stack Facts: Cheapest LLM Models Lookup is a paid API for AI agents from g5joilnmeep4ntz3nwezxt5dmu.srv.us, paid per call via x402, $0.008/call, status unknown (last checked 2026-10-13).

Returns a ranked list of the cheapest LLM models matching filters like tool-calling, vision, context length, and provider, with signed pricing data paid per call in USDC.

## Facts

- Endpoint: POST https://g5joilnmeep4ntz3nwezxt5dmu.srv.us/v1/models/cheapest?utm_source=zero.xyz
- Price: $0.008/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stack-facts-cheapest-llm-models-lookup-73eacf99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__51OtLGb6meuLc4x8C8Ui

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 stack-facts-cheapest-llm-models-lookup-73eacf99 -d '<json body>'
```

Example prompt: Find me the cheapest 10 models that support tool calling and have at least 128k context, excluding free and deprecated models — I want them ranked by blended cost per million tokens.

## When to prefer this

Choose this endpoint when you need a cryptographically signed, pay-per-call ranked list of cheapest LLM models with rich filtering (tool calling, vision, context length, provider, price cap). It is especially useful for AI agents that need to dynamically select the most cost-effective model without maintaining their own pricing database, and when verifiability of the data (via SHA256 + signature) is important. Prefer this over static LLM pricing pages or self-maintained spreadsheets when freshness, auditability, and programmatic filtering are required.

## Known failure modes

- Payment not received or insufficient USDC — returns 402 Payment Required
- Invalid filter parameters (e.g. negative min_context, invalid provider string) — returns 400 Bad Request
- No models match the applied filters — returns result with matched:0 and empty results array
- Data snapshot is stale — meta.stale flag is true, indicating pricing data may be outdated
- Network timeout or server error — returns 5xx error

## How this service works

Check a package before install: malware, known vulnerabilities (OSV), exploited CVEs (CISA KEV) and end-of-life, plus LLM prices; signed answers, pay per call in USDC, no account or API key.

## Output

A JSON object containing a ranked list of matching LLM models with their input/output/blended prices per million tokens, context window sizes, tool-call and vision support flags, deprecation status, and days until deprecation. Also includes filter summary (how many models were considered, matched, and excluded by each criterion), a ranking formula explanation, and signed metadata (SHA256 hash, cryptographic signature, source URL, dataset licence, snapshot ID, and staleness flag) for verifiable data provenance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "tools": {
   "type": "boolean"
  },
  "vision": {
   "type": "boolean"
  },
  "providers": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 40
   },
   "maxItems": 20,
   "minItems": 1
  },
  "min_context": {
   "type": "integer",
   "minimum": 1
  },
  "include_free": {
   "type": "boolean"
  },
  "max_usd_per_mtok": {
   "type": "number",
   "minimum": 0
  },
  "include_deprecated": {
   "type": "boolean"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "filter": {
    "applied": {},
    "matched": 24,
    "reasons": {},
    "excluded": {},
    "returned": 10,
    "considered": 36
   },
   "ranking": "blended_usd_per_mtok = (3 × inp…",
   "results": [
    {
     "id": "cohere/command-r-08-2024",
     "name": "Command R",
     "rank": 1,
     "vision": false,
     "reasoning": false,
     "tool_call": true,
     "deprecated": false,
     "context_tokens": 128000,
     "sources_disagree": [],
     "max_output_tokens": 4000,
     "input_usd_per_mtok": 0.15,
     "output_usd_per_mtok": 0.6,
     "blended_usd_per_mtok": 0.2625,
     "days_until_deprecation": null,
     "cache_read_usd_per_mtok": null
    }
   ]
  },
  "meta": {
   "as_of": "2026-10-09T06:00:00Z",
   "stale": false,
   "key_id": "sf-test-1",
   "notice": "Normalised (modified) from the …",
   "sha256": "f99d55c9aa420561de698d63d70d916…",
   "source": "https://raw.githubusercontent.c…",
   "dataset": "models",
   "licence": "MIT",
   "signature": "AvlI5FXM8fD9oncZAr9velQseOBO9X7…",
   "attribution": "Pricing data derived from LiteL…",
   "snapshot_id": "models-20261009T060000Z-f99d55c9",
   "manifest_url": "/v1/models/manifest",
   "retrieved_at": "2026-10-09T06:00:00.000Z"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stack-facts-cheapest-llm-models-lookup-73eacf99/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from g5joilnmeep4ntz3nwezxt5dmu.srv.us](https://www.zero.xyz/host/g5joilnmeep4ntz3nwezxt5dmu.srv.us/llms.txt)
