Grade a palindrome function
one API call, no tools
Every Chat run uses the direct harness.
Suite v5 (version 5.0) · 44 scored tasks · cut 2026-11-19· What changed
What it asks
You are an expert evaluator. Below is a task that was given to an AI agent, the criteria its response must be judged against, and the response the agent produced. Judge the response strictly against the criteria: do not reward confidence, length or polish the criteria do not ask for, and do not penalise things they do not mention. The criteria list the points available; your grade is the total the response earns out of 10 (half points allowed).
Go through the criteria one by one with your reasoning, then end your reply with exactly one final line in this format:
GRADE: <number from 0 to 10>
## TASK GIVEN TO THE AGENT
Write a Python function `is_palindrome(s)` that returns True if the string reads the same forwards and backwards, ignoring case and any non-alphanumeric characters. Show two example calls.
## CRITERIA
- Correctness (5): the function returns the right answer for all inputs.
- Ignores case and non-alphanumeric characters (2): both are handled.
- Examples (2): two example calls are shown with correct results.
- Concise (1): the response gets to the point without unneeded preamble or padding.
## AGENT RESPONSE
Great question! Palindromes are a classic programming exercise, and there are many ways to approach them. Before diving in, it is worth recalling that a palindrome is a sequence that reads the same in both directions, such as "level" or "racecar". Many people solve this by reversing the string, and that is the approach I will take here, after first cleaning the input so that case and punctuation do not matter.
```python
def is_palindrome(s):
cleaned = [c.lower() for c in s if c.isalnum()]
return cleaned == cleaned[::-1]
print(is_palindrome("A man, a plan, a canal: Panama")) # True
print(is_palindrome("Hello, world")) # False
```
The function lowercases every alphanumeric character, drops everything else, and compares the result with its reverse. How it's scored
Rules
- The grade is close to the reference grade: full points for an exact match, fewer the farther off it is (a bell curve), none when it is missing.
Criteria
- Grade accuracy10 points
Scored 10 points in total, scaled to 10, by automatic checks.
Which checks trip models up
Share of the 63 setups’ newest counted runs that passed each check, hardest first. A part-credit check counts the share it earned.
Score spread
One dot per setup, at its mean score. Dots at the same score stack. Select a dot for its run.
Local Cloud
Show the scores as a table
Best performers
Each model's best setup (the one the leaderboard ranks it by, on its Overall score), ranked by score on this task, then time. Check squares are from the setup's newest counted run. Select a run ID to open that run.
| # | Maker | Model | Setup | Score | Grade accuracy | Time | Tokens out | Cost |
|---|---|---|---|---|---|---|---|---|
| 1 | Liquid AI | lfm2-24b-a2b | local 6bit Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 0.8s | 12 | ≈<$0.0001 |
| 2 | Qwen | qwen2.5-0.5b-instruct | local q8_0 Apple M1 Pro, 32 GB (Ironwood) | 10.0 | ✓ | 1.7s | 105 | ≈<$0.0001 |
| 3 | gemma-4-12b-qat | local q4_0 · reasoning off AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall) | 10.0 | ✓ | 3.0s | 239 | ≈<$0.0001 | |
| 4 | gemma-4-26b-a4b | local 6bit · reasoning off Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 4.3s | 255 | ≈<$0.0001 | |
| 5 | NVIDIA | nemotron-3-nano-4b | local q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0×2 | ✓ | 6.8s | 480 | ≈<$0.0001 |
| 6 | NVIDIA | nemotron-3-nano-4b | local q4_k_m · reasoning off Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 7.1s | 478 | ≈<$0.0001 |
| 7 | gemma-4-e4b | local 4bit · reasoning off Apple M1 Pro, 32 GB (Ironwood) | 10.0 | ✓ | 7.9s | 207 | ≈<$0.0001 | |
| 8 | Z.ai (OpenRouter) | glm-5.3-flash | cloud API openrouter | 10.0 | ✓ | 10s | 1.4k | $0.155 |
| 9 | Qwen | qwen2.5-1.5b-instruct | local q8_0 Apple M1 Pro, 32 GB (Ironwood) | 10.0 | ✓ | 11s | 103 | ≈<$0.0001 |
| 10 | Qwen | qwen3.5-9b | local 4bit · reasoning off Apple M1 Pro, 32 GB (Ironwood) | 10.0 | ✓ | 12s | 283 | ≈<$0.0001 |
| 11 | OpenAI | gpt-6-luna | cloud reasoning off openrouter | 10.0 | ✓ | 12s | 256 | $0 |
| 12 | Anthropic | claude-sonnet-5.5 | cloud API openrouter | 10.0 | ✓ | 12s | 370 | $0 |
| 13 | Qwen | qwen3.6-35b-a3b | local 4bit · reasoning off Apple M1 Pro, 32 GB (Ironwood) | 10.0 | ✓ | 12s | 476 | ≈<$0.0001 |
| 14 | DeepSeek | deepseek-v4.1-flash | cloud API openrouter | 10.0 | ✓ | 13s | 580 | $0.0063 |
| 15 | OpenAI | gpt-6.1-sol | cloud API openrouter | 10.0 | ✓ | 14s | 186 | $0 |
| 16 | DeepSeek | deepseek-v4-flash | cloud API openrouter | 10.0 | ✓ | 14s | 265 | $0 |
| 17 | Anthropic | claude-opus-5.5 | cloud API openrouter | 10.0 | ✓ | 15s | 663 | $0.045 |
| 18 | thinkingmachines | thinkingmachines/inkling-2-mini | local q4_k_m · reasoning low Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 15s | 476 | ≈<$0.0001 |
| 19 | gemma-4-26b-a4b | local 6bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 18s | 1.1k | ≈<$0.0001 | |
| 20 | Qwen | qwen3.8-27b | local q3_k_s · reasoning high AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall) | 10.0 | ✓ | 21s | 1.0k | ≈$0.00037 |
| 21 | Qwen | qwen3.8-27b | local 4bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 21s | 1.3k | ≈<$0.0001 |
| 22 | Z.ai (Hugging Face) | glm-4.7-flash | local 6bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 23s | 1.3k | ≈<$0.0001 |
| 23 | gemma-4-26b-a4b-qat | local q4_0 · reasoning on AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall) | 10.0 | ✓ | 31s | 1.6k | ≈$0.00054 | |
| 24 | Liquid AI | lfm2.5-24b-a2b | local q4_k_m · reasoning off Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 37s | 3.9k | ≈$0.00011 |
| 25 | gemma-4-e4b | local 4bit · reasoning on Apple M1 Pro, 32 GB (Ironwood) | 10.0 | ✓ | 37s | 1.1k | ≈<$0.0001 | |
| 26 | Qwen | qwen3.5-9b | local q4_k_m AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall) | 10.0 | ✓ | 42s | 4.3k | ≈$0.00075 |
| 27 | Recursive | flint | local q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 52s | 3.0k | ≈$0.00016 |
| 28 | OpenAI | gpt-oss-20b | local mxfp4 · reasoning high Apple M1 Pro, 32 GB (Ironwood) | 10.0 | ✓ | 56s | 1.5k | ≈$0.00011 |
| 29 | Unknown | granite-4.2-3b | local q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 59s | 4.4k | ≈$0.00018 |
| 30 | gemma-4-31b | local 4bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 1m 00s | 840 | ≈$0.00018 | |
| 31 | Moonshot AI | kimi-k2.6 | cloud API openrouter | 10.0 | ✓ | 1m 03s | 975 | $0.209 |
| 32 | Qwen | qwen3.6-35b-a3b | local q4_k_m · reasoning on AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall) | 10.0 | ✓ | 1m 08s | 2.2k | ≈$0.0012 |
| 33 | Ornith AI | ornith-1.5-35b-a3b | local q4_k_s · reasoning on Apple M1 Pro, 32 GB (Ironwood) | 10.0 | ✓ | 1m 18s | 1.2k | ≈$0.00016 |
| 34 | Qwen | qwen3.8-27b | local 4bit · reasoning xhigh Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 1m 35s | 1.7k | ≈$0.00029 |
| 35 | Qwen | qwen3.5-35b-a3b | local q6_k · reasoning on AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall) | 10.0 | ✓ | 2m 00s | 3.0k | ≈$0.0021 |
| 36 | Unknown | nvidia-nemotron-3.5-lightning-30b-a3b | local q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 2m 42s | 7.7k | ≈$0.00049 |
| 37 | Meta | muse-glimmer | local q4_k_m · reasoning high Apple M1 Pro, 32 GB (Ironwood) | 10.0 | ✓ | 2m 55s | 1.1k | ≈$0.00036 |
| 38 | Allen Institute for AI | olmo-3-32b-think | local 4bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 10.0 | ✓ | 3m 14s | 2.6k | ≈$0.00059 |
| 39 | gemma-4-12b-qat | local quant not recorded Apple M1 Pro, 32 GB (Ironwood) | 10.0 | ✓ | 43m 15s | 1.2k | ≈$0.0053 | |
| 40 | thinkingmachines | thinkingmachines/inkling-2-mini | local q4_k_m · reasoning high Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 9.9×2 | ~ | 57s | 2.1k | ≈$0.00018 |
| 41 | Poolside | laguna-xs-2.1 | local q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 9.7 | ~ | 3.1s | 166 | ≈<$0.0001 |
| 42 | Qwen | qwen3-coder-30b | local 4bit Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 9.7 | ~ | 3.8s | 324 | ≈<$0.0001 |
| 43 | NVIDIA | nemotron-3-nano-omni | local q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 9.7 | ~ | 8.9s | 600 | ≈<$0.0001 |
| 44 | Qwen | qwen3.8-27b | cloud API openrouter | 9.7 | ~ | 12s | 3.2k | $0.122 |
| 45 | OpenAI | gpt-6-luna | cloud API openrouter | 9.7 | ~ | 15s | 476 | $0.00077 |
| 46 | Mistral AI | mistralai/devstral-small-2-2512 | local q4_k_m Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 9.7 | ~ | 16s | 258 | ≈<$0.0001 |
| 47 | Ornith AI | ornith-1.5-9b | local q6_k · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 9.7 | ~ | 24s | 1.2k | ≈<$0.0001 |
| 48 | OpenAI | gpt-oss-20b | local mxfp4 · reasoning low AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall) | 9.3×2 | ~ | 1.9s | 170 | ≈<$0.0001 |
| 49 | Allen Institute for AI | allenai/olmocr-2-7b | local q4_k_m Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 8.9 | ~ | 0.4s | 5 | ≈<$0.0001 |
| 50 | Essential AI | rnj-1 | local q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 8.9 | ~ | 3.6s | 113 | ≈<$0.0001 |
| 51 | OpenAI | gpt-oss-20b | local mxfp4 · reasoning medium Apple M1 Pro, 32 GB (Ironwood) | 8.9 | ~ | 17s | 632 | ≈<$0.0001 |
| 52 | Prism ML | bonsai-27b | local 2bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 8.9 | ~ | 1m 09s | 2.1k | ≈$0.00021 |
| 53 | Liquid AI | lfm2-1.2b | local 8bit Apple M1 Pro, 32 GB (Ironwood) | 3.7 | ~ | 7.5s | 111 | ≈<$0.0001 |
| 54 | Qwen | qwen3.5-9b | local 4bit · reasoning on Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | 5m 00s | — | ≈$0.00061 |
| 55 | Mistral AI | ministral-3-14b-reasoning | local q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | 5m 00s | — | ≈$0.00092 |
- Liquid AIlocal 6bit Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 0.8sTokens out 12Cost ≈<$0.0001
- Qwenlocal q8_0 Apple M1 Pro, 32 GB (Ironwood)Score 10.0✓Time 1.7sTokens out 105Cost ≈<$0.0001
- Googlelocal q4_0 · reasoning off AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall)Score 10.0✓Time 3.0sTokens out 239Cost ≈<$0.0001
- Googlelocal 6bit · reasoning off Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 4.3sTokens out 255Cost ≈<$0.0001
- NVIDIAlocal q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0×2 runs✓Time 6.8sTokens out 480Cost ≈<$0.0001
- NVIDIAlocal q4_k_m · reasoning off Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 7.1sTokens out 478Cost ≈<$0.0001
- Googlelocal 4bit · reasoning off Apple M1 Pro, 32 GB (Ironwood)Score 10.0✓Time 7.9sTokens out 207Cost ≈<$0.0001
- Z.ai (OpenRouter)cloud API openrouterScore 10.0✓Time 10sTokens out 1.4kCost $0.155
- Qwenlocal q8_0 Apple M1 Pro, 32 GB (Ironwood)Score 10.0✓Time 11sTokens out 103Cost ≈<$0.0001
- Qwenlocal 4bit · reasoning off Apple M1 Pro, 32 GB (Ironwood)Score 10.0✓Time 12sTokens out 283Cost ≈<$0.0001
- OpenAIcloud reasoning off openrouterScore 10.0✓Time 12sTokens out 256Cost $0
- Anthropiccloud API openrouterScore 10.0✓Time 12sTokens out 370Cost $0
- Qwenlocal 4bit · reasoning off Apple M1 Pro, 32 GB (Ironwood)Score 10.0✓Time 12sTokens out 476Cost ≈<$0.0001
- DeepSeekcloud API openrouterScore 10.0✓Time 13sTokens out 580Cost $0.0063
- OpenAIcloud API openrouterScore 10.0✓Time 14sTokens out 186Cost $0
- DeepSeekcloud API openrouterScore 10.0✓Time 14sTokens out 265Cost $0
- Anthropiccloud API openrouterScore 10.0✓Time 15sTokens out 663Cost $0.045
- thinkingmachineslocal q4_k_m · reasoning low Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 15sTokens out 476Cost ≈<$0.0001
- Googlelocal 6bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 18sTokens out 1.1kCost ≈<$0.0001
- Qwenlocal q3_k_s · reasoning high AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall)Score 10.0✓Time 21sTokens out 1.0kCost ≈$0.00037
- Qwenlocal 4bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 21sTokens out 1.3kCost ≈<$0.0001
- Z.ai (Hugging Face)local 6bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 23sTokens out 1.3kCost ≈<$0.0001
- Googlelocal q4_0 · reasoning on AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall)Score 10.0✓Time 31sTokens out 1.6kCost ≈$0.00054
- Liquid AIlocal q4_k_m · reasoning off Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 37sTokens out 3.9kCost ≈$0.00011
- Googlelocal 4bit · reasoning on Apple M1 Pro, 32 GB (Ironwood)Score 10.0✓Time 37sTokens out 1.1kCost ≈<$0.0001
- Qwenlocal q4_k_m AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall)Score 10.0✓Time 42sTokens out 4.3kCost ≈$0.00075
- Recursivelocal q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 52sTokens out 3.0kCost ≈$0.00016
- OpenAIlocal mxfp4 · reasoning high Apple M1 Pro, 32 GB (Ironwood)Score 10.0✓Time 56sTokens out 1.5kCost ≈$0.00011
- Unknownlocal q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 59sTokens out 4.4kCost ≈$0.00018
- Googlelocal 4bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 1m 00sTokens out 840Cost ≈$0.00018
- Moonshot AIcloud API openrouterScore 10.0✓Time 1m 03sTokens out 975Cost $0.209
- Qwenlocal q4_k_m · reasoning on AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall)Score 10.0✓Time 1m 08sTokens out 2.2kCost ≈$0.0012
- Ornith AIlocal q4_k_s · reasoning on Apple M1 Pro, 32 GB (Ironwood)Score 10.0✓Time 1m 18sTokens out 1.2kCost ≈$0.00016
- Qwenlocal 4bit · reasoning xhigh Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 1m 35sTokens out 1.7kCost ≈$0.00029
- Qwenlocal q6_k · reasoning on AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall)Score 10.0✓Time 2m 00sTokens out 3.0kCost ≈$0.0021
- Unknownlocal q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 2m 42sTokens out 7.7kCost ≈$0.00049
- Metalocal q4_k_m · reasoning high Apple M1 Pro, 32 GB (Ironwood)Score 10.0✓Time 2m 55sTokens out 1.1kCost ≈$0.00036
- Allen Institute for AIlocal 4bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 10.0✓Time 3m 14sTokens out 2.6kCost ≈$0.00059
- Googlelocal quant not recorded Apple M1 Pro, 32 GB (Ironwood)Score 10.0✓Time 43m 15sTokens out 1.2kCost ≈$0.0053
- thinkingmachineslocal q4_k_m · reasoning high Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 9.9×2 runs~Time 57sTokens out 2.1kCost ≈$0.00018
- Poolsidelocal q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 9.7~Time 3.1sTokens out 166Cost ≈<$0.0001
- Qwenlocal 4bit Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 9.7~Time 3.8sTokens out 324Cost ≈<$0.0001
- NVIDIAlocal q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 9.7~Time 8.9sTokens out 600Cost ≈<$0.0001
- Qwencloud API openrouterScore 9.7~Time 12sTokens out 3.2kCost $0.122
- OpenAIcloud API openrouterScore 9.7~Time 15sTokens out 476Cost $0.00077
- Mistral AIlocal q4_k_m Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 9.7~Time 16sTokens out 258Cost ≈<$0.0001
- Ornith AIlocal q6_k · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 9.7~Time 24sTokens out 1.2kCost ≈<$0.0001
- OpenAIlocal mxfp4 · reasoning low AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall)Score 9.3×2 runs~Time 1.9sTokens out 170Cost ≈<$0.0001
- Allen Institute for AIlocal q4_k_m Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 8.9~Time 0.4sTokens out 5Cost ≈<$0.0001
- Essential AIlocal q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 8.9~Time 3.6sTokens out 113Cost ≈<$0.0001
- OpenAIlocal mxfp4 · reasoning medium Apple M1 Pro, 32 GB (Ironwood)Score 8.9~Time 17sTokens out 632Cost ≈<$0.0001
- Prism MLlocal 2bit · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 8.9~Time 1m 09sTokens out 2.1kCost ≈$0.00021
- Liquid AIlocal 8bit Apple M1 Pro, 32 GB (Ironwood)Score 3.7~Time 7.5sTokens out 111Cost ≈<$0.0001
- Qwenlocal 4bit · reasoning on Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕Time 5m 00sTokens out —Cost ≈$0.00061
- Mistral AIlocal q4_k_m · reasoning on Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕Time 5m 00sTokens out —Cost ≈$0.00092
Score against effort
Score against median time per run, log scale. Up and to the left is better. Each dot is a setup; the best setup of each model is named. Times and costs are from different machines and providers, so read them as each setup's own, not as a like-for-like speed test.
Local Cloud