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

See how Grok 4.7 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.7 stand out

Strong coding and tool use
Sustains long-running agentic tasks
500K-token context window
Native vision understanding
At a glance

Grok 4.7 specifications

500K
Context window
500K
Max output
Text · Vision · Code
Modality
Frontier
Speed
Free & Pro
Available in Chatday
ProviderxAI
Model familyGrok 4 series
Context window500,000 tokens
Max output500,000 tokens
ModalityText · Vision · Code
Input price$2 / 1M tokens
Output price$6 / 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.7 vs other top models

Compare
Model Context Best at Input price In Chatday
Grok 4.7 500K Agentic coding $2/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.7 questions

Yes. Grok 4.7 is available on the free plan with daily limits. Pro raises the limits and adds priority access during peak times.
500K tokens: enough for very long documents, large codebases or extended conversations without losing earlier context.
Reach for Grok 4.7 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.7 accepts image input, so you can share screenshots, diagrams and photos and ask it to reason over them.

Chat with Grok 4.7 and switch models any time.

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