Grok (xAI)

Verified ❌ Paid Only

No longer free

This provider used to offer a free tier but now requires a paid plan for new signups. Kept listed for reference — see the models below or browse still-free alternatives.

xAI's Grok models with a generous free API tier: $25/month in free credits that renew monthly. Access Grok-2 and Grok-2 Mini through an OpenAI-compatible API. Strong reasoning and real-time knowledge.

$25 Signup Credit Grok 4 OpenAI Compatible Reasoning
Website (paid only) Suggest Edit
-5

Overview

Provider Type

API

API Endpoint

https://api.x.ai/v1

Free Tier Highlights

Varies (low for free tier)

What happened to Grok (xAI)'s free tier?

Grok (xAI) no longer offers free API access: using it now requires a payment or a prepaid top-up. We keep the page in case the free tier comes back.

Free alternatives that work today: Google AI Studio, Groq, OpenRouter, or use several at once with Free-LLM Router.

Quick Start Guide

1

Visit https://console.x.ai/

2

Sign up with X (Twitter) or email

3

Navigate to API Keys

4

Create a new API key

5

Use with OpenAI Python SDK (change base_url)

Available Models

0 free models
Model Name ID Context Capabilities

Integration Examples

Ready-to-use code snippets for your applications.

main.py
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_XAI_API_KEY",
    base_url="https://api.x.ai/v1"
)

response = client.chat.completions.create(
    model="grok-2-latest",
    messages=[
        {"role": "user", "content": "Explain quantum computing simply"}
    ]
)

print(response.choices[0].message.content)

Free Tier Pricing & Limits

Rate Limit

Requests per minute

Varies (low for free tier)

Daily Quota

Requests per day

Credit-based

Token Limit

Tokens per minute

$25/month free credits (renewing)

Monthly Quota

Per month limit

$150/month optional (data-sharing opt-in)

Use Cases

General-purpose AI assistant

Real-time news and event analysis

Code generation and debugging

Image understanding tasks

Alternative to GPT-4 for free

Limitations & Considerations

$25/month credit cap (generous but finite)

Lower rate limits on free tier

Vision models have smaller context

Newer platform, fewer community resources

May require X account for signup

Community Hub

Live

Join the discussion, share tips, and rate Grok (xAI).

Quick Reactions

Add Discussion

Comments are moderated. Be helpful and respectful.

Recent Activity

0 comments

Ready to Get Started?

Join thousands of developers using Grok (xAI)

Start Building Now