Flash Sale 50% Off!

Don't miss out on our amazing 50% flash sale. Limited time only!

Sale ends in:

Get an additional 10% discount on any plan!

SPECIAL10
See Pricing
×

Daily Limit Reached

You have exhausted your limit of free daily generations. To get more free generations, consider upgrading to our unlimited plan for $4/month or come back tomorrow.

Get an additional 10% discount on any plan!

SPECIAL10
Upgrade Now
Save $385/Month - Unlock All AI Tools

Upgrade to Premium

Thank you for creating an account! To continue using AI4Chat's premium features, please upgrade to a paid plan.

Access to all premium features
Priority customer support
Regular updates and new features - See our changelog
View Pricing Plans
7-Day Money Back Guarantee
Not satisfied? Get a full refund, no questions asked.
×

Credits Exhausted

You have used up all your available credits. Upgrade to a paid plan to get more credits and continue generating content.

Upgrade Now

You do not have enough credits to generate this output.

High Reasoning

Grok Code Fast 1

Grok Code Fast 1 is xAI's specialized coding assistant that delivers lightning-fast responses at approximately 92 tokens per second with a 256,000-token context window, making it ideal for rapid prototyping and agentic coding workflows. Priced at just $0.20 per million input tokens, it combines speed, cost-efficiency, and practical coding proficiency across TypeScript, Python, Java, Rust, C++, and Go.

256k Context
High Intelligence
No cutoff Knowledge

Available for Chat, Vision, and File Uploads.

Performance Benchmarks

MMLU-Pro
79.3%
LiveCodeBench
65.7%
GPQA
72.7%

How do you want to interact?

Start a Conversation

Ask anything.
Have a natural conversation, brainstorm ideas, draft emails, or ask for advice.

Start Chatting

Use a Persona

Specialized Experts.
Instruct the AI to act as a Coding Tutor, Marketing Expert, or Travel Guide.

Pick a Persona

Why use Grok Code Fast 1?

Rapid Prototyping

Scaffolds simple apps and scripts in seconds for quick development starts

High-Speed Throughput

Delivers responses at 92-190 tokens per second for snappy, interactive coding loops

Agentic Tool Use

Supports function calls, shell commands, and multi-step autonomous workflows with visible reasoning

Capability Examples

Rapid Prototyping in Python
Write a fast Python script to scrape pet-friendly locations from a sample API and output JSON.
python\nimport requests\n\ndata = requests.get('https://api.example.com/pets?friendly=true').json()\n\npet_locations = [{'name': item['place'], 'lat': item['lat'], 'lon': item['lon']} for item in data['results']]\nprint(pet_locations)\nFixed edge cases for empty API response in <1s.
Bug Fix in TypeScript
Fix this buggy TypeScript function for codebase search that crashes on null inputs: function searchCode(codebase: string[], query: string) { return codebase.find(s => s.includes(query)); }
typescript\nfunction searchCode(codebase: string[], query: string): string[] {\n if (!query

How to use

1
Go to Chat

Navigate to the "AI Chat" page.

2
Select Model

Ensure Grok Code Fast 1 is selected.

3
Type Prompt

Ask a question or paste code.

4
Interact

Refine the answer by replying to the AI.

Compare LLMs Side-by-Side

Is Grok Code Fast 1 better than Claude 3.5 or Gemini? Test same prompts simultaneously in the Chat Playground.

Open Chat Playground

Made with ❤ by AI4Chat