What is

xAI

?

xAI builds the Grok family of AI models and offers them through a hosted API for text, code, reasoning, voice, image and video, plus Grok apps and the Grok Build coding agent.

At a glance

Attribute

Value

Primary use case

Hosted Grok models for text, code, voice, image and video via API

Deployment type

SaaS (API, web, iOS, Android, X)

Pricing model

API: usage-based (grok-4.7 $2.00 / 1M input, $6.00 / 1M output tokens); subscriptions Free $0, Plus $8, Premium $30, Super $100, Ultra $200 per month; Teams $30+/user/month; Enterprise custom

API compatibility

REST; OpenAI SDK compatible; Responses API and Chat Completions (legacy); AI SDK (@ai-sdk/xai); xAI Python SDK

Supported integrations

Including Amazon Bedrock, Microsoft Foundry, Google Cloud Vertex AI, GitHub Copilot, Cursor, Databricks, Warp, Google Workspace, Microsoft Word, Excel, PowerPoint, Outlook

Key metrics

Vendor-reported: 1M+ API calls per day; 300M+ queries processed daily; 5+ model families

AEP branch

Agent Infrastructure

AEP category

Models

AEP subcategory

Providers

Profile

Developers create an API key, purchase credits and send requests to Grok models such as grok-4.7 at https://api.x.ai/v1. Self-serve API use gives access to all Grok models, and rate limits increase automatically. Separately, paid Grok subscriptions include Grok API access and bundle Grok Chat, Voice, Imagine and Build plus Cursor. Grok Bot is added from the Premium plan. All of these draw on one AI usage pool shared across Grok and Cursor.

Focus

Developers building AI-powered products that need language, coding, voice or media generation from one provider. It also serves teams adopting agentic coding with Grok Build and businesses, startups and government buyers looking for Grok plans.

Background

xAI was announced in July 2023 and joined SpaceX in February 2026. It now operates as SpaceX Super Intelligence (SpaceXSI). It raised a Series B in May 2024, a $6B Series C in December 2024 and a $20B Series E in January 2026. Grok Build was made open source in July 2026.

Features

Grok language and reasoning models

Grok 4.7 handles code and general tasks with agentic tool calling and configurable reasoning over a 500k-token context. Structured outputs, streaming, image understanding and multi-agent modes are also offered.

Agent tools

Models can use tools including function calling, web search, X search, code execution, image generation and remote MCP tools. This gives agents live data and actions inside a request.

Voice API

Provides real-time speech-to-speech conversations, text-to-speech, and batch or streaming speech-to-text. Custom voices and ephemeral tokens are also offered.

Imagine image and video generation

Generates and edits images, including multi-image editing, at 1K or 2K. It also generates video, including from images or references, with video editing and extension and output at 480p, 720p or 1080p.

Grok Build agentic coding

A coding agent that refactors, debugs and builds code. It is available on web and mobile and through the Responses API for use inside IDEs and other tools.

Files and collections

Uploaded files can be used directly in chat or organised into collections with metadata and searched for retrieval (RAG). Answers can then be grounded in a team's own documents.

Pros and cons

Pros

  • One API key and SDK cover text, code, voice, images and video, so teams avoid stitching together several model vendors.

  • Works with the OpenAI SDK by changing the base URL, which lowers the cost of trying or switching to Grok.

  • Grok models are also offered through Amazon Bedrock, Microsoft Foundry, Google Cloud Vertex AI and GitHub Copilot, inside platforms teams may already use.

  • Batch API, deferred completions, async requests, WebSocket mode and priority processing let teams match request handling to each workload.

  • mTLS authentication, regional endpoints and custom moderation controls help meet security and data-location requirements.

Cons

  • Models run as a hosted service, so prompts and data are sent to xAI's API or a partner cloud.

  • API usage is billed separately at model rates and does not draw from a subscription's usage pool.

  • Subscription usage pools refresh weekly. Heavy users need top-ups or must wait, and third-party models in Cursor cost extra.

  • Custom rate limits, data residency, dedicated support, SSO and SCIM require the sales-led Enterprise track.

  • Model retirements and the shift from Chat Completions to the Responses API mean planned migration work.

FAQs

What is xAI?

xAI is the company behind the Grok models. It offers them through a developer API, Grok apps and the Grok Build coding agent. Since joining SpaceX in 2026 it operates as SpaceX Super Intelligence (SpaceXSI).

How much does the Grok API cost?

The API is billed per use. Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens. Voice, image and video are priced per minute, character, hour, image or second. Paid subscriptions include API access, but API calls are charged at standard model rates.

How is the Grok API deployed?

Access is through xAI's hosted API at api.x.ai. Grok models are also offered on cloud platforms such as Amazon Bedrock, Microsoft Foundry and Google Cloud Vertex AI. For enterprise needs, sales offers dedicated infrastructure and data residency options.

Which SDKs and languages work with the Grok API?

Code samples cover Python with xAI's own SDK, TypeScript with the AI SDK, the OpenAI SDK pointed at the xAI base URL, and cURL against the REST endpoints.

What do enterprise customers get?

The sales-led Enterprise plan adds custom rate limits, a named account team, SSO and SCIM, data residency, volume pricing and invoice-based billing.

Table of contents

Every piece of research we publish. Nothing else.

One weekly digest of new reports, market guides, interviews, and benchmarks. No drip sequences, no product pitches, and we don't hand your address to a sponsor. Unsubscribe in one click.

Weave Intelligence may collect information about your activity on our website.

To learn more, please read our Privacy Policy.

© 2026 Weave Intelligence. All rights reserved.

Every piece of research we publish. Nothing else.

One weekly digest of new reports, market guides, interviews, and benchmarks. No drip sequences, no product pitches, and we don't hand your address to a sponsor. Unsubscribe in one click.

Weave Intelligence may collect information about your activity on our website.

To learn more, please read our Privacy Policy.

© 2026 Weave Intelligence. All rights reserved.