Language Models · Reviewed 19 Oct 2026

Grok API

Grok API offers models for text, image, video, and voice with usage-based pricing.

free tier · docs.x.ai ↗

Paid against free › Language Models › Grok API

Grok API at a glance

SEO analysis

Collected Oct 19, 2026

docs.x.ai: an estimated 764,111 total monthly visits and about 5,303 monthly organic visits across 450 ranking keywords. Scout crawled 15 pages and measured a technical health score of 98/100.

Overview

01

Summary

The useful answer before the supporting detail.

Grok API is SpaceXSI's developer platform for accessing Grok models, covering text, image, video, and voice capabilities S1. Developers use it to build applications that generate content, understand images, and process audio, with pricing based on usage S1. The API offers structured outputs, image understanding, and multi-image editing, making it a versatile tool for AI-powered products S1.

02

Product identity and positioning

Name, category, positioning, audience, and first-party claims.

  • Identity: Grok API is SpaceXSI's developer platform for accessing Grok models S1.
  • Core purpose: It solves the problem of integrating AI capabilities into applications S1.
  • Intended users: Developers building AI-powered features S1.
  • Product scope: It is an API platform, not a standalone app, offering text, image, video, and voice models S112.
  • Positioning: SpaceXSI positions it as the most capable model for code and general use S112.
  • Claimed distinction: It provides dedicated models and APIs for audio, image, and video S112.
03

Use cases and audiences

Who the product serves and the jobs it is designed to handle.

AudiencePractical use case
DevelopersIntegrate Grok models into applications via API for text generation S1
EnterprisesUse monthly invoiced billing to avoid service disruption S51
TeamsManage API spending with prepaid credits and auto top-ups S51

Features

09

Features and capabilities

Core functions and evidence-backed product capabilities.

CapabilityWhat it does
Structured OutputsEnsures model responses follow a defined schema, useful for reliable data extraction S1.
Image UnderstandingAllows the model to analyze and interpret images, enabling visual question answering S1.
Multi-Image EditingSupports editing multiple images in a single request, such as applying consistent changes S1.
Image Prompting GuideProvides guidance on crafting effective prompts for image generation S1.
Reference-to-VideoGenerates videos based on reference images or prompts S1.
Voice APIEnables speech-to-speech interaction, with pricing per minute S112.
Imagine APIGenerates images and videos, with pricing per image or second S112.
10

Integrations and ecosystem

Connected products, exports, APIs, and workflow compatibility.

Integration or interfaceTypeWhat it enables
OpenAI-compatible clientAPIAllows using OpenAI SDK with base_url to call Grok API S1
Python SDKSDKProvides a native Python client for API calls S1
Community IntegrationsIntegrationLinks to third-party integrations built by the community S1
Collections via APIAPIEnables managing collections programmatically S1
Advanced API UsageAPIIncludes features like context compaction and priority processing S1

Pricing

11

Pricing and plans

Published plans, free access, trials, credits, and pricing limitations.

Plan or offerVerified price and billingIncludedLimits
Grok 4.7$2.00 per 1M input tokens, $6.00 per 1M output tokens S1Flagship model for text and code S112Not established
Voice API$0.08 per minute speech-to-speech S112Speech-to-speech interactionTTS $15 per 1M chars S112
Imagine APIFrom $0.02 per image S1Image generationVideo from $0.02 per second S1
Prepaid creditsPurchase credits in advance S51API consumption deducted from balance S51Minimum top-up $5 S51
Monthly invoiced billingInvoice at end of month S51Usage charged to default payment method S51Disabled by default; contact sales S51

Competition

12

Competitive landscape

Domains competing for the same organic search demand.

Sampled competitors

CompetitorFirst-page appearancesSampled queriesAverage positionQueries observed
youtube.com925.4delete grok account, grok ai model
reddit.com111delete grok account
x.ai111grok ai model
grok.com113grok ai model
x.com115delete grok account
vegavid.com115grok ai model
zerotwo.ai116grok ai model
cnet.com117grok ai model

Website intelligence — Collected evidence

Customers, testimonials, and first-party review claims

No supporting public-page evidence was collected for this category.

Independent review sources discovered

No links to supported independent review platforms were discovered on the collected pages.

13

AI visibility

Measured ChatGPT and Google AI mentions with cited sources.

AI-assistant referral traffic

  • Estimated current generative-AI referral share: 33.9%
MonthSource
—All AI assistants
—All AI assistants
—All AI assistants

Website intelligence — Collected evidence

Site-stated AI capabilities

Page typeEvidenceSource
featuresCopy for LLMView as Markdownhttps://docs.x.ai/build/features/background-tasks
featuresCreate API keyMeet grok-4.7https://docs.x.ai/build/features/background-tasks
featuresCopy for LLMView as Markdownhttps://docs.x.ai/build/features/dashboard
featuresCreate API keyMeet grok-4.7https://docs.x.ai/build/features/dashboard
featuresCopy for LLMView as Markdownhttps://docs.x.ai/build/features/hooks
featuresCreate API keyMeet grok-4.7https://docs.x.ai/build/features/hooks
featuresCopy for LLMView as Markdownhttps://docs.x.ai/build/features/mcp-servers
featuresCreate API keyMeet grok-4.7https://docs.x.ai/build/features/mcp-servers
featuresCopy for LLMView as Markdownhttps://docs.x.ai/build/features/permissions
featuresCreate API keyMeet grok-4.7https://docs.x.ai/build/features/permissions
featuresCopy for LLMView as Markdownhttps://docs.x.ai/build/features/project-rules
featuresCreate API keyMeet grok-4.7https://docs.x.ai/build/features/project-rules
featuresCopy for LLMView as Markdownhttps://docs.x.ai/build/features/sandbox
featuresCreate API keyMeet grok-4.7https://docs.x.ai/build/features/sandbox
featuresCopy for LLMView as Markdownhttps://docs.x.ai/build/features/sessions
featuresCreate API keyMeet grok-4.7https://docs.x.ai/build/features/sessions
pricingCopy for LLMView as Markdownhttps://docs.x.ai/console/billing
pricingCreate API keyMeet grok-4.7https://docs.x.ai/console/billing
pricingMonthly invoiced billing is disabled by default. To request this, contact sales@x.ai, or use the contact link on the Billing page:https://docs.x.ai/console/billing
pricingThis is the most common way to use the API, and allows you to control spending by purchasing credits in advance. Your usage can then be monitored on the Usage explorer page.https://docs.x.ai/console/billing

These are first-party product claims, not independent measurements of AI-search visibility.

14

Marketing opportunities

Actions calculated directly from the collected evidence.

OpportunityRecommended actionEvidence
Competitor gap9 first-page appearances across delete grok account, grok ai model

Website intelligence — Collected evidence

Website evidence gaps

  • customers: no usable public page was collected; verify whether the site publishes this evidence.
  • reviews: no usable public page was collected; verify whether the site publishes this evidence.
  • changes: no usable public page was collected; verify whether the site publishes this evidence.
  • identity: no usable public page was collected; verify whether the site publishes this evidence.
  • technical: no usable public page was collected; verify whether the site publishes this evidence.

Trust and proof

15

Customers, proof, and reviews

Published proof, customer signals, and review evidence.

Independent reviews

No citation-grounded independent review links were found.

Customer proof

No named customers, testimonials, or customer case studies were found.

Independent mentions

  • Grok Models & Pricing / SpaceXSI Docs — ### Grok 4.7 grok-4.7 ... Our flagship model for code and everything else: agentic tool calling, minimal hallucinations, configurable reasoning. ... 500k tokens ... Input $2.00 / 1M tokens ... Output $6.00 / 1M tokens Reasoning Configurable ... ### Voice API ... Real-time conversations, speech-to-text, and text-to-speech. ... $0.08 / min ... ### Imagine API ... Your choice depends on your use case. We have dedicated models and APIs for audio, image, and video capabilities. For everything else, i
  • Usage & Pricing / SpaceXSI Docs — Cached tokens are billed at the cached prompt token price, which is substantially lower than the regular prompt token price. The exact rates vary by model — check the Pricing page for current prices. / Token type / Billing rate / / --- / --- / / Prompt tokens (non-cached) / Full prompt token price / / Cached prompt tokens / Reduced cached prompt token price / / Completion tokens / Full completion token price / / Reasoning tokens / Full completion token price / ... Long context pricing applies wh
  • Grok 4.6 / SpaceXSI Docs — ## At a glance Modalities Text, Image Text Context window 500,000 Pricing $2.00 $6.00 ... #### Input Tokens $2.00/ 1M tokens Cached tokens $0.50/ 1M tokens #### Output Tokens $6.00/ 1M tokens
  • Models / Inference API - REST API Reference / SpaceXSI Docs — Get model /v1/models/{model_id} Get information about a model with its model_id, including pricing. ... array Per-image prices by (quality, resolution) tier (image generation models). Omitted when the model prices all qualities identically (see
  • Grok 4.20 Reasoning / SpaceXSI Docs — . It combines the lowest hallucination rate on the market with strict prompt ... ## At a glance Modalities Text, Image Text Context window 1,000,000 Pricing $1.25 $2.50 ... #### Input Tokens $1.25/ 1M tokens Cached tokens $0.20/ 1M tokens
  • Grok API Documentation / SpaceXSI Docs — ### Grok 4.7 grok-4.7 Our flagship model for code and everything else: agentic tool calling, minimal hallucinations, configurable reasoning. Context 500k tokens Input $2.00 / 1M tokens Output $6.00 / 1M tokens Reasoning Configurable
  • Grok 4.5 / SpaceXSI Docs — ## At a glance Modalities Text, Image Text Context window 500,000 Pricing $2.00 $6.00 ... #### Input Tokens $2.00/ 1M tokens Cached tokens $0.30/ 1M tokens #### Output Tokens $6.00/ 1M tokens
  • Release Notes / SpaceXSI Docs — ### Grok 4.7 Grok 4.7, SpaceXSI's frontier model for coding, agentic tasks, and knowledge work, is now available on the xAI API as `grok-4.7`. It has a 500k context window, text and image inputs with text-only output, and no text output limit. Pricing is $2 / $0.50 / $6 per 1M tokens (input / cached input / output) below 200k prompt tokens, and $4 / $1 / $12 above. Reasoning effort supports low, medium, high (default), and xhigh. On the Responses API, `grok-4.7` always returns `reasoning.encrypt

External links were grounded in one live web search. Search snippets are leads, not independently scraped page content; rejected links remain available in Review evidence.

16

Company, security, and trust

Ownership, policies, security signals, and public trust evidence.

SignalFindingSource
Company and ownershipNot published on the collected pages.—
Contact and supportNot published on the collected pages.—
Legal and privacyCancel your subscriptionsource
Security and complianceEncrypted reasoningsource
Uptime and status pageNot published on the collected pages.—

Not found on the collected pages: company and ownership, contact and support, uptime and status page. This only means Scout did not find it on the pages it read; it says nothing about the company itself.

17

Documentation and product updates

Help resources, product guidance, and visible changes over time.

Resource or updateTypeWhat is availableDate or freshness
Grok Models & Pricing / SpaceXSI DocsDocumentationCompare all current Grok models: capabilities, context windows, and per-token API pricing for text, image, video, and voice. (source)Not dated
Grok API Documentation / SpaceXSI DocsAPI referenceCovers authentication, MCP setup, endpoints and payloads, rate limits and errors, code examples. (source)Not dated
Welcome to Grok / SpaceXSI DocsDocumentationA quick overview of Grok on grok.com and the iOS and Android apps — what you can do and where to go next. (source)Not dated
Billing, Credits & Invoices / SpaceXSI DocsDocumentationManage SpaceXSI API billing: buy prepaid credits, enable auto top-up, download invoices, save payment methods, and set up monthly invoiced billing for your team. (source)Not dated
API Pricing / SpaceXSI DocsDocumentationPricing for tools, batch API, files and collections, and other SpaceXSI platform charges. Per-token Grok model pricing is on the Models page. (source)Not dated
Pricing / SpaceXSI DocsDocumentationMonthly and annual prices for The X Subscription plans and Team seats, and what happens to existing plans. (source)Not dated
Team plans: workspaces, seats, and invites / SpaceXSI DocsDocumentationHow workspaces, seats, and invites work on The X Subscription team plans. (source)Not dated
Plan Mode / SpaceXSI DocsDocumentationPlan first, then build: how plan mode works with always-approve and how to review plans in Grok Build. (source)Not dated

Not found in the collected public sources: public roadmap, changelog or release notes, status page, separate help center or knowledge base.

Technical

18

Technical and delivery signals

Delivery model, platforms, API, data ownership, reliability claims and release activity.

SignalFindingSource
Delivery model (cloud, self-hosted, desktop, browser extension)Cloud-based API accessed via HTTPS S1S1
Platforms and appsWeb-based API; no native apps documented S1S1
API and extensibility (API, SDK, webhooks, MCP, plugins)Provides REST API, Python SDK, and OpenAI-compatible interface S1S1
Data ownership and exportNot published on the collected pages.—
Performance and reliability claimsNot published on the collected pages.—
Release activityModel aliases allow automatic migration to latest versions S112S112
19

Measured infrastructure

Domain, certificate, and hosting signals, measured directly.

SignalFinding
TLS certificateGoogle Trust Services, valid, expires 2027-01-12
Security headersHSTS, CSP, Referrer-Policy
Headers not servedX-Content-Type-Options, X-Frame-Options
Server headercloudflare

Not measurable: rdap: HTTP 400. A gap here means the lookup was unavailable, not that the finding is negative.

20

Technical site audit

A bounded multi-page crawl with page-level issues and URLs.

Scout — Bounded technical crawl

  • Pages crawled: 15 of 15 maximum
  • Technical health: 98/100
  • Critical issues: 0
  • Warnings: 4
  • Notices: 7

Issues

SeverityIssueValueAffected URL
noticeMeta description length should be reviewed172https://docs.x.ai/overview
noticeMeta description length should be reviewed172https://docs.x.ai/overview
noticeMeta description length should be reviewed182https://docs.x.ai/developers/grok-4-7
noticeMeta description length should be reviewed37https://docs.x.ai/developers/model-capabilities/text/generate-text
noticeMeta description length should be reviewed39https://docs.x.ai/developers/model-capabilities/text/streaming
noticeMeta description length should be reviewed48https://docs.x.ai/developers/model-capabilities/text/reasoning
noticeMeta description length should be reviewed37https://docs.x.ai/developers/model-capabilities/text/structured-outputs
warningDuplicate title in audit sample2https://docs.x.ai/overview
warningDuplicate title in audit sample2https://docs.x.ai/overview
warningDuplicate meta description in audit sample2https://docs.x.ai/overview
warningDuplicate meta description in audit sample2https://docs.x.ai/overview

Crawled pages

StatusTitleH1sWordsResponseURL
200Grok API Documentation \SpaceXSI Docs1913110 ms
200Grok API Documentation \SpaceXSI Docs1913174 ms
200Grok Build: SpaceXSI's Coding Agent \SpaceXSI Docs1600143 ms
200Grok Bot \SpaceXSI Docs11053154 ms
200Welcome to Grok \SpaceXSI Docs1381251 ms
200What is The X Subscription? \SpaceXSI Docs1905106 ms
200Grok API Quickstart: Get Your API Key \SpaceXSI Docs11154138 ms
200Grok 4.7 Developer Guide \SpaceXSI Docs1980118 ms
200Grok Models & Pricing \SpaceXSI Docs1836162 ms
200API Pricing \SpaceXSI Docs12059151 ms
200Release Notes \SpaceXSI Docs12892166 ms
200Generate Text \SpaceXSI Docs13600230 ms
200Streaming \SpaceXSI Docs11156125 ms
200Reasoning \SpaceXSI Docs11871141 ms
200Structured Outputs \SpaceXSI Docs15339300 ms

This is a bounded Scout crawl. Core Web Vitals and Lighthouse scores are not claimed unless a dedicated performance audit is connected.

21

Search Console and Analytics

First-party search and behavioral data connection state.

Modeled acquisition channels

ChannelEstimated share
direct20.8%
search35.9%
search organic35.8%
search paid0.1%
social3.7%
social organic3.7%
social paid0.0%
referrals4.0%
paid referrals0.6%
mail1.1%
gen ai33.9%
affiliate0.0%
other0.0%

First-party connections

IntegrationStatusData available after connection
Google Search ConsoleNot connectedClicks, impressions, CTR, average position, queries, pages, countries, and devices
Google AnalyticsNot connectedOrganic sessions, engagement, landing pages, conversions, geography, and devices

No first-party Search Console or Analytics numbers are shown until the site owner authorizes the corresponding Google account. Scout traffic model values above are modeled estimates, not private analytics totals.

Limits and method

22

Limitations and open questions

Known constraints and missing evidence from the collected pages.

The collected pages do not mention any competitors. Evidence gaps include lack of customer reviews, security certifications, and uptime status. Open questions: What are the exact limits for prepaid credits and invoiced billing? Are there any free tier or trial options? How does the API handle data privacy and retention?

23

Sources, method, and limitations

Evidence inventory, collection method, provider use, and constraints.

This report is based on 15 collected pages from docs.x.ai, covering API documentation, pricing, billing, and feature guides. The evidence catalog includes 236 mapped URLs, but only 15 were collected. External proof search was performed but did not yield verified customer reviews. Limitations: Some pages may be outdated, and pricing is subject to change.

Paid against free, in your inbox

One job at a time: the paid tools worth paying for, the free ones you can run yourself, and who should pick which.

No tracking pixels. One click to leave. We use your address to send Stack Radar and nothing else. Privacy.