# xAI: grok-4.7

- Model ID: `grok-4.7`
- Provider: xAI
- Web version: https://www.moleapi.com/en/models/xai/grok-4.7
- Content status: catalog

## Model introduction

grok-4.7 is a xAI model available through MoleAPI with openai access. It fits OpenAI compatible, Prompt cache workflows, with pricing synced from the MoleAPI console.

## Model capabilities

- OpenAI compatible
- Prompt cache

### Verified specifications

- Catalog status: Currently available on MoleAPI
- Compatible protocols: openai
- Available billing groups: Standard, Discount, Relay

## Model pricing and access

Pricing is supplied dynamically by the MoleAPI console API.

### Standard (default, x1)

| Tier | Condition | Input | Output | Cache read |
| --- | --- | ---: | ---: | ---: |
| base | - | $2 | $6 | $0.5 |

### Discount (discount, x0.8)

| Tier | Condition | Input | Output | Cache read |
| --- | --- | ---: | ---: | ---: |
| base | - | $1.6 | $4.8 | $0.4 |

### Relay (relay, x0.3)

| Tier | Condition | Input | Output | Cache read |
| --- | --- | ---: | ---: | ---: |
| base | - | $0.6 | $1.8 | $0.15 |

### Access protocols

| Protocol | Method | Endpoint |
| --- | --- | --- |
| openai | POST | /v1/chat/completions |

- Live pricing source: https://home.moleapi.com/api/pricing

## About grok-4.7

grok-4.7 is a xAI model available through MoleAPI with openai access. It fits OpenAI compatible, Prompt cache workflows, with pricing synced from the MoleAPI console.

### Sources

- [MoleAPI console pricing catalog](https://home.moleapi.com/api/pricing) — MoleAPI

## Code examples

### cURL

```bash
curl https://api.moleapi.com/v1/chat/completions \
  -H "Authorization: Bearer $MOLEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"grok-4.7","messages":[{"role":"user","content":"Hello"}]}'
```

## More related models

- [grok-4.6](https://www.moleapi.com/en/models/xai/grok-4.6) — xAI
- [grok-4.5](https://www.moleapi.com/en/models/xai/grok-4.5) — xAI
- [grok-4.3](https://www.moleapi.com/en/models/xai/grok-4.3) — xAI
- [gpt-5.4-nano](https://www.moleapi.com/en/models/openai/gpt-5.4-nano) — OpenAI
- [gpt-5.6-luna](https://www.moleapi.com/en/models/openai/gpt-5.6-luna) — OpenAI
- [gpt-5-mini](https://www.moleapi.com/en/models/openai/gpt-5-mini) — OpenAI

## Frequently asked questions

### How is grok-4.7 priced?

Prices are read from the MoleAPI console API and update with model prices, context tiers, and account groups.

### How can I access grok-4.7?

The catalog currently lists openai.

### How do I switch an existing project to grok-4.7?

Keep the MoleAPI API address and key, replace the model parameter, and check protocol-specific parameters.

### Where do the grok-4.7 details come from?

Only confirmed availability, pricing, and protocol details from the MoleAPI catalog are included.
