# Grok 4.5

LivexAI

`grok-4-5`

Grok 4.5 by xAI: 500K context, 131K max output, with Vision, File input, Function calling, Structured output, Streaming, Reasoning, Code execution, Web search. On Hostlinku: Performance starts at $0.93/1M input.

[Get started](https://hostlinku.com/register)[Try in Playground](https://hostlinku.com/dashboard/playground?model=grok-4-5)

Input

0.93

/ 1M token

$2original

Output

2.79

/ 1M token

$6original

Cache read

per 1M token

$0.1395

$0.30

Cache write (5m)

per 1M token

$1.16

$2.50

Cache write (1h)

per 1M token

$1.86

Web search

per 1K calls

$0.93

[Get started](https://hostlinku.com/register)

Context window

500.0K

500,000 tokens

Max output

131.1K

131,072 tokens

7-day uptime

99.90%

0 requests · 0 failed

Measured throughput

—

Real traffic, last 7 days · output side

## Capabilities

What this model can do through the Hostlinku gateway.

7 of 15 supported

Vision

Reads images, screenshots, and diagrams alongside text. Send image inputs directly in the messages payload.

Function calling

The model calls tools you define and folds their results into the reply. Required for agentic workflows and multi-step automation.

Reasoning

Spends extra thinking tokens on hard problems before answering. Best for math, code, and multi-step logic.

Prompt caching

Not supported

Response schema

Guarantees JSON output that matches a schema you provide. No brittle post-parsing on your side.

Streaming

Streams tokens as they are generated for real-time UX. Supported on every Hostlinku protocol.

Web search

Runs server-side web searches and folds the results into the answer. Billed per 1K calls.

Audio

Not supported

Video

Not supported

File input

Accepts documents such as PDFs and spreadsheets as context. Great for Q&A over long attachments.

Realtime

Not supported

Session

Not supported

Media

Not supported

Multipart form

Not supported

Binary response

Not supported

## Reliability & performance

Hostlinku measures this model from real request traffic: uptime and latency, not self-reported.

Last request: —

99.90%

0 requests in 7 days, 0 failed · automatic failover to backup channels

Uptime

Bar height = end-to-end latency.okfailed

Latest latency\-

Avg of last 60\-

P95 of last 60\-

Output throughput—

ProtocolsAnthropic Messages (adapted) · OpenAI Responses (adapted)

Latency and uptime are measured from real request traffic over the last 7 days; throughput from user output.

## Protocols & code samples

Swap the base URL and everything else stays the same. Native protocols pass through; adapted protocols are translated by the Hostlinku gateway.

[Claude Code setup guide](https://docs.hostlinku.com/getting-started)

terminal

```
curl https://api.hostlinku.com/v1/messages \
  -H "x-api-key: $HOSTLINKU_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "content-type: application/json" \
  -d '{
    "model": "grok-4-5",
    "max_tokens": 1024,
    "messages": [
      { "role": "user", "content": "Explain edge failover in one paragraph." }
    ]
  }'
```

## Full price list

Every billed dimension, with the vendor list price (struck through when higher) next to the $ price per Service Mode.

| Item | Unit | Original ($) | Performance$ |
| --- | --- | --- | --- |
| Input (prompt) | per 1M tokens | $2 | $0.93 |
| Output (completion) | per 1M tokens | $6 | $2.79 |
| Cache read | per 1M tokens | $0.30 | $0.1395 |
| Cache write (5m) | per 1M tokens | $2.50 | $1.16 |

Vendor list price is struck through when at least one Service Mode is cheaper. Dimensions without strikethrough (e.g. web search) are not discounted upstream. This model is not yet available in Economy.

## More from xAI

Other models from the same vendor, with prices and context for comparison.

[All models](https://hostlinku.com/en/models)

[Grok 4.6](https://hostlinku.com/en/models/grok-4-6)

xAI

$0.93 / 1M token input · 500.0K ctx · 131K max out

[View model →](https://hostlinku.com/en/models/grok-4-6)[Compare](https://hostlinku.com/en/models?compare=grok-4-5,grok-4-6)

[Grok 4.7](https://hostlinku.com/en/models/grok-4-7)

xAI

$0.93 / 1M token input · 500.0K ctx · 131K max out

[View model →](https://hostlinku.com/en/models/grok-4-7)[Compare](https://hostlinku.com/en/models?compare=grok-4-5,grok-4-7)

[Grok 4.5 vs Grok 4.6](https://hostlinku.com/en/models?compare=grok-4-5,grok-4-6)[Grok 4.5 vs Grok 4.7](https://hostlinku.com/en/models?compare=grok-4-5,grok-4-7)

## FAQ

Common questions about Grok 4.5: pricing, capabilities, and how they are measured.

Input

0.93

/ 1M token

$2original

Output

2.79

/ 1M token

$6original

Cache read

per 1M token

$0.1395

$0.30

Cache write (5m)

per 1M token

$1.16

$2.50

Cache write (1h)

per 1M token

$1.86

Web search

per 1K calls

$0.93

[Get started](https://hostlinku.com/register)

xAI

## Start using Grok 4.5 today

Integrate Grok 4.5 into your app with clear documentation, official SDKs, and transparent per-token USD pricing.

[Start for free](https://hostlinku.com/register)[Try in Playground](https://hostlinku.com/dashboard/playground?model=grok-4-5)

## FAQ

### How much does Grok 4.5 cost at Hostlinku?

Vendor list price is $2 input / $6 output per 1M tokens. At Hostlinku: Performance: $0.93 / $2.79. Billing is in USD, charged per token with no subscription.

### What is Grok 4.5's context window?

500,000 tokens in, up to 131,072 tokens out. Long prompts are metered per token, including cached prefixes.

### Does Grok 4.5 support function calling?

Yes. Define tools in your request and the model calls them on every Hostlinku protocol.

### How do I use Grok 4.5 with Claude Code?

Point Claude Code at Hostlinku: set ANTHROPIC_BASE_URL to https://api.hostlinku.com, use your Hostlinku API key as ANTHROPIC_AUTH_TOKEN, and set ANTHROPIC_MODEL to "grok-4-5".

### How is the uptime on this page measured?

Hostlinku measures real request traffic through the supply chain. Every request is recorded, so the uptime, latency, and throughput you see are measured, not self-reported.
