# modelprices.xyz Claude Pricing Table

> modelprices.xyz Claude 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-15).

Returns real-time per-token pricing for all Claude models (Claude 5, Opus, Sonnet, Haiku) across every provider that hosts them, sorted cheapest first

## Facts

- Endpoint: GET https://modelprices.xyz/claude-pricing
- 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-claude-pricing-table-59d5aec0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s6-0IOYQFLrvhuSGp6hYb

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-claude-pricing-table-59d5aec0
```

Example prompt: What's the cheapest provider to run Claude Sonnet right now — show me input, output, and cache token prices across Anthropic, Bedrock, Azure, Vertex, and OpenRouter sorted by cost.

## When to prefer this

Use this endpoint when you need current, normalized Claude-specific pricing across multiple providers in a single call — especially when comparing Anthropic direct pricing against resellers like Bedrock, Azure, or Vertex. Prefer this over scraping provider docs yourself or using a general model pricing API when Claude models are your primary concern and you want provider cost rankings already computed.

## Known failure modes

- HTTP 402 if payment is missing or invalid USDC amount
- Stale data if refresh cycle is delayed (data up to ~1 hour old)
- Incomplete provider coverage if a provider's pricing page is temporarily unavailable
- Empty results if Claude models are temporarily unlisted on all tracked providers

## How this service works

Claude pricing table: what every Claude model costs per token right now — Claude 5, Claude Opus, Claude Sonnet, Claude Haiku — from Anthropic and every provider that resells or hosts them (Bedrock, Azure, Vertex, OpenRouter, Fireworks). Input, output, cache and batch USD per 1M tokens, sorted cheapest first, so you can compare Claude inference cost across hosts and pick the cheapest place to run one. Normalized, cross-checked, refreshed hourly.

## Output

A normalized table of Claude model pricing in USD per 1M tokens, covering input, output, cache, and batch token types, for each provider (Anthropic, AWS Bedrock, Azure, Google Vertex, OpenRouter, Fireworks), refreshed hourly and sorted cheapest first so the lowest-cost option is immediately visible.

## 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-claude-pricing-table-59d5aec0/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)
