# modelprices.xyz Vercel AI Gateway Pricing Table

> modelprices.xyz Vercel AI Gateway 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 the full per-token pricing table for every AI model available through Vercel AI Gateway, ranked cheapest first, with input/output/cache/batch USD costs per 1M tokens, context window sizes, and capability flags.

## Facts

- Endpoint: GET https://modelprices.xyz/llm/prices/vercel
- 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-vercel-ai-gateway-pricing-table-6e0edd83
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jgnJVFukqgX63K7lSw-6G

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-vercel-ai-gateway-pricing-table-6e0edd83
```

Example prompt: Pull the full pricing table for every model Vercel AI Gateway offers — I want input, output, cache, and batch costs per million tokens, ranked cheapest first, so I can pick the most cost-effective model for my app.

## When to prefer this

Choose this endpoint when you need a comprehensive, pre-normalized, single-call view of all Vercel AI Gateway model prices — especially for cost optimization workflows, model selection logic in agents, or cross-provider price comparisons where Vercel AI Gateway is one of the candidates. Prefer it over scraping Vercel docs directly because it is refreshed hourly, normalized, and cross-checked.

## Known failure modes

- Vercel AI Gateway adds or removes a model and the table may lag up to one hour before reflecting the change
- Upstream pricing source changes format causing normalization errors
- HTTP 402 payment required if x402 payment header not included
- HTTP 503 or timeout if the pricing refresh job is in progress
- Model IDs may differ from canonical names used by other providers

## How this service works

Vercel AI Gateway pricing table: per-token cost of every AI model Vercel AI Gateway 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 Vercel AI Gateway and against other providers hosting the same model. Normalized from public sources, cross-checked, refreshed hourly.

## Output

A ranked list of all AI models available through Vercel AI Gateway, each entry including model ID, input cost (USD per 1M tokens), output cost (USD per 1M tokens), cache cost, batch cost, context window size in tokens, and capability flags (e.g. vision, function calling). Results are sorted cheapest first and refreshed hourly from public pricing sources.

## 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-vercel-ai-gateway-pricing-table-6e0edd83/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)
