Skip to content

xAI (Grok models) API

120 AI Chat lets you connect your own xAI API key for Grok models.

API Key Setup Guide

  1. Visit x.ai.
  2. In your account, generate an API key.
  3. In 120 AI Chat → Settings → AI Providers, paste your key into the xAI Key field.

💡 Billing is managed directly by xAI.

Example pricing (Mar 2026):

  • Grok 4.20 Beta: $2.00 / 1M input tokens, $6.00 / 1M output tokens.
  • Grok 4.20 Multi-Agent Beta: $2.00 / 1M input tokens, $6.00 / 1M output tokens.
  • Voice Agent API: $0.05 / minute ($3.00 / hour).
  • Text to Speech: $4.20 / 1M characters.
  • Tool calls: Web Search $5 / 1K calls, X Search $5 / 1K calls, Code Execution $5 / 1K calls, Collections Search $2.50 / 1K calls.

See the latest pricing at xAI Pricing.