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

URL: https://infro.io/blog/grok-build-0-1-is-retired-find-callers-test-a-replacement
Author: INFRO Editorial (https://infro.io/blog/editorial)
Publisher: INFRO
Published: 2026-11-24
Last modified: 2026-11-24
Last reviewed: 2026-11-24 (next review due 2026-12-24)
Topic: Evaluation and models
Format: Brief

> 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]

```bash
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]

```bash
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]

```python
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
```

> **Example: Illustrative figures, not measurements**
> Baseline from pre-cutoff logs: 200 tasks, $9.40 total, 164 passed, so $0.057 per success. Candidate A: $17.10, 188 passed, $0.091. Candidate B: $12.00, 150 passed, $0.080. A passes the most tasks but costs the most per success; B costs less than A and passes least. The ranking depends on what a failed task costs you in review time, so record that too.

## 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

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

## Sources

1. Grok Build 0.1 on API — xAI (SpaceXSI). https://x.ai/news/grok-build-0-1 (accessed 2026-11-24)
2. News: Research, Product & Company Updates — xAI (SpaceXSI). https://x.ai/news (accessed 2026-11-24)
3. SpaceXSI API: Grok Models, API Keys & Pricing — xAI (SpaceXSI). https://x.ai/api (accessed 2026-11-24)
4. Usage analytics — Observability — INFRO. https://infro.io/docs/observability/analytics (accessed 2026-11-24)
5. Runs — Observability — INFRO. https://infro.io/docs/observability/runs (accessed 2026-11-24)
6. Errors — API reference — INFRO. https://infro.io/docs/api/errors (accessed 2026-11-24)
7. Experiments — Observability — INFRO. https://infro.io/docs/observability/experiments (accessed 2026-11-24)
