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.
xAI · Language model
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.
Prompt lab
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 }
A 900-line Python module handles parsing, validation, database writes and email notifications for orders, all in one class. Plan a refactor into separate pieces as a list of small steps. Each step must leave the tests passing, and for each say what to check before moving on.
You can call search_assets(query), generate_image(prompt, size) and upscale(asset_id). A user wants four square product shots of a ceramic mug on different backgrounds, reusing an existing mug photo if there is one. Write the tool calls you would make in order, with arguments, and what you would do if the search returns nothing.
Using only the text below, answer: what changes for existing customers, and when? Quote the sentences you rely on and say not stated for anything missing. Text: From 1 November, new accounts include two seats by default. Existing accounts keep their current seats. Extra seats will be billed monthly instead of yearly from the next renewal.
Why this model
Coding strength at a rate below the flagships.
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.
It handles agent loops and structured tool use well, returning arguments in the shape a workflow step expects.
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
Editorial ratings against the other text models on Avalava today.
4/5
Strong on code and plans; weaker on recalled facts.
4/5
Among the better coders here, below the top flagships.
3/5
Direct, but states wrong facts with confidence too often.
4/5
Clean, structured tool calls in agent loops.
3.5/5
Quicker than the flagships, slower than Grok 4.3.
4/5
Coding quality near the flagships at a much lower output rate.
Редакционные оценки Avalava, а не результаты бенчмарков.
Verdict
Model family
xAI's recent models, from the one Grok 4.3 replaced to Grok 4.5.
The release Grok 4.3 replaced; not available on Avalava.
xAI's model for coding, agent tasks and knowledge work, with a 500K shared window.
Use cases
Code and agent work with a clear right answer.
Paste the code and the error and get the reason, the fix and a short note on the rule the code broke.
Describe a module that has grown messy and get an ordered plan of small, safe changes with a check after each.
Use it in a workflow agent step that calls tools repeatedly and has to keep its arguments and results consistent.
Compare models
How it compares with the closest text models on Avalava.
| Capability | Grok 4.5 | Grok 4.3 | Grok 4.7 |
|---|---|---|---|
| Best for | Coding, refactors and agent loops with structured tool calls | Long summaries, routine drafts and cheap agent steps | Agentic coding, terminal work and long knowledge-work tasks |
| Reasoning depth | Strong on code and plans; weaker on factual recall | Moderate; fine for routine tasks, not the hardest problems | The deepest Grok yet; below the top Claude and GPT-6 models |
| Speed and cost | Moderate rate with a low output price for its class | Fast output and a very low output rate | Moderate rate with a low output price; long replies slow it down |
| Working style | Direct and confident; ground it in sources for factual work | Quick and plain; keeps to a routine without fuss | Thorough and long-winded; checks its work, benefits from length limits |
| Input tokens | 500K | 1M | 500K |
| Output tokens | Shared with input | Shared with input | Shared with input |
How it works
Pick it for code, ground it for facts.
Select Grok 4.5 in the Assistant's model picker, or open it from this page.
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.
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
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
Актуальная ставка по текущему прайсу. Каждое сообщение оплачивается за фактически прочитанные и написанные токены.
1M output tokens
Актуальная ставка по текущему прайсу. Каждое сообщение оплачивается за фактически прочитанные и написанные токены.
Questions
Keep exploring
Grok 4.3
Мультимодальная модель с рассуждениями: понимает текст и изображения и надёжно вызывает инструменты.
Grok 4.7
Флагманская модель с рассуждениями: пишет код, работает с инструментами в агентных сценариях и помогает с аналитическими и рабочими задачами.
Grok 4.6
Хорошо рассуждает: помогает писать код, работать с документами и аналитикой, решать задачи по математике, физике и другим точным наукам.
Open the Assistant with Grok 4.5 selected and include the code around the error.