Back to models
Chat Models

xAI

Grok Build 0.1

Best for Coding

Coding-focused model with 256K context, image input, function calling, and structured outputs.

CodingAgentic

At a glance

Know the model before you prompt.

xAI API specifications
Context window
256,000 tokens
Maximum output
Not verified
Inputs → output
Text + Images → Text
Knowledge cutoff
Not verified

API model ID: grok-build-0.1

Capabilities & boundaries

What it supports. Where the limits are.

Tool support requires the appropriate API integration; a supported tool is not automatically active in every chat.

Supported API features and tools

  • Coding, engineering and workflow-oriented text responses
  • A 256,000-token context with text and image inputs
  • Function calling through an integration that provides tools
  • Structured outputs for constrained formats
  • Reasoning support documented on the model card

Before you choose

  • The card verifies reasoning support but does not establish configurable effort levels or a default. Do not copy the settings of Grok 4.7.
  • Batch API is not supported, and a maximum output limit or training cutoff is not verified here.
  • The API model is not the Grok Build application or CLI. Repository access, command execution and file writes require a separate, authorized integration.
  • The long-context pricing threshold is 200,000 prompt tokens, below the 256,000-token context limit. Generated code still needs review and tests.

Reasoning behavior

The model card confirms reasoning, but the reviewed documentation does not specify a supported effort list or default for Grok Build 0.1. Do not assume none, high or xhigh works like the settings on other Grok models; verify the exact API behavior before sending those parameters.

  • The explicit ID is grok-build-0.1. Its card lists grok-code-fast-1, grok-code-fast and grok-code-fast-1-0825 as aliases; an older alias does not prove the original model is still serving your request.
  • Function calling requests a tool action; it does not itself grant access to a shell or repository. Validate arguments and authorize actions in your application.
  • Use concise task boundaries and real error output. Ask for tests and distinguish executed checks from recommendations.

Put it to work

Start with a more useful prompt.

Original examples from EZ Ai Assist. Adapt these to your task and the features available in your workspace.

Workflow 01

Refactor one function safely

Keep an improvement small enough to inspect and test.

Refactor only the function below to improve readability while preserving its public behavior and signature. First describe its observable behavior and edge cases. Then provide a minimal patch and focused equivalence tests. Do not change callers, add dependencies or rewrite unrelated code. Flag any behavior you cannot infer from the supplied context.

Workflow 02

Design a boundary test matrix

Expose missing cases before broad implementation work.

Create a test matrix for this parser using the specification and current implementation below. Cover valid input, empty input, malformed values, boundary lengths and error handling. Include concrete inputs and expected outcomes justified by the specification. Separate confirmed requirements from assumptions and identify which assumptions need clarification.

Workflow 03

Connect two typed interfaces

Draft an adapter without hiding data loss or unsafe assumptions.

Compare these two TypeScript interfaces and the example payloads. Propose a small adapter between them, documenting field mappings, defaults and validation failures. Do not silently discard required information or use any to bypass a mismatch. Include tests for successful conversion and incompatible inputs, and state which checks you have not executed.

Developer reference

xAI API pricing

These are global xAI API reference prices, not EZ Ai Assist subscription prices.

View EZ Ai Assist plans
Standard processing · USD per 1,000,000 tokens
Token type< 200,000prompt tokens≥ 200,000prompt tokens
Input$1.00$2.00
Cached input$0.20$0.40
Output$2.00$4.00
Additional API fees · USD
UsageRate and unit
Web Search$5.00per 1,000 calls
X Search: posts$5.00per 1,000 posts fetched
X Search: profiles$10.00per 1,000 profiles fetched
Code execution$5.00per 1,000 calls
  • At 200,000 prompt tokens or more, higher rates apply to the entire request. This threshold is separate from the 256,000-token context ceiling.
  • Reasoning usage contributes to cost. The tool fee table applies only when the chosen endpoint and model integration support and enable those tools; it is not a list of automatically active features.
  • Batch API is not supported. Priority processing charges 2× if the response confirms priority service.
  • The Grok Build product and EZ Ai Assist subscription have separate terms from this model's API token rates. Evaluate measured task usage rather than judging cost solely by the rate per token.

Common questions

A few things worth knowing.

Is Grok Build 0.1 the same as the Grok Build app?

No. This page documents the grok-build-0.1 API model. A coding application or CLI provides its own environment, tools and permissions and may use a different model. Selecting the model alone does not connect a repository or grant shell access.

What kinds of coding work should I test?

Start with bounded tasks such as a function refactor, parser test plan or typed adapter. Supply the relevant code, requirements and error messages. Validate the patch with actual tests before expanding to a larger workflow.

What are the model limits?

The card lists a 256,000-token context and text/image input with text output. A separate maximum output and training cutoff are not verified. The app can impose different limits from the provider's reference API.

Can I configure reasoning effort?

The card confirms reasoning support but does not list configurable effort values or a default. This guide does not borrow settings from Grok 4.5, 4.6 or 4.7. Check current endpoint documentation before supplying an effort parameter.

Why do older Grok Code IDs appear as aliases?

The public card associates grok-code-fast-1 and related IDs with grok-build-0.1. An alias can continue resolving after the underlying model changes. Use explicit IDs and rerun evaluations when reproducibility matters.

How much does the API cost?

Below 200,000 prompt tokens, rates are $1 input, $0.20 cached input and $2 output per million tokens. At or above the threshold, those rates double for the full request. Tool usage and reasoning can add to the total.

Can I use Batch or expect app tool parity?

The model card says Batch API is unsupported. Tool calling still requires an appropriate integration, and provider capability is not a guarantee of EZ Ai Assist feature availability. Check the app for supported tools and subscription terms.

Check the source

Official documentation

Specifications and API prices checked on . Example prompts and workflow advice are editorial guidance from EZ Ai Assist.

Same provider