{
  "x402Version": 2,
  "id": 10941,
  "slug": "10941",
  "resource": "https://modelprices.xyz/llm/price/:model",
  "description": "Single-model price lookup: current per-token cost for one AI model by id (e.g. claude-sonnet-5, gpt-5, gemini-3-pro) — input, output, cache and batch USD per 1M tokens. The cheapest way to answer 'what does this model cost right now?' inside a routing or budgeting decision. Fuzzy-matches model ids and suggests alternatives on miss. Includes provenance: provider source URL, first_observed_at, confidence tier.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x63a20fa244d3E6a8902121E99704b7F857dc6EBB",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {
            "model": "gpt-5"
          },
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "generated_at": "2026-07-14T02:00:00.000Z",
            "matched_id": "claude-sonnet-5",
            "model": {
              "cache_read_per_mtok": 0.3,
              "confidence": "high",
              "first_observed_at": "2026-07-12T18:00:00.000Z",
              "id": "claude-sonnet-5",
              "input_per_mtok": 3,
              "output_per_mtok": 15,
              "provider": "anthropic",
              "source_url": "https://docs.claude.com/en/docs/about-claude/pricing"
            }
          },
          "type": "json"
        }
      },
      "routeTemplate": "/llm/price/:model",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "pathParams": {
                "properties": {
                  "model": {
                    "description": "Model id or suffix, e.g. gpt-5, claude-sonnet-5",
                    "type": "string"
                  }
                },
                "required": [
                  "model"
                ],
                "type": "object"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "modelprices"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "modelprices.xyz",
  "lastUpdated": "2026-08-29T06:03:46.583Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-29T06:03:45.991Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "modelprices.xyz",
    "manifest_name": "modelprices.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}