{"uid":"cap_Z7wq0Gz4yv_gswBrWqmTY","slug":"modelprices-xyz-grok-pricing-table-4c59d7a8","name":"modelprices.xyz Grok Pricing Table","description":"Grok pricing table: what every Grok model costs per token right now — Grok 4, Grok 4 mini, Grok 3 — from xAI 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 Grok inference cost across hosts and pick the cheapest place to run one. Normalized, cross-checked, refreshed hourly.","url":"https://modelprices.xyz/grok-pricing","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kZNgsk6_ijpwDG_VA5P7f","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current per-token pricing for all Grok models (Grok 4, Grok 4 mini, Grok 3) across every provider that hosts them, sorted cheapest first.","exampleAgentPrompt":"What's the cheapest provider to run Grok 4 right now — can you pull the full Grok pricing table across xAI, Bedrock, Azure, Vertex, OpenRouter, and Fireworks, sorted by cost?","exampleUseCases":[{"title":"Cheapest Grok provider for a startup","prompt":"We're about to launch a product using Grok 4 and need to minimize inference costs — pull the full Grok pricing table sorted cheapest first so I can decide whether to go with xAI directly or a reseller like OpenRouter or Fireworks."},{"title":"Grok cost estimate for budget planning","prompt":"I need to estimate monthly LLM costs — can you get the current input and output token prices for all Grok models, including Grok 3 and Grok 4 mini, across every provider?"},{"title":"Cross-provider Grok pricing audit","prompt":"My team is using Grok on AWS Bedrock but I've heard OpenRouter might be cheaper — can you compare Grok token prices across all providers including batch and cache rates so I can see if we should switch?"}],"resultDescription":"A normalized, cross-checked pricing table listing every Grok model (Grok 4, Grok 4 mini, Grok 3) with their input, output, cache, and batch costs in USD per 1M tokens across all providers that host them (xAI, AWS Bedrock, Azure, Vertex, OpenRouter, Fireworks), sorted cheapest first and refreshed hourly.","failureModes":["Provider pricing data temporarily unavailable — may return stale or partial data","HTTP 402 if payment header is missing or USDC balance is insufficient","Rate limits if called excessively in a short window","Newly launched Grok models may not yet appear if refresh cycle hasn't completed"],"whenToPreferThis":"Use this endpoint when you specifically need Grok model pricing and want a normalized cross-provider comparison in a single call. Prefer this over single-model lookups when comparing multiple Grok variants or providers simultaneously. For non-Grok models, use the provider-specific or single-model endpoints on modelprices.xyz instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:00.515Z","isFirstParty":false}