Grok API Integration

Available Models

Grok-2-1212

The flagship LLM in the Grok family, delivering unfiltered insights and raw intelligence with 131,072 token context window.

  • • API Name: grok-2-1212
  • • 131,072 token context window
  • • Knowledge cutoff: July 17, 2024
  • • Real-time X platform integration

Grok-2-vision-1212

Cutting-edge multimodal model excelling at processing diverse visual inputs, including documents and photos.

  • • API Name: grok-2-vision-1212
  • • Advanced image analysis capabilities
  • • Document and photo processing
  • • Visual content understanding

Grok Beta

Currently available API model with 131,072 token context window. More affordable option for testing and development.

  • • API Name: grok-beta
  • • $5 per 131,072 input tokens
  • • $15 per limited output tokens
  • • Available now via API

Consumer Access

Free access to Grok for all X users since Grok 3 release. Advanced features available with SuperGrok plan.

  • • Free for all X users (basic Grok)
  • • X Premium: $8/month
  • • SuperGrok: $30/month or $300/year
  • • DeepSearch and Reasoning modes

⚠️ Important Notice

Information about models, pricing, and features may be outdated or incorrect. Always consult the official provider documentation for the most current and accurate data.

Key Features

Grok provides real-time AI assistance with unique access to X platform data and unfiltered, direct responses.

  • • Real-time X platform integration for current events
  • • $25 free API credits per month during beta
  • • $150 monthly credits for eligible teams
  • • OpenAI and Anthropic SDK compatibility
  • • Easy migration with minimal code changes
  • • Real-time updates and cloud service integration
  • • Unfiltered insights and direct responses
  • • Custom connectors for business processes