# Stack Facts LLM Model Price Estimator

> Stack Facts LLM Model Price Estimator is a paid API for AI agents from g5joilnmeep4ntz3nwezxt5dmu.srv.us, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Estimates the cost of an LLM API call given a model name and token counts, returning a signed, pay-per-call breakdown in USD

## Facts

- Endpoint: POST https://g5joilnmeep4ntz3nwezxt5dmu.srv.us/v1/models/estimate?utm_source=zero.xyz
- Price: $0.003/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-llm-model-price-estimator-d7da812c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xp6u53CnUpy98MzGalE_J

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-llm-model-price-estimator-d7da812c -d '<json body>'
```

Example prompt: How much will it cost to call GPT-4o with 1,000 input tokens, 200 cached tokens, and 500 output tokens? Use Stack Facts to get a signed price estimate.

## When to prefer this

Choose this endpoint when you need a cryptographically signed, verifiable LLM cost estimate on a per-call basis with no API key or account setup — especially suitable for agents that need to gate or log LLM spending, compare model costs programmatically, or audit pricing with a tamper-evident signature. Prefer it over scraping provider pricing pages or using unofficial community spreadsheets when auditability and freshness guarantees matter.

## Known failure modes

- Unknown or misspelled model name returns no matching data or an error
- Token count values exceeding the maximum (10B) are rejected
- Payment in USDC not submitted or insufficient causes HTTP 402 before any data is returned
- Stale pricing snapshot may cause meta.stale=true flag if data hasn't been refreshed
- Sources disagreeing on a price field triggers a sources_disagree array warning rather than a hard 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

Returns a signed JSON payload with the model's canonical name, a line-by-line cost breakdown (input, cached, output tokens), total cost in USD and micro-USD, the pricing formula used, deprecation status and date, a SHA-256 hash and cryptographic signature for tamper verification, the data source URL, dataset snapshot ID, licence, and a staleness flag — all reflecting the latest pricing snapshot.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "maxLength": 200,
   "minLength": 1
  },
  "input_tokens": {
   "type": "integer",
   "maximum": 10000000000,
   "minimum": 0
  },
  "cached_tokens": {
   "type": "integer",
   "maximum": 10000000000,
   "minimum": 0
  },
  "output_tokens": {
   "type": "integer",
   "maximum": 10000000000,
   "minimum": 0
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {
   "name": "GPT-4o",
   "lines": [
    {
     "kind": "input",
     "tokens": 1000,
     "cost_usd": "0.002",
     "price_field": "input_usd_per_mtok",
     "usd_per_mtok": 2
    }
   ],
   "model": "openai/gpt-4o",
   "notes": [],
   "formula": "cost_usd = (input_tokens × inpu…",
   "cost_usd": "0.004",
   "deprecated": false,
   "cost_micro_usd": 4000,
   "deprecation_date": null,
   "sources_disagree": [
    "input_usd_per_mtok"
   ],
   "days_until_deprecation": 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-llm-model-price-estimator-d7da812c/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)
