head-to-head
Qwen: Qwen3.6 27B vs xAI: Grok 4.20
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-06-18.
| Qwen: Qwen3.6 27B | xAI: Grok 4.20 | |
|---|---|---|
| Vendor | qwen | x-ai |
| Quality Score | 100 | 100 |
| Benchmark Score | 72.4 | 69.3 |
| Input Price | $0.29/M | $1.25/M |
| Output Price | $3.17/M | $2.50/M |
| Context Window | 262,144 | 2,000,000 |
| Max Output | 262,140 | - |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 61.1 | 61.0 |
| ai_index_agentic | 100.0 | 88.9 |
| ai_index_coding | 60.2 | 69.6 |
| eqbench | - | 55.8 |
Who wins by task?
| Task | Qwen: Qwen3.6 27B | xAI: Grok 4.20 |
|---|---|---|
| SQL Generation | 162 | 169 |
| Code Review | 154 | 166 |
| Code Completion | 129 | 122 |
| Code Refactoring | 149 | 165 |
| Bug Fixing | 170 | 181 |
| Unit Test Generation | 145 | 152 |
| Code Documentation | 135 | 145 |
| Regex Writing | 133 | 135 |
| CI/CD Pipelines | 137 | 143 |
| Frontend Component Design | 141 | 144 |
| Data Analysis | 165 | 167 |
| CSV / Spreadsheet Cleanup | 142 | 152 |
| ETL Scripting | 143 | 154 |
| JSON Extraction | 143 | 136 |
| Bulk Data Labeling | 133 | 125 |
| OCR / Document Parsing | 139 | 144 |
| Table Extraction from PDFs | 139 | 144 |
| Long-Document Summarization | 147 | 162 |
| Short-Form Summarization | 130 | 123 |
| Blog Post Writing | 134 | 141 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
MoonshotAI: Kimi K2.7 Code vs Qwen: Qwen3.6 27B
MoonshotAI: Kimi K2.7 Code vs xAI: Grok 4.20
Qwen: Qwen3.7 Plus vs Qwen: Qwen3.6 27B
Qwen: Qwen3.7 Plus vs xAI: Grok 4.20
MiniMax: MiniMax M3 vs Qwen: Qwen3.6 27B
MiniMax: MiniMax M3 vs xAI: Grok 4.20
StepFun: Step 3.7 Flash vs Qwen: Qwen3.6 27B
StepFun: Step 3.7 Flash vs xAI: Grok 4.20