78trust / 100

Gemini Pricing

by modelprices.xyz in AI models & inference

x402 APIPassing, checked 1 h ago

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.

GET https://modelprices.xyz/gemini-pricing

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
96 ms typical, 105 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://modelprices.xyz/gemini-pricing"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmodelprices.xyz%2Fgemini-pricing
const res = await pay("https://modelprices.xyz/gemini-pricing");
console.log(await res.json());

Example input

{}

Example output

{
  "board": "Gemini model pricing",
  "generated_at": "2026-07-14T02:00:00.000Z",
  "model_count": 24,
  "models": [
    {
      "context_window": 200000,
      "id": "gemini-3-pro",
      "input_per_mtok": 3,
      "output_per_mtok": 15,
      "provider": "anthropic"
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed40296 ms$0.01
5 h agoPassed40294 ms$0.01
8 h agoPassed402107 ms$0.01
12 h agoPassed40298 ms$0.01
16 h agoPassed40296 ms$0.01
19 h agoPassed402104 ms$0.01
23 h agoPassed40299 ms$0.01
26 h agoPassed40268 ms$0.01
30 h agoPassed40293 ms$0.01
34 h agoPassed40298 ms$0.01
37 h agoPassed402105 ms$0.01
42 h agoPassed402104 ms$0.01
45 h agoPassed40257 ms$0.01
2 days agoPassed40272 ms$0.01