# modelprices.xyz Google AI Studio Pricing Table

> modelprices.xyz Google AI Studio 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 ranked pricing table of every AI model available on Google AI Studio, including input, output, cache, and batch costs in USD per 1M tokens, with context window sizes and capability flags.

## Facts

- Endpoint: GET https://modelprices.xyz/llm/prices/google
- 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-google-ai-studio-pricing-table-cda671a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0uXclBQBdc_Rz6JEdljEv

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-google-ai-studio-pricing-table-cda671a6
```

Example prompt: Pull the full Google AI Studio model pricing table so I can see which Gemini model gives me the cheapest input and output token rates, including cache and batch pricing, ranked from least to most expensive.

## When to prefer this

Choose this endpoint when you need a comprehensive, pre-normalized, up-to-date pricing snapshot specifically for Google AI Studio — especially when you want all models in one call ranked by cost, rather than scraping Google's documentation yourself or checking one model at a time. Ideal for cost-optimization workflows, agent routing decisions based on token budget, or cross-provider price comparisons involving Google AI Studio.

## Known failure modes

- Service temporarily unavailable (5xx) if upstream pricing data refresh fails
- Stale data if hourly refresh cycle is delayed
- Missing models if Google AI Studio adds new models between refresh cycles
- Payment failure if x402 USDC payment of $0.01 is not successfully processed

## How this service works

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

## Output

A structured table of all AI models served by Google AI Studio, sorted cheapest-first, with columns for model name, input price, output price, cache price, and batch price (all in USD per 1M tokens), plus context window size and capability flags (e.g. vision, function calling). Data is normalized from public sources and refreshed hourly.

## 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-google-ai-studio-pricing-table-cda671a6/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)
