# modelprices.xyz – Fireworks AI Pricing Table

> modelprices.xyz – Fireworks AI 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 a complete, ranked pricing table for every AI model served by Fireworks AI, including input, output, cache, and batch costs in USD per 1M tokens, plus context window and capability flags.

## Facts

- Endpoint: GET https://modelprices.xyz/llm/prices/fireworks
- 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-fireworks-ai-pricing-table-9f21e832
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_87KPJ_UYYd_eHoPc7pkZh

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-fireworks-ai-pricing-table-9f21e832
```

Example prompt: Pull the full Fireworks AI model pricing table — I want to see every model ranked cheapest first with their input, output, cache, and batch costs per million tokens, plus context window sizes.

## When to prefer this

Use this endpoint when you specifically need Fireworks AI pricing data in one structured call, rather than scraping Fireworks AI's website directly. Prefer this over the cheapest-model query endpoint when you need the full catalogue rather than filtered results, and over general LLM pricing APIs when you need Fireworks-specific cache and batch pricing tiers.

## Known failure modes

- Stale pricing data if Fireworks AI updates prices between hourly refreshes
- Missing models if Fireworks AI adds new models not yet indexed
- HTTP 402 if payment of $0.01 USDC is not attached
- Incomplete capability flags if source data is ambiguous or missing

## How this service works

Fireworks AI pricing table: per-token cost of every AI model Fireworks AI 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 Fireworks AI 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 on Fireworks AI, each with: input cost (USD/1M tokens), output cost (USD/1M tokens), cache cost (USD/1M tokens), batch cost (USD/1M tokens), context window size in tokens, and capability flags (e.g. vision, function calling). Models are sorted cheapest first. Data is refreshed hourly from public 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-fireworks-ai-pricing-table-9f21e832/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)
