Перейти к основному содержимому
Grok 4.5 representative artwork

xAI · Language model

Grok 4.5 for coding and agent loops at a moderate rate

Grok 4.5 is xAI's July 2026 model for coding, agent tasks and knowledge work, with structured tool calls and a low output rate for its class. Use it in the Avalava Assistant, in workflow LLM and agent steps, or through the API, in a 500K-token window shared by prompt and reply.

Input tokens
500K
The most text and images it reads in one request
Output tokens
Shared
Replies draw on the same 500K-token window as the input
Reads
Text + images
Attach images in the Assistant or pass them into a workflow step
Tool use
Built in
Calls Avalava tools in the Assistant and in workflow agent steps

Prompt lab

Code and agent prompts for Grok 4.5

Tasks with a checkable answer, where it is at its best.

This Rust function does not compile. Explain the error in plain terms, give two different fixes, and say which you would choose and why. fn longest(words: &Vec<String>) -> &str { let mut best = String::new(); for w in words { if w.len() > best.len() { best = w.clone(); } } &best }

Попробуйте этот промпт

Why this model

Where Grok 4.5 stands out

Coding strength at a rate below the flagships.

Serious coding without the top rate

Reviewers rate Grok 4.5 among the better coders of its generation, and its output tokens cost far less than the flagship models on Avalava.

Tidy, structured tool calls

It handles agent loops and structured tool use well, returning arguments in the shape a workflow step expects.

One shared 500K window

Prompt and reply share a 500K-token window, so a long refactor and its answer fit in one request. A huge prompt leaves less room for the reply.

Scorecard

Grok 4.5 ratings

Editorial ratings against the other text models on Avalava today.

Grok 4.5
Сравнить с
  1. Reasoning

    4/5

    Strong on code and plans; weaker on recalled facts.

  2. Coding

    4/5

    Among the better coders here, below the top flagships.

  3. Writing

    3/5

    Direct, but states wrong facts with confidence too often.

  4. Tool use

    4/5

    Clean, structured tool calls in agent loops.

  5. Speed

    3.5/5

    Quicker than the flagships, slower than Grok 4.3.

  6. Value

    4/5

    Coding quality near the flagships at a much lower output rate.

Редакционные оценки Avalava, а не результаты бенчмарков.

Verdict

Grok 4.5, frankly

Выбирайте, когда

  • Coding and refactors where you want strong results below the flagship rate
  • Agent loops that depend on clean, structured tool arguments
  • Large codebases or documents that fit in a 500K shared window

Ищите другое, когда

  • Research summaries or factual answers where a confident mistake is expensiveClaude Opus 5
  • Fast, cheap summaries and drafts at volumeGrok 4.3
  • The hardest multi-file debuggingGPT-5.6 Sol

Model family

Recent Grok releases

xAI's recent models, from the one Grok 4.3 replaced to Grok 4.5.

  1. Grok 4.20

    The release Grok 4.3 replaced; not available on Avalava.

  2. Apr 2026

    Grok 4.3

    Repositioned Grok as a fast, low-cost option with a 1M shared window.

  3. Jul 2026Эта модель

    Grok 4.5

    xAI's model for coding, agent tasks and knowledge work, with a 500K shared window.

Use cases

Jobs for Grok 4.5

Code and agent work with a clear right answer.

Compiler and type errors

Paste the code and the error and get the reason, the fix and a short note on the rule the code broke.

Refactor plans

Describe a module that has grown messy and get an ordered plan of small, safe changes with a check after each.

Agent loops in workflows

Use it in a workflow agent step that calls tools repeatedly and has to keep its arguments and results consistent.

Compare models

Grok 4.5 next to its neighbours

How it compares with the closest text models on Avalava.

CapabilityGrok 4.5Grok 4.3Grok 4.7
Best forCoding, refactors and agent loops with structured tool callsLong summaries, routine drafts and cheap agent stepsAgentic coding, terminal work and long knowledge-work tasks
Reasoning depthStrong on code and plans; weaker on factual recallModerate; fine for routine tasks, not the hardest problemsThe deepest Grok yet; below the top Claude and GPT-6 models
Speed and costModerate rate with a low output price for its classFast output and a very low output rateModerate rate with a low output price; long replies slow it down
Working styleDirect and confident; ground it in sources for factual workQuick and plain; keeps to a routine without fussThorough and long-winded; checks its work, benefits from length limits
Input tokens500K1M500K
Output tokensShared with inputShared with inputShared with input

How it works

Using Grok 4.5 well

Pick it for code, ground it for facts.

  1. 01

    Choose Grok 4.5

    Select Grok 4.5 in the Assistant's model picker, or open it from this page.

  2. 02

    Ground the facts

    For anything factual, paste the source and ask it to quote from it. Independent testers found it states wrong facts with confidence more often than its predecessor did.

  3. 03

    Reuse the coding prompt

    Once a code task prompt works, keep it in a workflow LLM or agent step so the same review or fix runs on new code.

What it costs

Grok 4.5 per token

A moderate input rate with an output rate well below the flagships, so long code answers are cheaper here than on most models of similar coding strength.

1M input tokens

400кредитов

Актуальная ставка по текущему прайсу. Каждое сообщение оплачивается за фактически прочитанные и написанные токены.

Открыть в ассистенте

Questions

Grok 4.5 questions

Keep exploring

Paste your compiler error into Grok 4.5

Open the Assistant with Grok 4.5 selected and include the code around the error.

Open in Assistant