Skip to content

xAI: add grok-build-0.1 model metadata #407

Closed

Description

@edelauna

Context

Issue #402 includes support for xAI's grok-build-0.1 coding model. This part is independent from OAuth and can land as a small API-key provider improvement.

The current xAI provider already uses the xAI Responses API in src/api/providers/xai.ts, and model metadata lives in packages/types/src/providers/xai.ts. Official xAI docs list grok-build-0.1 as the coding model, with grok-code-fast-1 as an alias/related model.

Developer Notes

  • Add grok-build-0.1 to packages/types/src/providers/xai.ts with appropriate context, max output, tool preferences, and pricing metadata.
  • Keep existing xai API-key behavior unchanged.
  • Include search_replace and exclude apply_diff, matching existing xAI model patterns unless current model docs require otherwise.
  • Add focused tests for model selection/default fallback where applicable.
  • Do not include OAuth, web search, or X search behavior in this sub-issue.

Activity

  1. myk1yt commented on Sep 19, 2026

    @myk1yt
    Contributor

    Claiming — opening a PR shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions