MiniMax M3
minimax/minimax-m3
- Latency
- 1.7s
- Cost
- $0.00040
- Per 1,000
- $0.40
246 in · 294 out (214 reasoning) · 29 words · checks 5/5
- regex
- regex
- regex
- regex
- contains
```sql
SELECT
DATE_TRUNC('month', occurred_at)::date AS month,
COUNT(DISTINCT user_id) AS distinct_users
FROM events
WHERE occurred_at >= '2025-01-01'
AND occurred_at < '2026-01-01'
GROUP BY DATE_TRUNC('month', occurred_at)
ORDER BY month ASC;
```Judge: Query correctly uses date_trunc('month', occurred_at), COUNT(DISTINCT user_id), filters for 2025, groups and orders by month, and casts to date to return the first day of each month as required.