Which AI model is best for writing code?
Write, explain and review code. There is no single winner: the best model is the one that handles your own questions well. Ask a few AI models the same question side by side, then pick.
Start with one of these questions
Each one opens the chat with the question in the box. Change it to a real one from your work before you send it.
Write a TypeScript function that returns the unique numbers in an array, keeping the first occurrence. Include one example call.
Ask this in the chat →This function returns undefined for an empty list. Explain the bug in plain language and show a fixed version. function first(items) { return items[0].name }
Ask this in the chat →Review this SQL and say whether it can return duplicate rows: select email from users where active = true.
Ask this in the chat →
Open models for this job
Smallest first, not a ranking: the first ones need the least memory. We picked these with our own label for what each model suits, not a test score.
- Llama 3.1 8B InstructSmall and fastNeeds about 6.8 GBCommercial use: yes, with limits
- Qwen3.5 9BSmall and fastNeeds about 6.2 GBCommercial use: yes
- Qwen3 14BMid-sizeNeeds about 9.2 GBCommercial use: yes
- Phi-4Mid-sizeNeeds about 11 GBCommercial use: yes
- gpt-oss-20bMid-sizeNeeds about 13 GBCommercial use: yes
- Mistral Small 3.2 24BMid-sizeNeeds about 16 GBCommercial use: yes
Show all 31 models
- Qwen3.8 27BMid-sizeNeeds about 18 GBCommercial use: yes
- GLM 4.7 FlashMid-sizeNeeds about 19 GBCommercial use: yes
- Qwen3 Coder 30B A3BMid-sizeNeeds about 20 GBCommercial use: yes
- Qwen2.5 Coder 32BMid-sizeNeeds about 20 GBCommercial use: yes
- Qwen3 32BMid-sizeNeeds about 23 GBCommercial use: yes
- Nanbeige4.3-33BMid-sizeNeeds about 23 GBCommercial use: yes
- Qwen3.6 35B A3BMid-sizeNeeds about 23 GBCommercial use: yes
- Llama 3.3 70B InstructLarge and smartNeeds about 46 GBCommercial use: yes, with limits
- Qwen2.5 72B InstructLarge and smartNeeds about 51 GBCommercial use: yes, with limits
- gpt-oss-120bLarge and smartNeeds about 64 GBCommercial use: yes
- Mistral Small 4Large and smartNeeds about 72 GBCommercial use: yes
- Step 3.7 FlashLarge and smartNeeds about 120 GBCommercial use: yes
- MiMo V2.6 FlashLarge and smartNeeds about 186 GBCommercial use: yes
- GLM-5.3 FlashLarge and smartNeeds about 193 GBCommercial use: yes
- MiniMax M3Large and smartNeeds about 258 GBCommercial use: check licence
- MiniMax M3.1 FlashLarge and smartNeeds about 251 GBCommercial use: yes, with limits
- Step 5 PreviewLarge and smartNeeds about 361 GBCommercial use: check licence
- DeepSeek R1 0528Large and smartNeeds about 403 GBCommercial use: yes
- DeepSeek V3Large and smartNeeds about 403 GBCommercial use: check licence
- GLM-5.3Large and smartNeeds about 453 GBCommercial use: yes, with limits
- DeepSeek V4.1 Flash 1017Large and smartNeeds about 446 GBCommercial use: yes
- Kimi K2.6Large and smartNeeds about 601 GBCommercial use: check licence
- DeepSeek V4 Pro 0813Large and smartNeeds about 961 GBCommercial use: yes
- Kimi K3Large and smartNeeds about 1681 GBCommercial use: check licence
- Kimi K3.1 ProLarge and smartNeeds about 1681 GBCommercial use: check licence
With a pass, the chat also runs GPT, Claude and Gemini next to them, such as Claude Sonnet 5.5. Those only run online, on their makers' servers.
The memory each model needs is our estimate from its size, at standard quality. The commercial-use labels are our reading of each licence, not legal advice. How we calculate