# modelprices.xyz Gemma Pricing Table

> modelprices.xyz Gemma 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 Gemma models (Gemma 3, Gemma 2) across every host provider, sorted cheapest first.

## Facts

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

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-gemma-pricing-table-9bee19bf
```

Example prompt: Show me a full pricing comparison for Gemma models across every provider — Google, Bedrock, Azure, Vertex, OpenRouter, and Fireworks — including input, output, cache, and batch token costs in USD per million tokens, sorted from cheapest to most expensive.

## When to prefer this

Use this endpoint when you specifically need Gemma model pricing across multiple providers in a single normalized call. Prefer it over single-model lookups when you need to compare hosts, find the cheapest Gemma provider, or audit cross-cloud costs for the Gemma family. For non-Gemma models use sibling endpoints (e.g. Anthropic, Bedrock, DeepInfra tables).

## Known failure modes

- Provider pricing temporarily unavailable — partial table returned missing some hosts
- Stale data if hourly refresh cycle is mid-run — prices may lag by up to 60 minutes
- No results if Gemma models are delisted by all providers
- HTTP 402 if payment header is missing or USDC payment fails
- Rate limiting if called excessively within a short window

## How this service works

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

## Output

A normalized pricing table listing every Gemma model (Gemma 3, Gemma 2) available across all supported hosts (Google, AWS Bedrock, Azure, Vertex AI, OpenRouter, Fireworks), with columns for input, output, cache, and batch USD cost per 1 million tokens, sorted ascending by price. Data is refreshed hourly and cross-checked across providers.

## 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-gemma-pricing-table-9bee19bf/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)
