Qwen3 Max now live on DATS-4 SQL Agent Suite for Advanced Analysis. Better than DeepSeek R1, closer to Claude Sonnet 4 - at a lower cost.
Published: September 10, 2025
Quality (my test scores)
- Claude Sonnet 4: 100
- GPT-5: 95
- Qwen3 Max: 90
- DeepSeek R1: 85
- Gemini 2.5 Flash: 75
Cost per 100 advanced analysis questions (USD)
- Gemini 2.5 Flash: $14.25
- Qwen3 Max: $14.5
- DeepSeek R1: $15.75
- Claude Sonnet 4: $19
- GPT-5: $27.5
Cost drivers
Each advanced question = 7–10 SQL queries / tool calls. All executions run on GPT-4.1 (approx. $12.5 per 100), which is the major cost chunk. For simple one-shot queries, costs are negligible ($0.25 - $3.5 per 100)
Working rules (current)
- Stick to OpenAI for execution
- 4o-mini / 4.1-mini for simple & mid queries
- 4.1 for complex executions
- Sonnet 4 for top-end reasoning
- Qwen3 Max, DeepSeek R1, GPT-4.1 for best value
- Gemini 2.5 Flash if speed matters
- Avoid GPT-5 & Gemini Pro - very high cost + token bloat.
Task example tested
- Credit card data mart build (1M customer, 10M transaction tables). Multi-step derivations, innovative derived variables creation, summarizations, merges. Table on AWS RDS MySQL.
- Weighted Score-Based Ranking of Indian credit card issuers - RBI Monthly File. Table on Supabase
DATS-4
Full-stack Database SQL Multi-Agent App: text-to-SQL, Python charts, statistical analysis, instant Postgres DB creation, PDF outputs, 9 reasoning models.
Live app, source code, field guide
app.tigzig.com → Database AI & SQL Apps → DATS-4
🔗
Blog Migration Notice: Some links or images in earlier posts may be broken.
View the original post on the old blog site.