Providers / Merge Gateway · All access methods for xai/grok-4.5
Grok 4.5
merge-gateway/xai/grok-4.5 API key
models.dev2026-11-17
Type chat · Released 2026-07-08
Input window
500,000 tokensdocumented
models.dev · 2026-11-17
Input and output together
Context window
500,000 tokens
Exposed by this provider
Maximum output
500,000 tokens
Per response; not a default
Cache lifetime, short
Unknown
Not documented or measured
Cache lifetime, long
Unknown
Not documented or measured
Limits
Input window
| Limit | Value | Source |
|---|---|---|
Input windowinput_window: the most input one request can carry on this entry, in tokens as the provider counts them. | 500,000 tokensdocumentedInput and output together | models.dev2026-11-17 |
| Documented The figure the source documents, and the field it is in. | 500,000 tokenslimit.context | models.dev2026-11-17 |
| Measured What each limit evaluation that counts gives, one line per evaluation. | Not measured | – |
How the input window is worked out, and what it does not say
Documented
| Limit | Value | Source |
|---|---|---|
Context windowlimit.context: what this provider accepts for the model, input and output together. | 500,000 tokens | models.dev |
Largest inputlimit.input: stated where the input limit is lower than the context window. | Unknown | – |
Maximum outputlimit.output: the most one response can hold. A maximum, not what you get by default. | 500,000 tokens | models.dev |
Measured tokens
| Date | Measured through | Context | Input accepted | Input refused | Output limit | Requested output accepted | Evidence |
|---|---|---|---|---|---|---|---|
| No limits were measured on this entry. | |||||||
Price
| Base charge | Rate |
|---|---|
| Input | $2 / 1M tokens |
| Output | $6 / 1M tokens |
| Reasoning output | Unknown |
| Cache read | $0.50 / 1M tokens |
| Cache write | Unknown |
Conditional rates
| Condition | Charge | Rate | Applies to |
|---|---|---|---|
| No conditional rates recorded. | |||
Source: models.dev 2026-11-17
Other prices in the source, not shown above (0)
None
Request controls
| Control | Support | Request field | Accepted values | Default | Conditions |
|---|---|---|---|---|---|
| Service tier | Unknown | Unknown | Unknown | Unknown | Unknown |
Source: Unknown
Prompt caching
Lifetimes
| Lifetime | Documented for, or measured through | Time since the prompt was cached · served from the cache, in percent, with hits/checks | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| At once | 2.5 min | 5 min | 7.5 min | 10 min | 15 min | 20 min | 25 min | 30 min | 40 min | 50 min | 1 h | 1 h 15 | 1 h 30 | 2 h | 4 h | 8 h | 12 h | 24 h | ||
| Short retention |
| |||||||||||||||||||
| Long retention |
| |||||||||||||||||||
Checks served from the cache, in percent and as hits/checks, by time since the prompt was cached100 All67 Half or more33 Fewer0 None· Not checked at that ageMethodology
Cache modes
| Mode | Supported | Min. tokens | Breakpoints | Targets |
|---|---|---|---|---|
| Automatic implicit | Supported | Unknown | Not applicable | Not applicable |
| Manual explicit | Unknown | Unknown | Unknown | Unknown |
Source: models.dev · Cache modes
Retention
| Control | Support | Request field | Accepted values | Default | Conditions |
|---|---|---|---|---|---|
| Cache retention | Unknown | Unknown | Unknown | Unknown | Unknown |
Source: Unknown
Provenance
| Provenance | Value |
|---|---|
| Source | models.dev2026-11-17 |
| Inherited from | None |
| Corrections | None |
| Evidence | None |
Data
GET /api/v1/entries/merge-gateway/xai/grok-4.5
Show the full entry as published
{
"id": "xai/grok-4.5",
"name": "Grok 4.5",
"description": "xAI's Grok model for chat, coding, agentic tools, and lower hallucination risk",
"type": "chat",
"family": "grok",
"canonical_id": "xai/grok-4.5",
"release_date": "2026-07-08",
"limit": {
"context": 500000,
"output": 500000
},
"capabilities": {
"cache": {
"implicit": true
},
"temperature": true,
"top_k": true,
"top_p": true,
"structured_output": true,
"system_updates": false,
"effort_updates": false,
"tools": {
"supported": true
},
"reasoning": {
"supported": true,
"effort": [
"low",
"medium",
"high"
]
}
},
"cost": {
"text": {
"input": {
"price": 2,
"cache": {
"read": 0.5
}
},
"output": {
"price": 6
}
}
},
"modalities": {
"input": [
"text",
"image/jpeg",
"image/png"
],
"output": [
"text"
]
},
"api": {
"chat-completions": {
"base_url": "https://api-gateway.merge.dev/v1/ai-sdk",
"sdk": {
"aisdk": "merge-gateway-ai-sdk-provider"
},
"capabilities": {
"tools": {
"updates": []
}
}
}
},
"open_weights": false,
"last_updated": "2026-07-08",
"providers_dev": {
"origin": "upstream",
"access": "api",
"provenance": [],
"inherited": null,
"cache": {
"documented": {
"support": "supported",
"modes": {
"implicit": {
"support": "supported",
"min_tokens": null,
"max_breakpoints": null,
"targets": null
},
"explicit": {
"support": "unknown",
"min_tokens": null,
"max_breakpoints": null,
"targets": null
}
}
},
"retention": {
"support": "unknown",
"parameter": null,
"accepted_values": null,
"default": null,
"profiles": [],
"conditions": [],
"evidence": []
},
"lifetime": {
"short": {
"safe_s": null,
"basis": "none",
"source": null,
"date": null,
"documented_s": null,
"measured_s": null,
"documented_status": null,
"clients": 0,
"evaluations": 0,
"checks": 0,
"hits": 0,
"checks_inside": null,
"hits_inside": null,
"tested_from_s": null,
"first_miss_s": null
},
"long": {
"safe_s": null,
"basis": "none",
"source": null,
"date": null,
"documented_s": null,
"measured_s": null,
"documented_status": null,
"clients": 0,
"evaluations": 0,
"checks": 0,
"hits": 0,
"checks_inside": null,
"hits_inside": null,
"tested_from_s": null,
"first_miss_s": null
},
"lifetimes": []
},
"evaluations": []
},
"pricing": {
"coverage": "partial",
"billing": "per_use",
"reference_ref": null,
"rules": [
{
"id": "cost.text.input.price",
"when": null,
"meter": "text.input",
"operation": "set",
"amount": 2,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.price",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.input.cache.read",
"when": null,
"meter": "text.cache_read",
"operation": "set",
"amount": 0.5,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.cache.read",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.output.price",
"when": null,
"meter": "text.output",
"operation": "set",
"amount": 6,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.output.price",
"period": null,
"resulting_rates": null
}
],
"rule_order": "listed",
"unparsed": [],
"evidence": [
{
"kind": "documented",
"url": "https://models.dev",
"date": "2026-11-17",
"note": "The cost models.dev records for this entry. Rules are in the order models.dev applies them: base prices, overrides in their order, then multipliers."
}
]
},
"request_controls": {
"coverage": "unknown",
"items": [
{
"id": "cache.retention",
"support": "unknown",
"when": null,
"bindings": null,
"options": null,
"default": null,
"conditions": [],
"evidence": []
},
{
"id": "service_tier",
"support": "unknown",
"when": null,
"bindings": null,
"options": null,
"default": null,
"conditions": [],
"evidence": []
}
]
},
"limits": {
"measured": [],
"from_measurement": [],
"input_window": {
"tokens": 500000,
"basis": "documented",
"bound": "limit",
"scope": "window",
"source": "models.dev",
"date": "2026-11-17",
"documented_tokens": 500000,
"documented_field": "limit.context",
"documented_source": "models.dev",
"documented_date": "2026-11-17",
"documented_status": null,
"measured_tokens": null,
"measured_bound": null,
"measured_kind": null,
"measured_refused": null,
"measured_date": null,
"clients": 0,
"evaluations": 0,
"measurements": []
}
},
"evidence": [],
"verified": null
}
}