# modelprices.xyz Replicate Pricing Table

> modelprices.xyz Replicate Pricing Table is a paid API for AI agents from modelprices.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns per-token USD pricing for every AI model available on Replicate, ranked cheapest first, with context window and capability flags.

## Facts

- Endpoint: GET https://modelprices.xyz/llm/prices/replicate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/modelprices-xyz-replicate-pricing-table-b360941b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NCVOLIXbnt3xw5A1WXK6p

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-replicate-pricing-table-b360941b
```

Example prompt: Pull the full Replicate model pricing table right now — I need input, output, cache, and batch costs per million tokens for every model they offer, sorted cheapest first with context window sizes included.

## When to prefer this

Use this endpoint when you need a comprehensive, pre-normalized, cross-checked view of all Replicate model pricing in a single call rather than scraping Replicate's documentation yourself. Prefer it over generic model directories when you specifically need Replicate's current token costs with capability metadata already joined in and ranked by cost.

## Known failure modes

- Upstream Replicate pricing data temporarily unavailable causing stale or empty response
- Hourly refresh not yet completed resulting in slightly outdated prices
- Network timeout on the pricing aggregation service
- HTTP 402 if payment of $0.01 USDC is not attached to the request

## How this service works

Replicate pricing table: per-token cost of every AI model Replicate serves, in one call — input, output, cache and batch USD per 1M tokens, ranked cheapest first, with context window and capability flags joined in. Compare LLM token cost inside Replicate and against other providers hosting the same model. Normalized from public sources, cross-checked, refreshed hourly.

## Output

A ranked list of all AI models on Replicate with their per-token pricing (input, output, cache, batch) in USD per 1M tokens, plus context window size and capability flags such as vision or function-calling support, sorted cheapest first.

## 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-replicate-pricing-table-b360941b/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)
