# Grok 4.7 (xAI) — API pricing and providers

> Agents & knowledge work. Model id `xai/grok-4.7`. Text model by xAI.

- Page: https://infro.io/models/xai/grok-4.7
- Vendor: xAI (https://infro.io/models/xai)
- Modality: Text
- Endpoint through INFRO: `POST /v1/chat/completions` at https://api.infro.io/v1
- List rate: $2.00 per 1M input tokens and $6.00 per 1M output tokens, with cached input at $0.50 per 1M tokens
- Rates checked: 2026-10-05

Rates are xAI's published list price: what the customer's own provider account bills, not an INFRO charge. INFRO is a BYOK control plane; it charges a software subscription and adds 0% to model spend.

## Providers that serve it

| Provider | Model id sent |
| --- | --- |
| AWS Bedrock | `global.xai.grok-4.7` |
| xAI | `grok-4.7` |
| OpenRouter | `x-ai/grok-4.7` |
| KIE | `grok-4-7` |
| LaoZhang API | `grok-4.7` |

## Questions

### How much does the Grok 4.7 API cost?

xAI's published list rate for Grok 4.7 is $2.00 per 1M input tokens and $6.00 per 1M output tokens, with cached input at $0.50 per 1M tokens (checked 2026-10-05). The provider account you connect bills you at the rate on that account, so a negotiated rate replaces the list rate. INFRO adds 0% to model spend.

### Which providers serve Grok 4.7?

In INFRO's provider registry, Grok 4.7 can be served by AWS Bedrock, xAI, OpenRouter, KIE and LaoZhang API. You connect your own account with any of them, and INFRO routes and fails over between the ones you connect.

### What is the Grok 4.7 model ID?

Request it from INFRO as "xai/grok-4.7". INFRO sends each provider its own id: AWS Bedrock "global.xai.grok-4.7", xAI "grok-4.7", OpenRouter "x-ai/grok-4.7", KIE "grok-4-7", LaoZhang API "grok-4.7".

### How do I call Grok 4.7 through an OpenAI-compatible API?

Point an OpenAI SDK, or any HTTP client, at https://api.infro.io/v1 with an INFRO gateway key and send model "xai/grok-4.7" to POST /v1/chat/completions. INFRO runs the request on a provider account you connected and returns the provider's response with an estimated cost.

### Does INFRO mark up Grok 4.7 usage?

No. xAI or the provider you connect bills model usage to your own account. INFRO charges a software subscription for routing, failover, observability, budgets and policy, and takes 0% of model spend.
