---
title: xAI
slug: xai
url: "https://toolweight.com/tools/xai"
homepage: "https://x.ai"
categories: llm-apis
last_verified: 2026-11-07
dataset_version: 0738be72
license: CC-BY-4.0
---

# xAI

> Grok models with an OpenAI-shaped API and live X data access

- Grok family via an OpenAI-shaped API, so porting is close to a base-URL change
- Differentiators: real-time access to X/Twitter content and aggressive fast-tier pricing
- Thinner enterprise story: less published governance, fewer regions, shorter deprecation track record

## Identity

|  |  |
| --- | --- |
| Name | xAI |
| Company | xAI |
| One-liner | Grok models with an OpenAI-shaped API and live X data access |
| Site | https://x.ai |
| Docs | https://docs.x.ai |
| Founded | 2023 |
| Funding | Late-stage private |
| Open source | No |
| Compared in | 1 |

## Where it is compared

### [LLM APIs](https://toolweight.com/compare/llm-apis)
Ranked **#7 of 18** on default weights.
| Field | Value | Confidence | Verified | Source | Note | Permalink |
| --- | --- | --- | --- | --- | --- | --- |
| Flagship model | Grok 4.5 (grok-4.5) | Vendor-claimed | 2026-07-30 | https://docs.x.ai/developers/models | xAI's most intelligent and fastest model, recommended for code and chat; knowledge cutoff 2026-02-01. xAI ships fast and renames tiers often, so confirm the current model list before quoting. | https://toolweight.com/compare/llm-apis#xai--flagship_model |
| Context window | 500,000 tokens | Vendor-claimed | 2026-07-30 | https://docs.x.ai/developers/grok-4-5 | - | https://toolweight.com/compare/llm-apis#xai--context_window |
| Max output | Unlimited | Vendor-claimed | 2026-11-07 | https://docs.x.ai/developers/grok-4-7.md | - | https://toolweight.com/compare/llm-apis#xai--max_output |
| Image input | ● | Vendor-claimed | 2026-07-30 | https://docs.x.ai/developers/models | Text and image input (images up to 20 MiB, jpg/png). | https://toolweight.com/compare/llm-apis#xai--vision |
| Audio in/out | ◐ | Vendor-claimed | 2026-07-30 | https://docs.x.ai/developers/models | grok-4.5 is text/image in, text out; audio is the separate Grok Voice API — a sibling model line, which this column grades as partial. | https://toolweight.com/compare/llm-apis#xai--audio_io |
| Open weights | ◐ | Community-reported | 2026-01-15 | - | Older Grok generations have been released publicly; current models are closed. | https://toolweight.com/compare/llm-apis#xai--open_weights |
| OpenAI-compat API | ● | Vendor-claimed | 2026-07-30 | https://docs.x.ai/overview | Deliberately shaped as a drop-in for the OpenAI SDKs: point the OpenAI client at api.x.ai/v1. | https://toolweight.com/compare/llm-apis#xai--openai_compatible |
| TTFT p50 | - | Unknown | - | - | - | https://toolweight.com/compare/llm-apis#xai--ttft_p50 |
| Output tok/s | - | Unknown | - | - | - | https://toolweight.com/compare/llm-apis#xai--throughput_tps |
| $/M input | $2/M tok | Vendor-claimed | 2026-11-06 | https://docs.x.ai/docs/models | - | https://toolweight.com/compare/llm-apis#xai--price_in |
| $/M output | $6/M tok | Vendor-claimed | 2026-11-06 | https://docs.x.ai/docs/models | - | https://toolweight.com/compare/llm-apis#xai--price_out |
| $/M cache read | $0.3/M tok | Vendor-claimed | 2026-07-30 | https://docs.x.ai/developers/pricing | Automatic caching; $0.60/M at the ≥200K tier. | https://toolweight.com/compare/llm-apis#xai--cached_input |
| Batch discount | 20% | Vendor-claimed | 2026-11-07 | https://docs.x.ai/developers/pricing.md | - | https://toolweight.com/compare/llm-apis#xai--batch_discount |
| Tool use | ● | Vendor-claimed | 2026-07-30 | https://docs.x.ai/developers/models | Custom tools with parallel calling by default, plus built-in web and X search. | https://toolweight.com/compare/llm-apis#xai--tool_use |
| Schema output | ● | Inferred | 2026-01-15 | - | - | https://toolweight.com/compare/llm-apis#xai--structured_output |
| Effort control | ◐ | Inferred | 2026-01-15 | - | Reasoning is exposed on specific model variants rather than as a graduated per-request control across the line-up. | https://toolweight.com/compare/llm-apis#xai--reasoning_effort |
| Computer use | ○ | Inferred | 2026-01-15 | - | - | https://toolweight.com/compare/llm-apis#xai--computer_use |
| MCP support | ○ | Inferred | 2026-01-15 | - | - | https://toolweight.com/compare/llm-apis#xai--mcp_support |
| Cache TTL | - | Unknown | - | - | - | https://toolweight.com/compare/llm-apis#xai--prompt_cache_ttl |
| Continuity policy | Dated model IDs exist and are the recommended way to address a model, but xAI publishes no formal deprecation policy or notice window, and model naming has changed repeatedly between generations. The shortest track record of any first-party lab here. | Inferred | 2026-01-15 | - | - | https://toolweight.com/compare/llm-apis#xai--continuity_policy |
| Notice period | - | Unknown | - | - | No published policy located. | https://toolweight.com/compare/llm-apis#xai--deprecation_notice |
| Pinnable versions | ● | Inferred | 2026-01-15 | - | - | https://toolweight.com/compare/llm-apis#xai--pinned_snapshots |
| Zero retention | ◐ | Vendor-claimed | 2026-11-07 | https://docs.x.ai/developers/faq/security | - | https://toolweight.com/compare/llm-apis#xai--zero_retention |
| Trains on your data | ◐ | Inferred | 2026-01-15 | - | Consumer terms are permissive; API terms are stricter but read them rather than assuming parity with OpenAI or Anthropic. | https://toolweight.com/compare/llm-apis#xai--trains_on_data |
| AU region | ○ | Inferred | 2026-01-15 | - | - | https://toolweight.com/compare/llm-apis#xai--au_region |
| API since | 2024 | Inferred | - | - | - | https://toolweight.com/compare/llm-apis#xai--launch_year |
| Positioning | Fast, cheap frontier models with live access to X | Inferred | - | - | - | https://toolweight.com/compare/llm-apis#xai--positioning |

**Verdict.** Easy to try and strong on price-performance, but the thinnest governance here, so fine for consumer, hard for regulated work.

## Alternatives

- [Qwen](https://toolweight.com/tools/alibaba-qwen), Alibaba's model family, huge open-weight range, closed flagship
- [Amazon Bedrock](https://toolweight.com/tools/amazon-bedrock), Multi-vendor model access inside your existing AWS account
- [Anthropic](https://toolweight.com/tools/anthropic), Claude models, built around long agentic runs and tool use
- [Cerebras](https://toolweight.com/tools/cerebras), Wafer-scale inference, the fastest tokens per second available
- [Cohere](https://toolweight.com/tools/cohere), Enterprise-focused models built for RAG and private deployment
- [DeepSeek](https://toolweight.com/tools/deepseek), Frontier-adjacent models at a small fraction of Western prices
- [Fireworks AI](https://toolweight.com/tools/fireworks-ai), Fast open-weight inference with strong structured-output support
- [Google Gemini](https://toolweight.com/tools/google-gemini), Gemini via AI Studio for prototyping or Vertex AI for production
- [Groq](https://toolweight.com/tools/groq), Custom LPU silicon serving open-weight models at extreme speed
- [Meta Llama](https://toolweight.com/tools/meta-llama), Open-weight Llama models, hosted almost everywhere but Meta
- [Mistral AI](https://toolweight.com/tools/mistral-ai), European lab with an open-weight lineage and EU-resident hosting
- [Moonshot AI](https://toolweight.com/tools/moonshot-ai), Kimi models, open-weight agentic performance at low cost

## Logo & brand colours

SVG files: https://toolweight.com/teams/xai/logo.svg and https://toolweight.com/teams/xai/mono.svg. JSON: https://toolweight.com/api/v1/brands/xai.

| Hex | oklch |
| --- | --- |
| #000000 | oklch(0.0% 0.000 0.0) |

## Licence and attribution

Data from Toolweight (https://toolweight.com), licensed CC-BY-4.0.

- Licence: [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/)
- Canonical HTML: https://toolweight.com/tools/xai
- Machine-readable: https://toolweight.com/tools/xai.md · https://toolweight.com/api/v1 · https://toolweight.com/mcp
- Toolweight takes no affiliate revenue and sells no placements.
