# xAI: grok-4.5-latest

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

## Model introduction

Grok 4.5 is xAI's flagship model for code and general tasks, with agentic tool calling and configurable reasoning.

## Model capabilities

- OpenAI compatible
- Prompt cache
- Reasoning

### Verified specifications

- Official positioning: Flagship model for code and general tasks
- Context window: 500,000 tokens
- Verified capabilities: Agentic tool calling; configurable reasoning

## Model pricing and access

Pricing is supplied dynamically by the MoleAPI console API.

### Standard (default, x1)

- Input: $2 / 1M tokens
- Output: $6 / 1M tokens
- Cache read: $0.5 / 1M tokens

### Discount (discount, x0.8)

- Input: $1.6 / 1M tokens
- Output: $4.8 / 1M tokens
- Cache read: $0.4 / 1M tokens

### Relay (relay, x0.3)

- Input: $0.6 / 1M tokens
- Output: $1.8 / 1M tokens
- Cache read: $0.15 / 1M tokens

### Access protocols

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

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

## About grok-4.5-latest

Grok 4.5 is xAI's flagship model for code and general tasks, with agentic tool calling and configurable reasoning.

### Best for

Workflows that combine tool calling with controllable reasoning depth for code and general tasks.

### Core strengths

- Combines coding, general knowledge, and agentic tool calling.
- Configurable reasoning helps tune quality, latency, and cost.
- A 500K context window and image input cover most long-document and vision work.

### Limitations

- High reasoning effort has middle-of-the-pack output speed and added thinking latency.
- Its 500K context is smaller than several current 1M-context flagships.

### Selection and production evaluation

Start a grok-4.5-latest evaluation by mapping its official positioning to real work: Workflows that combine tool calling with controllable reasoning depth for code and general tasks. The first pass should exercise both its main strength, "Combines coding, general knowledge, and agentic tool calling.", and its known limitation, "High reasoning effort has middle-of-the-pack output speed and added thinking latency.", instead of relying on a single subjective general-chat comparison.

For access, MoleAPI currently lists openai protocols and the Standard, Discount, Relay billing groups for this xAI model; the default price summary is Input $2 / 1M tokens · Output $6 / 1M tokens. Pricing, protocols, and groups come from the live catalog, so production planning should still price representative requests using real context length, output size, and cache-hit assumptions.

No independent ranking is shown unless it matches this exact model ID and reasoning profile, so nearby variants are not used as a proxy. Before launch, pin the model ID, prompt, and sample set, then compare task accuracy, structured-output validity, tool-call success, and timeout rates under the same conditions.

The model material on this page was last checked on 2026-07-23. When upstream model cards, context limits, or tool support change, update the cited bilingual facts before changing the recommendation; live MoleAPI price changes remain separate and update from the catalog automatically.

### Sources

- [xAI Grok 4.5 model documentation](https://docs.x.ai/developers/models/grok-4.5) — xAI
- Last verified: 2026-07-23

## 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.5-latest","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-composer-2.5-fast](https://www.moleapi.com/en/models/xai/grok-composer-2.5-fast) — xAI

## Frequently asked questions

### How is grok-4.5-latest 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.5-latest?

The catalog currently lists openai.

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

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

### Where do the grok-4.5-latest details come from?

Capabilities and limitations are checked against xAI and the other cited pages; pricing and protocols come from the MoleAPI console.
