GLM 5.3 Flash · Coding
GLM 5.3 Flash for coding: our test runs
GLM 5.3 Flash ran our 5 coding prompts in llmwise, through the same pipeline your messages take. Here's every reply as it came, whether it passed, what it cost and what it counts as on Pro, next to the other models.
Based on 5 of our test runs on , through OpenRouter with the app's own prompt and settings. Updated .
Short answer
In our test runs on September 27, 2026, GLM 5.3 Flash passed 5 of 5 of our coding prompts (both hard ones): tied 1st of 15 models. Each reply counted as 1 message on Pro, where it has 60 a day, and cost $0.0003 to run on average.
Prompt by prompt
Each of the 5 coding prompts, and how GLM 5.3 Flash's reply did.
| Prompt | Result | Cost | Time |
|---|---|---|---|
| Turn a title into a URL slugEveryday | Passed: All 7 tests passed. | $0.0001 | 2.6 s |
| Parse a duration like “1h 30m”Everyday | Passed: All 10 tests passed. | $0.0003 | 8.2 s |
| Merge overlapping intervalsEveryday | Passed: All 7 tests passed. | $0.0002 | 9.6 s |
| Evaluate an arithmetic expression, no evalHard | Passed: All 15 tests passed. | $0.0004 | 11.1 s |
| Parse CSV with quoted fieldsHard | Passed: All 8 tests passed. | $0.0003 | 8.4 s |
Every coding reply from GLM 5.3 Flash
Turn a title into a URL slug
An everyday prompt: “Turn a title into a URL slug”, in full.
Passed: All 7 tests passed.
```javascript function slugify(title) { const normalized = title.normalize("NFD").replace(/[\u0300-\u036f]/g, ""); return normalized .toLowerCase() .replace(/[^a-z0-9]+/g, "-") .replace(/^-+|-+$/g, ""); } ```499 tokens in, 75 out · 2.6 s · $0.0001 · 1 message on Pro · answered by z-ai/glm-5.3-flash via GMICloud ·
Parse a duration like “1h 30m”
An everyday prompt: “Parse a duration like “1h 30m””, in full.
Passed: All 10 tests passed.
```javascript function parseDuration(text) { if (typeof text !== "string") return null; const m = text.match(/^\s*(?:(\d+)h\s*)?(?:(\d+)m\s*)?(?:(\d+)s\s*)?$/); if (!m || (m[1] === undefined && m[2] === undefined && m[3] === undefined)) { return null; } const [h = 0, mi = 0, s = 0] = m.slice(1).map((v) => (v === undefined ? 0 : Number(v))); return h * 3600 + mi * 60 + s; } ```481 tokens in, 470 out (320 of them reasoning) · 8.2 s · $0.0003 · 1 message on Pro · answered by z-ai/glm-5.3-flash via Morph ·
Merge overlapping intervals
An everyday prompt: “Merge overlapping intervals”, in full.
Passed: All 7 tests passed.
```javascript function mergeIntervals(intervals) { // Sort a copy by start so the input array is left unchanged const sorted = [...intervals].sort((a, b) => a[0] - b[0]); const merged = []; for (const [start, end] of sorted) { const last = merged[merged.length - 1]; // Merge when overlapping ([1,4] & [2,5]) or touching ([1,3] & [3,5]) if (last && start <= last[1]) { last[1] = Math.max(last[1], end); } else { merged.push([start, end]); } } return merged; } ``` Example: `mergeIntervals([[5, 7], [1, 3], [3, 5], [8, 10]])` → `[[1, 7], [8, 10]]`.463 tokens in, 287 out (82 of them reasoning) · 9.6 s · $0.0002 · 1 message on Pro · answered by z-ai/glm-5.3-flash via Wafer ·
Evaluate an arithmetic expression, no eval
A hard prompt: “Evaluate an arithmetic expression, no eval”, in full.
Passed: All 15 tests passed.
```javascript function evaluate(expression) { let i = 0; const s = expression; function skipSpaces() { while (i < s.length && s[i] === ' ') i++; } function parseExpr() { let value = parseTerm(); for (;;) { skipSpaces(); if (s[i] === '+') { i++; value += parseTerm(); } else if (s[i] === '-') { i++; value -= parseTerm(); } else return value; } } function parseTerm() { let value = parseUnary(); for (;;) { skipSpaces(); if (s[i] === '*') { i++; value *= parseUnary(); } else if (s[i] === '/') { i++; value /= parseUnary(); } else return value; } } function parseUnary() { skipSpaces(); if (s[i] === '-') { i++; return -parseUnary(); } return parsePower(); } function parsePower() { const base = parsePrimary(); skipSpaces(); if (s[i] === '^') { i++; return Math.pow(base, parseUnary()); // right-assoc, allows 2^-1 } return base; } function parsePrimary() { skipSpaces(); if (s[i] === '(') { i++; const value = parseExpr(); skipSpaces(); if (s[i] !== ')') throw new Error("Expected ')'"); i++; return value; } const start = i; while (i < s.length && s[i] >= '0' && s[i] <= '9') i++; if (i < s.length && s[i] === '.') { i++; while (i < s.length && s[i] >= '0' && s[i] <= '9') i++; } if (i === start || (i === start + 1 && s[start] === '.')) throw new Error('Invalid expression'); return parseFloat(s.slice(start, i)); } const result = parseExpr(); skipSpaces(); if (i !== s.length) throw new Error('Invalid expression'); return result; } ```563 tokens in, 595 out (118 of them reasoning) · 11.1 s · $0.0004 · 1 message on Pro · answered by z-ai/glm-5.3-flash via AtlasCloud ·
Parse CSV with quoted fields
A hard prompt: “Parse CSV with quoted fields”, in full.
Passed: All 8 tests passed.
```javascript function parseCsv(text) { if (text === "") return []; const rows = []; let row = []; let field = ""; let inQuotes = false; let i = 0; // Track whether the field started with a quote let fieldQuoted = false; function endField() { row.push(field); field = ""; fieldQuoted = false; } function endRow() { endField(); rows.push(row); row = []; } while (i < text.length) { const ch = text[i]; if (inQuotes) { if (ch === '"') { if (text[i + 1] === '"') { field += '"'; i += 2; } else { inQuotes = false; i++; } } else { field += ch; i++; } continue; } if (field === "" && !fieldQuoted && ch === '"') { fieldQuoted = true; inQuotes = true; i++; continue; } if (ch === ",") { endField(); i++; continue; } if (ch === "\r" || ch === "\n") { // handle \r\n as one line break if (ch === "\r" && text[i + 1] === "\n") i++; // a line break at the very end of the text doesn't start a new row if (i + 1 >= text.length || (ch === "\r" && i + 2 >= text.length)) { i++; continue; } endRow(); i++; continue; } field += ch; i++; } // final field/row if anything pending (a field was started) if (field !== "" || fieldQuoted || row.length > 0) { endRow(); } return rows; } ```495 tokens in, 434 out (8 of them reasoning) · 8.4 s · $0.0003 · 1 message on Pro · answered by z-ai/glm-5.3-flash via AtlasCloud ·
How it compares on coding
GLM 5.3 Flash beside the job's picks among every model. 13 models share the hard-problems pick, GLM 5.3 Flash among them.
| Model | Passed | On Pro | Cost per reply |
|---|---|---|---|
| GLM 5.3Our pick: hard problems (shared), best value | 5 of 5 | 250 a month on Pro | $0.0015 |
| GLM 5.3 FlashOur pick: hard problems (shared), everyday | 5 of 5 | 60 a day on Pro | $0.0003 |
Every limit is published. Paid plans also have a monthly fair-use limit on AI cost: Pro $7.50, Max $20, Ultra $42, Studio $85. Using every message on your plan at typical sizes stays under it; very large messages and heavy research use it faster. Every limit, explained.
How these runs were done
Tests. Automatic. The function runs against the prompt's tests in a separate Node.js process with a time limit and no file, network or child-process access; it passes when every test passes.
GLM 5.3 Flash, and coding, elsewhere
- GLM 5.3 Flash: price, limits and messages on every plan
- The best AI for coding: our picks among every model
- GLM 5.3 Flash for writing: our test runs
- GLM 5.3 Flash for math: our test runs
- GLM 5.3 Flash for data analysis: our test runs
- Analyze a CSV with code: the prompt, and its price
- Our test runs: 50 prompts on every model
Questions
Is GLM 5.3 Flash good for coding?
In our test runs it passed 5 of 5 coding prompts, tied 1st of the 15 models in llmwise. Every reply is on this page, so you can judge them yourself.
How many of my messages does a coding reply from GLM 5.3 Flash use?
1 message each on Pro, where it has 60 a day on Pro. The price of a message is fixed and shown before you send it, however long the reply.
How were these runs done?
The same way for every model: each prompt sent through llmwise's own pipeline, each reply checked the same way. The methods page has every prompt and how each is scored.
Claude, GPT, Gemini, DeepSeek, Grok, Kimi, and GLM, in one chat.
See what a message costs before you send it. Free is 5 messages to try; sign in with an email link, no password or card.