Skip to content

Evaluation and modelsBrief

grok-build-0.1 is retired: find callers, test a replacement

Coding tools and agent loops often keep a model id long after the team forgot about it. This brief shows how to find what still calls grok-build-0.1 from gateway logs, and how to rank replacements by cost per successful task instead of per-token rate.

By INFRO Editorial

Published

4 min read

A single amber path on a dark ground forking into two glass branches of slightly different brightness

In short

Find remaining grok-build-0.1 callers by grouping gateway usage by model, then listing failing runs that name it by workflow, key and agent. Rank replacements by total attempt cost divided by passed tasks, not by per-token rate.

Key takeaways

  • Treat the Nov 19 date and the replacement as things to confirm against xAI's own release notes; the pages read for this brief did not state either.
  • Find stragglers by grouping usage by model, then listing failing runs that name grok-build-0.1 by workflow, key and agent.
  • Cost per successful task is total cost of every attempt, failed ones included, divided by tasks that passed.
  • The old model cannot be re-run, so the baseline must come from scored runs logged before it stopped answering.

What is confirmed and what is not

xAI announced grok-build-0.1 on 29 May 2026 as a coding model in public beta, listed at $1 per million input tokens and $2 per million output tokens at launch.1 That is a beta label, and beta models are the ones that tend to disappear first. The news index I read lists that launch post but no retirement post.2 xAI's API page names grok-4.7, grok-4.6 and grok-4.5 as the text and coding models it serves, and says older models are retired on a published schedule.3

So I could not confirm the 19 November date or an xAI-named successor from those pages. Check xAI's own release notes for both before you write a runbook. Everything below works from your side: your logs tell you who still calls the model, whatever the date turns out to be.

Find the remaining callers

Start with the model dimension. A usage query grouped by model returns requests, error rate and estimated provider cost per bucket, and counts unpriced requests explicitly.4

Shell
curl "https://api.infro.io/v1/usage?granularity=day&group_by=model&from=2026-11-12T00:00:00Z" \
  -H "Authorization: Bearer $INFRO_API_KEY"

If grok-build-0.1 shows requests with a high error rate after the cutoff, something still sends it. Then find who. The runs list accepts a model filter, a workflow filter and has_errors=true, and returns one row per trace id with its models and estimated cost.5

Shell
curl "https://api.infro.io/v1/runs?model=xai/grok-build-0.1&has_errors=true&sort=errors&limit=100" \
  -H "Authorization: Bearer $INFRO_API_KEY"

Use the model id exactly as your own logs show it. Then regroup usage by key, workflow and agent to see whether the caller is a service, a scheduled job or a coding agent on a developer laptop.4 Requests with no trace id belong to no run, so also check the request log for them.

Three places hide stragglers. Agent configs with a pinned model string. Fallback lists that name the model second or third, which only fire on failure and so show up late. And tools that reach xAI through another route: the launch post says the model was also offered via OpenRouter and Vercel AI Gateway,1 so a direct-to-xAI search will miss them.

Pick replacement candidates

Do not choose by per-token rate alone. xAI's API page lists grok-4.7 at $2 input and $6 output per million tokens with a 500k context window, and describes it as its newest flagship for coding and knowledge work.3 At those list rates it costs twice as much per input token and three times as much per output token as grok-build-0.1 did at launch. Whether it costs more per finished task depends on how many retries, tool loops and failed attempts each model needs.

Test two or three candidates: grok-4.7, one other xAI model you already have access to, and one non-xAI coding model you hold a key for. Include a candidate on a different provider so the next retirement does not repeat this. Mind the error surface too: INFRO returns one JSON error shape with a stable type string, so branch on that and not on message text when you log failures during the test.6

Run the cost-per-successful-task test

The metric is total cost of every attempt, failed and retried ones included, divided by tasks that passed your check. A pass check is a test suite going green, a diff applying, or a rubric score above a threshold.

The old model cannot be re-run, so the baseline comes from scored runs logged before it stopped. Build the task set from those logged requests, then run each candidate on the same tasks.

For single-call tasks, an experiment does this inside the gateway: a dataset run across up to six variants, with a dry_run estimate of request count and cost first, and a spend_cap it stops at.7 For multi-step agent tasks, run your own harness, send one trace_id and workflow per task, and read cost per run from the runs list.5

cost_per_success.py
def cost_per_success(attempts):
    # attempts: [{"task": str, "cost": float, "passed": bool}, ...]
    total = sum(a["cost"] for a in attempts)
    passed = {a["task"] for a in attempts if a["passed"]}
    return total / len(passed) if passed else None

Cut over

Move callers in order of failure rate, change the pinned id, and keep a second target on the route so a candidate's own outage does not repeat this one. If INFRO has the retirement recorded for your organization, its model-lifecycle handling warns while you still send the model and, from the shutdown date, refuses it before any provider call and names the replacement. Treat that as a catch for stragglers, not a replacement for the search above. Re-run the usage query a week later and confirm the old id is at zero.

Questions readers ask

Can I still run grok-build-0.1 as the baseline?
Not if it has stopped answering. Build the baseline from requests and scored runs logged while it still worked, and run candidates on the same tasks.
Is grok-4.7 the intended replacement?
The pages read for this brief do not name one. xAI's API page lists grok-4.7 as its newest flagship for coding and knowledge work, so it is a sensible first candidate, not a confirmed successor.

From the team that builds it

Where this shows up in INFRO

INFRO is a control plane in front of the provider accounts you already hold. The capabilities below are the parts of it this article touches, each with the documentation that defines its behaviour.

  • Usage and cost per request

    Available with a plan

    Every request records its model, latency, token or unit counts, and estimated provider cost, queryable by project and key.

    Read the documentation for Usage and cost per request
  • Runs

    Available with a plan

    Requests that share a trace id listed as one run each: requests, errors, duration, models, estimated provider cost, scores and prompt versions, filtered and sorted over a window of up to 31 days. In the API, the console, the management API and MCP, on every plan.

  • Experiments

    Available with a plan

    A dataset run through the gateway across up to six variants (a model or route, a prompt version, settings), judged by your evaluators and compared side by side, with the request count and estimated provider cost shown before it starts and a spend cap it stops at. On every plan.

  • Model retirements

    Available with a plan

    INFRO records each vendor's model deprecations and shutdown dates, warns organizations still sending a retiring model, and from the shutdown date refuses it before any provider call, naming the replacement.

  • Datasets

    Available with a plan

    Inputs and expected outputs built from logged requests in one click, uploaded as JSONL or CSV, or sent from code, kept until you delete them. On every plan.

  • Scores and end-user feedback

    Available with a plan

    Scores on a request or a run from your code, from eval monitors and from members in the console, and feedback from the people reading your answers: each response carries a signed token a browser can send with a thumbs up or down, without an API key. Scores do not count against the request allowance. On every plan.

  • Coding agent sessions and spend per person

    Available with a plan

    Claude Code, Codex and OpenCode recognized from their own headers, with each session and the subagents it starts grouped in the request log; session, tag and agent headers and W3C baggage for any other client; labels on a gateway key added to every request it makes; estimated provider spend per person and per agent.

INFRO accounts are self-serve. Provider usage is billed to you by your providers; INFRO charges a software subscription and takes 0% of model spend. See plans.

Sources

Numbered in order of first citation. Each was opened and checked against the claim on the date shown.

  1. 1.Grok Build 0.1 on API (opens in a new tab) — xAI (SpaceXSI). Accessed Nov 24, 2026.
  2. 2.News: Research, Product & Company Updates (opens in a new tab) — xAI (SpaceXSI). Accessed Nov 24, 2026.
  3. 3.SpaceXSI API: Grok Models, API Keys & Pricing (opens in a new tab) — xAI (SpaceXSI). Accessed Nov 24, 2026.
  4. 4.Usage analytics — Observability (opens in a new tab) — INFRO. Accessed Nov 24, 2026.
  5. 5.Runs — Observability (opens in a new tab) — INFRO. Accessed Nov 24, 2026.
  6. 6.Errors — API reference (opens in a new tab) — INFRO. Accessed Nov 24, 2026.
  7. 7.Experiments — Observability (opens in a new tab) — INFRO. Accessed Nov 24, 2026.

About this article

Read xAI's grok-build-0.1 launch post, its API page and news index, and INFRO's docs on usage, runs, experiments and errors on 2026-11-24. The retirement date, the exact failure response and any xAI-named replacement were not stated on those pages and are left unconfirmed.

Last checked against its sources on . The next review is due by . No separate named reviewer is recorded for this article.

How articles are written, sourced and corrected is set out in the editorial standards.