Compare models Compare image models AI Tools Models AI Image Models AI News Search Try it free
Live preview

See how Grok 4.20 thinks

Pick a task and watch a sample answer stream in. Open the same prompt in Chatday when you’re ready.

Why does this return undefined? const u = users.find(u => u.id = id)

The bug is in the arrow body: u.id = id assigns instead of compares, so the callback returns the assigned value and .find never matches the way you expect.

Fix it with a strict comparison:

const u = users.find(u => u.id === id);

Use === to compare. A single = is assignment, which is why you saw undefined.

Illustrative preview: your real answers run in Chatday. Continue in Chatday
Strengths

What makes Grok 4.20 stand out

2M-token context window
Very fast inference
Reliable instruction following
Native vision understanding
At a glance

Grok 4.20 specifications

2M
Context window
2M
Max output
Text · Vision
Modality
Fast
Speed
Free & Pro
Available in Chatday
ProviderxAI
Model familyGrok 4 series
Context window2,000,000 tokens
Max output2,000,000 tokens
ModalityText · Vision
Input price$1.25 / 1M tokens
Output price$2.5 / 1M tokens
Tool / function callingYes
VisionYes
StreamingYes
Available in ChatdayFree & Pro

Pricing shown for reference; usage is included in your Chatday plan.

Side by side

Grok 4.20 vs other top models

Compare
Model Context Best at Input price In Chatday
Grok 4.20 2M Long-context $1.25/M Free
Gemini 4 Argon 1M Frontier coding $2/M Free
GPT-6.1 1.1M Agentic coding $2/M Free
Claude Opus 5.5 1M Flagship reasoning $4/M Free
FAQ

Grok 4.20 questions

Yes. Grok 4.20 is available on the free plan with daily limits. Pro raises the limits and adds priority access during peak times.
2M tokens: enough for very long documents, large codebases or extended conversations without losing earlier context.
Reach for Grok 4.20 on the tasks it’s built for, then switch models mid-chat in Chatday when another one fits better, no need to leave the conversation.
Yes. Grok 4.20 accepts image input, so you can share screenshots, diagrams and photos and ask it to reason over them.

Chat with Grok 4.20 and switch models any time.

One subscription, every leading model. Start free in the Chatday web app.