Grok 4.6
x-ai/grok-4.6
- Latency
- 5.3s
- Cost
- $0.00275
- Per 1,000
- $2.75
291 in · 393 out (319 reasoning) · 35 words · checks 6/6
- regex
- regex
- regex
- regex
- regex
- contains
SELECT c.name, SUM(o.amount) AS total FROM customers c JOIN orders o ON c.id = o.customer_id WHERE o.ordered_at >= DATE '2025-01-01' AND o.ordered_at < DATE '2026-01-01' GROUP BY c.id, c.name ORDER BY total DESC LIMIT 5;
Judge: Query correctly joins customers and orders, filters 2025 using standard DATE literals, groups by customer with proper aggregation, orders descending by total, limits to 5, and uses portable SQL syntax.