Grok 4.6 and the New Scaling Lever: Post-Training Inside Agentic Environments

·11 min read·Evergreen Tools Team

SpaceXAI released Grok 4.6 on August 12, 2026: no new base model, no new architecture, just a longer post-training run, regenerated SFT trajectories, and reinforcement learning inside agentic environments. It scores 61 on the Artificial Analysis Intelligence Index, ties GPT-5.6 Sol Max, and costs $2/$6 per million tokens. Here is how to run the same trajectory loop on your own production traffic and gate autonomy to measured capability.

Abstract AI neural network

Post-training is the lever

1. What Actually Changed in Grok 4.6

Grok 4.6 keeps the Grok 4.5 base and buys its gains with post-training. SpaceXAI used curated model-generated data for reasoning and technical concepts, an improved optimizer, and supervised fine-tuning trajectories regenerated by Grok 4.5 across reasoning-effort levels, agent harnesses, and domains such as STEM, software engineering, and knowledge work, with problematic traces filtered out by model-based checks. Reinforcement learning then ran inside agentic environments spanning knowledge work, general coding, web development, computer-aided design, and kernel optimization. The context window is 500,000 tokens, and a new xhigh reasoning-effort level sits above the ladder Grok 4.5 shipped with. The list price is unchanged from 4.5: $2 per million input tokens and $6 per million output tokens, with a 2x fast variant at $4 and $12. Notice the pattern: the lever is not architecture, it is trajectory quality at scale.

# Route by capability, not by brand. Grok 4.6 is strong on knowledge
# work and iterative coding, weaker on autonomous shell execution.
models:
  knowledge_work:
    provider: spacexai
    model: grok-4-6
    context_tokens: 500000
    reasoning_effort: high        # xhigh costs more; opt in per task
    price_in_per_mtok: 2
    price_out_per_mtok: 6
  shell_execution:
    provider: anthropic
    model: claude-opus-5          # only where an eval has passed
  fast_edits:
    provider: spacexai
    model: grok-4-6-fast          # 2x price, lower latency

2. Why Agentic Post-Training Is the New Lever

For years the default answer to make a model better was to make it bigger. Grok 4.6 is a clean counter-example: a company explicitly did not grow the base model and still moved five index points into the top tier. What it grew instead was the quality and the shape of the data the model trains on, generated by a strong version of the model itself, filtered by another model, then sharpened on multi-step tool-using tasks. For engineering teams this matters because the same recipe is available at a much smaller scale. Every production agent produces trajectories: tool calls, arguments, retries, failures, and the human corrections that follow. Those trajectories are training data. Teams that capture and filter them are running the same loop SpaceXAI ran, just on their own distribution, which is the only distribution that reflects their actual product.

import json, time
from pathlib import Path

TRACE = Path("data/trajectories.jsonl")

def record(step: dict) -> None:
    """Append one agent step to a typed, filterable trajectory log."""
    row = {
        "ts": time.time(),
        "model": step["model"],
        "step": step["index"],
        "kind": step["kind"],            # plan | tool_call | tool_result
        "tool": step.get("tool"),
        "args": step.get("args"),
        "result_digest": step.get("digest"),
        "duration_ms": step.get("duration_ms"),
        "succeeded": step.get("ok", True),
    }
    with TRACE.open("a") as f:
        f.write(json.dumps(row, separators=(",", ":")) + "\n")

3. Benchmark Reality: Strong, Not Uniform

Grok 4.6 scores 61 on the Artificial Analysis Intelligence Index, five points above Grok 4.5 and tied with GPT-5.6 Sol Max, while Anthropic's Claude Opus 5 and Fable 5 land higher. That headline hides real asymmetry. Independent write-ups flag gaps on Terminal-Bench and DeepSWE relative to GPT-5.6 Sol, plus elevated hallucination rates on some tasks. The practical read is narrow and specific: Grok 4.6 is a strong choice for iterative, human-in-the-loop coding and knowledge-heavy work, and a riskier choice for fully autonomous shell execution or long unsupervised engineering runs until a point release closes those gaps. Price does not settle capability questions. Two dollars and six dollars per million tokens is remarkable, but a cheap wrong action inside an unsupervised loop is still the most expensive thing in your stack.

BAD_MARKERS = [
    "ignore previous instructions",
    "escalate privileges",
    "disable sandbox",
]

def is_clean(trajectory: list) -> bool:
    """Model-based filtering: drop traces that taught the wrong lesson."""
    for step in trajectory:
        blob = json.dumps(step).lower()
        if any(m in blob for m in BAD_MARKERS):
            return False
        if step.get("kind") == "tool_call" and not step.get("ok", True):
            # Failed calls are only useful if a retry then succeeded.
            if not step.get("retried_ok"):
                return False
    return True

def export_sft(rows, out_path):
    kept = [r for r in rows if is_clean(r["steps"])]
    print("kept", len(kept), "of", len(rows))

4. Building Your Own Agentic Eval Loop

You do not need a training cluster to benefit from the Grok 4.6 playbook. You need trajectories, a scorer, and a filter. Code sample 2 records every step of an agent run in a structured schema, so the trace is usable as data rather than as a debugging artifact you read once and discard. Code sample 3 applies model-based checks to drop problematic traces before they poison a fine-tune, which is exactly the step SpaceXAI described. Code sample 4 turns the same traces into a capability write-up per benchmark family, so you can see where a model or your harness is genuinely weak instead of trusting a single aggregate score. The loop is: capture, filter, score, then either fine-tune or re-gate autonomy. Capture is the step everyone skips, and it is the only one that cannot be reconstructed later.

CAPABILITIES = ["file_read", "test_run", "branch_push", "shell_exec"]

def score(run_results):
    scores = {c: {"pass": 0, "total": 0} for c in CAPABILITIES}
    for r in run_results:
        bucket = scores[r["capability"]]
        bucket["total"] += 1
        bucket["pass"] += 1 if r["passed"] else 0
    # One aggregate number hides the asymmetry that decides autonomy.
    return {c: round(v["pass"] / max(v["total"], 1), 3)
            for c, v in scores.items()}

5. Gate Autonomy to Measured Capability

The most valuable output of Grok 4.6 is a design principle: capability should buy autonomy, and autonomy should be granted per capability, not per model. Code sample 5 encodes exactly that. Reading files and running tests are low-risk; pushing to a branch or executing arbitrary shell commands are not. Because Grok 4.6 is uneven across precisely those axes, a single is-this-model-good switch is the wrong control. Use per-skill gates that require a passing eval on that specific skill before an agent earns unsupervised rights to it. Code sample 1 routes long-running knowledge work to Grok 4.6 and keeps shell-heavy work on a model that has earned that specific permission. This mirrors the vendor's own choice when it shipped xhigh as an explicit, more expensive effort tier: power is opt-in, and it is measurable.

autonomy_gate:
  policy: per-capability
  thresholds:
    file_read:     0.95
    test_run:      0.90
    branch_push:   0.98
    shell_exec:    0.995     # Grok 4.6 is uneven here; keep it gated
  on_fail: require_human_approval
  review_every_days: 7

6. What to Do This Week

Three concrete moves. First, add trajectory capture to one production agent with a typed schema, if you have not already; without it, every other step is guesswork. Second, run a capability-sliced eval instead of one aggregate score, and write down which tasks your agent is allowed to do unsupervised today. Third, price the alternatives honestly: Grok 4.6 at $2 and $6 per million tokens, reachable in Cursor, Grok Build, the API, OpenRouter, Vercel, and Cloudflare, and on Amazon Bedrock, GitHub Copilot, Gemini Enterprise Agent Platform, and Microsoft Foundry, is a genuine cost lever, but only where it is strong. Post-training inside agentic environments is the 2026 scaling story. Conveniently, it is also a loop that any team with production traffic can run without a single new GPU.

Chip close-up

Foundation held constant

Code on screen

Capture trajectories as data

📌 Frequently Asked Questions

What is Grok 4.6?

A model SpaceXAI released on August 12, 2026. It builds on Grok 4.5 with a particular focus on long-running agents and more ambitious interactive and visual work.

Is it a new base model?

No. SpaceXAI held the Grok 4.5 foundation constant and spent the improvement on post-training: a longer supplemental training run, regenerated SFT trajectories, and reinforcement learning in agentic environments. No new architecture or parameter count was published.

How much does it cost?

$2 per million input tokens and $6 per million output tokens, the same list price as Grok 4.5. A 2x fast variant costs $4 and $12 per million tokens.

How good is it, really?

It scores 61 on the Artificial Analysis Intelligence Index, five points above Grok 4.5 and tied with GPT-5.6 Sol Max, behind Claude Opus 5 and Fable 5. Coverage also flags gaps on Terminal-Bench and DeepSWE and elevated hallucination on some tasks.

Where can I run it?

In Cursor and Grok Build, through the SpaceXAI API, OpenRouter, Vercel, and Cloudflare, and on Amazon Bedrock, GitHub Copilot, Gemini Enterprise Agent Platform, and Microsoft Foundry.