# modelprices.xyz Gemini Pricing Table

> modelprices.xyz Gemini 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 current per-token pricing for all Gemini models across every host (Google, Bedrock, Azure, Vertex, OpenRouter, Fireworks), sorted cheapest first.

## Facts

- Endpoint: GET https://modelprices.xyz/gemini-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-gemini-pricing-table-9b319308
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AYowsIyvp9YUQEscLSO_3

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-gemini-pricing-table-9b319308
```

Example prompt: Pull the latest Gemini pricing table — I want to see what Gemini 2.5 Pro and Gemini Flash cost per million tokens for input and output across Google, Vertex, Bedrock, OpenRouter, and Fireworks, sorted by cheapest first.

## When to prefer this

Use this endpoint when you specifically need Gemini model pricing and want to compare costs across multiple hosting providers simultaneously. Prefer this over single-model lookups when you need a full cross-provider comparison or want the cheapest host sorted automatically. Use the sibling single-model price lookup endpoint if you only need one specific model's cost.

## Known failure modes

- Pricing data temporarily stale if upstream provider APIs are unreachable during refresh
- HTTP 402 Payment Required if x402 payment of $0.01 USDC is not attached
- Model not yet indexed if a very newly released Gemini variant hasn't been crawled
- Empty or partial results if a specific provider's pricing page is temporarily unavailable

## How this service works

Gemini pricing table: what every Gemini model costs per token right now — Gemini 3 Pro, Gemini 3 Flash, Gemini 2.5 — from Google 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 Gemini inference cost across hosts and pick the cheapest place to run one. Normalized, cross-checked, refreshed hourly.

## Output

A normalized table of all Gemini models (e.g. Gemini 3 Pro, Gemini 3 Flash, Gemini 2.5) with per-token USD prices for input, output, cache, and batch tiers from every provider that hosts them (Google, AWS Bedrock, Azure, Vertex AI, OpenRouter, Fireworks), sorted ascending by cost. Data is refreshed hourly and cross-checked across 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-gemini-pricing-table-9b319308/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)
