---
title: "Grok 4.7 vs Gemini 4 Hydrogen API pricing compared | BroadRouter"
description: "Grok 4.7 vs Gemini 4 Hydrogen API price per 1M tokens: USD 2 / USD 6 vs USD 1.50 / USD 7.50 input/output, from providers' own pricing pages."
url: https://broadrouter.com/llm-api-pricing/compare/grok-4.7-vs-gemini-4-hydrogen/
lang: en
updated: 2026-11-15
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# Grok 4.7 vs Gemini 4 Hydrogen API pricing

Updated 2026-11-15

Grok 4.7: USD 2 input, USD 6 output per 1M tokens (xAI and 4 others). Gemini 4 Hydrogen: USD 1.50 input, USD 7.50 output per 1M tokens (Google Gemini API and 2 others). At 3 input tokens per output token they cost the same, USD 3 per 1M tokens.

Picked by the same-tier rule: both are in the fourth quarter of the indexed models by price (above USD 1.40 per 1M tokens at 3:1) and in the same size class, mid-size (no tier word, 40B to 200B parameters or no size in the name). Grok 4.7 is the 1st-closest-priced model from another maker to Gemini 4 Hydrogen in that bucket. **Price only**: every number is computed from prices read from each provider's own pricing page (linked per cell, newest check 2026-11-15), with no claim about quality, speed or accuracy.

## How do Grok 4.7 and Gemini 4 Hydrogen differ on price?

-   Cheapest input price: Gemini 4 Hydrogen USD 1.50 against USD 2 per 1M tokens, so Grok 4.7 costs 1.33× as much (33% more).
-   Cheapest output price: Grok 4.7 USD 6 against USD 7.50 per 1M tokens, so Gemini 4 Hydrogen costs 1.25× as much (25% more).
-   Among the 201 indexed models, Grok 4.7 ranks 160th cheapest and Gemini 4 Hydrogen 160th on the 3:1 blend (the same rank).
-   The cheaper model changes at 3 input tokens per output token.
-   Both list cached-input discounts: Grok 4.7 at 6 standard prices of 6, from USD 0.50 (xAI, 75% below that provider's input price); Gemini 4 Hydrogen at 3 standard prices of 3, from USD 0.075 (Google Gemini API, 95% below that provider's input price).
-   Only Grok 4.7 has a stated context window (524,288 tokens); no provider of Gemini 4 Hydrogen states one on its pricing page.
-   Grok 4.7 has 6 providers with a standard price, 3 more than Gemini 4 Hydrogen; 2 providers sell both (Google Vertex AI and Perplexity).
-   On one account, Google Vertex AI charges USD 3 for Grok 4.7 (its cheapest price) and USD 3 for Gemini 4 Hydrogen (its cheapest price) at 3:1, tied with 1 other provider for the lowest combined price among the providers that sell both.
-   Shopping around matters more for Grok 4.7: its dearest standard price is 1.1× its cheapest, against 1× for Gemini 4 Hydrogen.
-   xAI's own API is one of 5 providers tied for the lowest standard price we found for Grok 4.7, USD 3 at 3:1.
-   Google's own API is one of 3 providers tied for the lowest standard price we found for Gemini 4 Hydrogen, USD 3 at 3:1.
-   Grok 4.7 has no batch price on file; Gemini 4 Hydrogen has a batch price at 2 providers, from USD 1.50 at 3:1 (Google Gemini API).
-   For the one-developer coding agent preset, the gap is USD 7,803 a year in Gemini 4 Hydrogen's favour (Grok 4.7 USD 1,845 a month, Gemini 4 Hydrogen USD 1,195).

## Grok 4.7 and Gemini 4 Hydrogen prices side by side

USD per 1M tokens, standard tier. "Cheapest" is the lowest price at 3 input tokens to 1 output token; each line can come from a different provider.

Grok 4.7 and Gemini 4 Hydrogen API prices compared
| Price | Grok 4.7 | Gemini 4 Hydrogen |
| --- | --- | --- |
| Model page | [Grok 4.7](https://broadrouter.com/llm-api-pricing/grok-4.7/) · xAI · 6 providers | [Gemini 4 Hydrogen](https://broadrouter.com/llm-api-pricing/gemini-4-hydrogen/) · Google · 3 providers |
| Cheapest standard price, blended 3:1 | USD 3 tie · USD 2 in / USD 6 out at xAI and 4 others · [xAI page](https://docs.x.ai/developers/pricing) checked 2026-11-14 | USD 3 tie · USD 1.50 in / USD 7.50 out at Google Gemini API and 2 others · [Google Gemini API page](https://aistudio.google.com/docs/pricing#gemini-4-hydrogen) checked 2026-11-14 |
| Cheapest input | USD 2 · xAI [source](https://docs.x.ai/developers/pricing) | USD 1.50 lower · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-4-hydrogen) |
| Cheapest cached input | USD 0.50 · xAI [source](https://docs.x.ai/developers/pricing) | USD 0.075 lower · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-4-hydrogen) |
| Cheapest output | USD 6 lower · xAI [source](https://docs.x.ai/developers/pricing) | USD 7.50 · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-4-hydrogen) |
| Maker's own API | USD 2 / USD 6 · xAI [source](https://docs.x.ai/developers/pricing) | USD 1.50 / USD 7.50 · Google Gemini API [source](https://aistudio.google.com/docs/pricing#gemini-4-hydrogen) |
| Median standard price | USD 2 / USD 6 · input / output, 6 prices | USD 1.50 / USD 7.50 · input / output, 3 prices |
| Context window | 524,288 tokens, largest stated; from 500,000 at some providers | No provider states one on its pricing page. |
| Providers with a standard price | 6 | 3 |

-   **Lower** marks the lower price on a line; **tie**, equal prices. Other tiers and free rows are on the model pages.

[Report a wrong price or number](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20Grok%204.7%20vs%20Gemini%204%20Hydrogen%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fcompare%2Fgrok-4.7-vs-gemini-4-hydrogen%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (email to info@broadnet.ai, with this page's link filled in).

## What do Grok 4.7 and Gemini 4 Hydrogen cost for a real workload?

30 days at each model's cheapest standard price for the workload (presets of the [cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/?model=grok-4.7,gemini-4-hydrogen); cached input at the cached price where listed).

Monthly cost of three workloads on Grok 4.7 and Gemini 4 Hydrogen
| Workload | Grok 4.7 | Gemini 4 Hydrogen | Difference |
| --- | --- | --- | --- |
| **Support chatbot** · 2,000 requests a day, 1,500 input tokens (60% cached), 300 output | USD 207.00 · xAI | USD 193.05 · Google Gemini API | USD 13.95 · Gemini 4 Hydrogen lower |
| **RAG over documents** · 1,000 requests a day, 8,000 input tokens (30% cached), 500 output | USD 462.00 · xAI | USD 369.90 · Google Gemini API | USD 92.10 · Gemini 4 Hydrogen lower |
| **Coding agent (one developer)** · 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning | USD 1,845 · xAI | USD 1,195 · Google Gemini API | USD 650.25 · Gemini 4 Hydrogen lower |

Gemini 4 Hydrogen is cheaper on all three workloads. The widest gap is on Coding agent (one developer): the dearer model costs 54% more than the cheaper one.

## Does the cheaper model change with your input:output ratio?

The cheaper model changes with the mix: below 3 input tokens per output token, Grok 4.7 is cheaper; above 3, Gemini 4 Hydrogen is cheaper. At exactly 3:1 they cost the same. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.

Price per 1M tokens of Grok 4.7 and Gemini 4 Hydrogen at different input:output mixes
| Input : output tokens | Grok 4.7 | Gemini 4 Hydrogen |
| --- | --- | --- |
| **1 : 3** (long answers) | USD 5 lower · xAI | USD 6 · Google Gemini API |
| **1 : 1** | USD 4 lower · xAI | USD 4.50 · Google Gemini API |
| **3 : 1** (the site’s blend) | USD 3 tie · xAI | USD 3 tie · Google Gemini API |
| **10 : 1** (retrieval, long prompts) | USD 2.364 · xAI | USD 2.045 lower · Google Gemini API |
| **30 : 1** (agents, big contexts) | USD 2.129 · xAI | USD 1.694 lower · Google Gemini API |

USD per 1M tokens at the cheapest standard provider for each mix, before cache discounts. Thinking tokens bill as output.

## What do Grok 4.7 and Gemini 4 Hydrogen cost per character in other languages?

Not measured: the [real cost by language dataset](https://broadrouter.com/data/real-cost-by-language/) covers only tokenizers we could measure from published files, and Grok 4.7 and Gemini 4 Hydrogen are not among them. Count tokens on your own text with the counters below.

## Check it on your own traffic

-   [Grok 4.7 API pricing](https://broadrouter.com/llm-api-pricing/grok-4.7/): all 6 providers and other tiers.
-   [Gemini 4 Hydrogen API pricing](https://broadrouter.com/llm-api-pricing/gemini-4-hydrogen/): all 3 providers and other tiers.
-   [Cost calculator with Grok 4.7 and Gemini 4 Hydrogen preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=grok-4.7,gemini-4-hydrogen)
-   [Token counter](https://broadrouter.com/tools/token-counter/)
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/)

More comparisons: [Grok 4.7 vs Grok 4.6](https://broadrouter.com/llm-api-pricing/compare/grok-4.7-vs-grok-4.6/) · [Claude Sonnet 5.5 vs Grok 4.7](https://broadrouter.com/llm-api-pricing/compare/claude-sonnet-5.5-vs-grok-4.7/) · [GPT-6 Sol vs Grok 4.7](https://broadrouter.com/llm-api-pricing/compare/gpt-6-sol-vs-grok-4.7/) · [Grok 4.7 vs Grok 4.5](https://broadrouter.com/llm-api-pricing/compare/grok-4.7-vs-grok-4.5/) · [Claude Sonnet 5.5 vs Gemini 4 Hydrogen](https://broadrouter.com/llm-api-pricing/compare/claude-sonnet-5.5-vs-gemini-4-hydrogen/) · [GPT-6.1 Terra vs Gemini 4 Hydrogen](https://broadrouter.com/llm-api-pricing/compare/gpt-6.1-terra-vs-gemini-4-hydrogen/) · [every Grok 4.7 comparison](https://broadrouter.com/llm-api-pricing/compare/#m-grok-4.7) · [every Gemini 4 Hydrogen comparison](https://broadrouter.com/llm-api-pricing/compare/#m-gemini-4-hydrogen) · [all 662 price comparisons](https://broadrouter.com/llm-api-pricing/compare/)

## Questions

### Is Grok 4.7 cheaper than Gemini 4 Hydrogen?

Not on price: on a blend of 3 input tokens to 1 output token they tie at USD 3 per 1M tokens. For input alone, Gemini 4 Hydrogen is cheaper (USD 1.50 against USD 2 per 1M); for output alone, Grok 4.7 is (USD 6 against USD 7.50). This compares price only, not quality.

### What do Grok 4.7 and Gemini 4 Hydrogen cost per 1M tokens?

Grok 4.7: from USD 2 input and USD 6 output at xAI and 4 others; xAI's own API charges USD 2 / USD 6; median of 6 standard prices USD 2 / USD 6. Gemini 4 Hydrogen: from USD 1.50 input and USD 7.50 output at Google Gemini API and 2 others; Google Gemini API's own API charges USD 1.50 / USD 7.50; median of 3 standard prices USD 1.50 / USD 7.50. Each price is read from the provider's own pricing page; the source is linked in the table.

### Which providers sell both Grok 4.7 and Gemini 4 Hydrogen?

2 providers have a standard price for both: Google Vertex AI (USD 3 and USD 3 at 3:1), Perplexity (USD 3 and USD 3 at 3:1). The first 2 tie for the lowest combined price. Buying each model from its own cheapest provider costs USD 3 and USD 3.

### Which is cheaper for a coding agent or a chatbot, Grok 4.7 or Gemini 4 Hydrogen?

For a coding agent (1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning): USD 1,845 a month on Grok 4.7 (xAI) against USD 1,195 on Gemini 4 Hydrogen (Google Gemini API), a difference of USD 650.25. For a support chatbot (2,000 requests a day, 1,500 input tokens (60% cached), 300 output): USD 207.00 a month on Grok 4.7 (xAI) against USD 193.05 on Gemini 4 Hydrogen (Google Gemini API), a difference of USD 13.95. Each uses the cheapest standard price for that workload, cached input included. [Try your own numbers](https://broadrouter.com/tools/llm-api-cost-calculator/?model=grok-4.7,gemini-4-hydrogen).

### At what input:output ratio does the cheaper of Grok 4.7 and Gemini 4 Hydrogen change?

The cheaper model changes with the mix: below 3 input tokens per output token, Grok 4.7 is cheaper; above 3, Gemini 4 Hydrogen is cheaper. At exactly 3:1 they cost the same. More input per output token, as with retrieval or agents that resend long contexts, favours the lower input price; long answers favour the lower output price.

### Do Grok 4.7 and Gemini 4 Hydrogen have cached input pricing?

Grok 4.7 from USD 0.50 per 1M cached input tokens (xAI; 6 of 6 standard prices list a discount). Gemini 4 Hydrogen from USD 0.075 per 1M cached input tokens (Google Gemini API; 3 of 3 standard prices list a discount). Cached tokens are billed at the input price where no cache price is published.

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-compare-grok-4.7-vs-gemini-4-hydrogen&utm_content=page-cta) ·

**Sources**

-   [xAI: own API pricing (checked 2026-11-14)](https://docs.x.ai/developers/pricing)
-   [GMI Cloud: pricing (checked 2026-11-15)](https://console.gmicloud.ai/model/llm/grok-4-7/eb95a9d7-b568-4813-a0e3-dd88f82aed6d)
-   [Google Vertex AI: pricing (checked 2026-11-14)](https://cloud.google.com/model-garden/partner-models/pricing)
-   [Microsoft Azure: pricing (checked 2026-11-14)](https://azure.microsoft.com/en-us/pricing/details/ai-foundry-models/grok/)
-   [Perplexity: pricing (checked 2026-11-15)](https://docs.perplexity.ai/docs/agent-api/models)
-   [Google Gemini API: own API pricing (checked 2026-11-14)](https://aistudio.google.com/docs/pricing#gemini-4-hydrogen)
-   [Google Vertex AI: pricing (checked 2026-11-14)](https://cloud.google.com/model-garden/pricing)
