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
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
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
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 NoneCut 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.
