xAI Grok API

by xAI paid AI API Platforms

Access Grok-3 and Grok-2 models with real-time X data access and vision capabilities.

From $2/MTok

About

xAI provides API access to its Grok-3 and Grok-2 models, featuring real-time awareness from the X platform, vision understanding, and function calling. Competitive with frontier models on reasoning and code benchmarks.

Features

Grok-3 flagship and Grok-2 models
Real-time X/Twitter platform data
Vision & image understanding
Function calling & tool use
Large context window
OpenAI-compatible API

Specifications

Context Window 128K tokens
Tool Use
Vision
Streaming
Open Source
Self-Host
Starting Price $2/MTok input

Community Feedback

How would you rate xAI Grok API?

Quick Info

Category AI API Platforms
Pricing paid
Vendor xAI
Website x.ai
From $2/MTok

Get API Access