x.ai offers AI APIs focused on natural language processing and automation capabilities. The platform provides endpoints for text generation, analysis, and conversational AI applications. Key features include scalable model deployment and integration tools for developers. Typical use cases include chatbots, content generation, and data processing workflows.
xAI provides the Grok series of AI models through its API, offering text generation and multimodal capabilities.
- Models
- 13 models
- From
- --
- Speed
- 114 tok/s
- Updated
- 7/8/2026
- Latency
- 0.00 s
- Created At
- 8/13/2025
API Endpoints
- Endpoint 1
api.x.ai
Verify ownership to unlock provider management features:
- Edit provider name, content, and links
- Get featured with priority traffic and visibility boost
- Display a verified badge to build user trust
Leaderboard Rankings
Rankings are based on community-submitted tests and periodic health probes. Advisory only, not official data.
About xAI
Health Check
API Benchmarks & Pricing
Compare 13 model rows across audit recency, latest speed tests, throughput, latency, and per-token pricing.
grok-4.20-0309-non-reasoning | - | - |
grok-4.20-multi-agent-0309 | - | - |
grok-4.3 | - | - |
grok-build-0.1 | - | - |
grok-imagine-image | - | - |
grok-imagine-image-quality | - | - |
grok-imagine-video | - | - |
grok-imagine-video-1.5 | - | - |
| 47.5 t/s | 3.62 s | |
grok-4.20-0309-reasoning | 190.5 t/s | 3.13 s |
| 58.6 t/s | 0.60 s | |
| 116.3 t/s | 6.04 s | |
grok-4-fast-non-reasoning | 159.4 t/s | 0.70 s |
Showing 13 of 13 model rows
Recent Test Records
| Time | Model | Speed | Latency |
|---|---|---|---|
| Jul 28, 02:16 PM | grok-4.5 | 47.51 tok/s | 3.62s |
| Apr 1, 03:51 PM | grok-4.20-0309-reasoning | 190.55 tok/s | 3.13s |
| Sep 21, 06:24 PM | grok-3-mini | 154.69 tok/s | 3.10s |
| Sep 21, 06:24 PM | grok-4-fast-non-reasoning | 151.11 tok/s | 0.51s |
| Sep 21, 06:23 PM | grok-4-fast-non-reasoning | 167.62 tok/s | 0.90s |
| Jul 23, 04:24 PM | grok-3-mini | 114.95 tok/s | 4.71s |
| Jul 10, 08:44 AM | grok-3-mini | 79.21 tok/s | 10.30s |
| Mar 16, 07:04 AM | grok-2-1212 | 57.15 tok/s | 0.57s |
| Mar 8, 09:49 AM | grok-2-1212 | 59.99 tok/s | 0.62s |
Similar API Provider Alternatives to Compare
Compare xAI alternatives against 6 nearby API providers using 90 LMSpeed signals across shared model coverage, pricing, benchmark speed, uptime, and free-model availability.
| Provider | Why compare | Models | Free | Avg price | Speed | 30d uptime |
|---|---|---|---|---|---|---|
| xAI xai xAI provides the Grok series of AI models through its API, offering text generation and multimodal capabilities. | Current provider baseline | 13 | 0 | N/A | 114 tok/s | 9960% |
| GLM BigModel Relay glm-bigmodel-relay A third-party API relay providing access to GLM/ChatGLM models through OpenAI-compatible endpoints. |
| 140 | 0 | $0.0083/M | 52 tok/s | 9970% |
| 智谱 AI zhipu-ai Zhipu AI provides the GLM series of large language models including GLM-4, ChatGLM, and CodeGeeX for text, code, and multimodal tasks. |
| 34 | 0 | N/A | 68 tok/s | 9970% |
| 共绩算力(算了么 API) api-suanli-cn Gongji Compute (共绩算力) provides pay-as-you-go, standard API access to mainstream LLMs and elastic GPU computing for AI applications. |
| 15 | 5 | N/A | 36 tok/s | 5600% |
| Tencent tencent Tencent Cloud LKE API provides access to Tencent's Hunyuan series and other LLMs via OpenAI-compatible endpoints. |
| 14 | 0 | N/A | 36 tok/s | 9970% |
| Mistral AI mistral-ai-api Mistral AI API provides access to frontier AI models including Mistral Large, Medium, Small, and Codestral for chat, code, and embeddings. |
| 11 | 0 | N/A | 132 tok/s | 9980% |
| 阿里云百炼 DashScope dashscope Alibaba Cloud DashScope provides AI model APIs including Qwen LLMs, vision, audio, and embedding models. |
| 296 | 0 | N/A | 77 tok/s | 7730% |
Notes
- Health checks: Scope: the 72-hour chart and recent availability measure API connectivity only. Each bar summarizes one hour of checks. Targets: LMSpeed tries the configured health check URL and provider status URL first, then API endpoints derived from known API hosts and recent speed-test base URLs. A website host is considered only when it looks like an API endpoint. Probe steps: each candidate goes through DNS lookup, TCP connection, TLS handshake for HTTPS, and an HTTP HEAD request with redirects followed. Probing stops after the first reachable candidate. Reachable criteria: every required network step must succeed. An HTTP response below 500 is treated as reachable, including 401 because it confirms that an authenticated API endpoint responded, except for statuses classified as blocked. Blocked results: HTTP 403, 429, 521, 525, and 530, plus detected WAF or Cloudflare challenges, are shown as blocked and excluded from availability calculations because LMSpeed cannot determine whether the API itself is down. Model availability: when a dedicated test key is configured, LMSpeed sends an authenticated GET request to a derived /models endpoint and compares returned model IDs with this provider's listed models. These per-model results appear in Models & Pricing and are not included in the provider connectivity percentage. Timeouts: TCP connection, TLS handshake, HTTP connectivity, and model requests each use a 20-second timeout. A full run can take longer when several candidates are tried. Frequency: a background worker checks all providers every 5 minutes by default. The 72-hour chart combines those samples into hourly bars, and the schedule may be changed by the service operator. Limit: automated samples are not an SLA and do not guarantee account quota, every model, every region, or successful completion requests. Check the provider's own status page before making operational decisions.
- Domain Rating data is sourced from Ahrefs. It is a 0–100 backlink-based domain strength signal and does not measure API speed or reliability.
- Announcements and FAQ are read from this provider's NewAPI status snapshot when available. LMSpeed stores the original content and optional English translations from the provider status source, then shows the localized fields on this page.

