Skip to main content

Regex & automata

Regular expressions and finite-automaton behavior. As of 2026-12-02, the strongest model on this domain is OpenAI: GPT-5.5 (100% — 16 of 16 questions correct).

What this domain tests

Whether strings match a given regular expression / are accepted by a finite automaton, and related language-recognition reasoning — exact formal-language execution.

Why it resists contamination

The pattern, the test strings, and the ground-truth accept/reject labels are all generated together, so each instance is fresh and programmatically verifiable. Because instances are generated with a programmatic ground truth, this is a “generator-as-oracle” domain — effectively unlimited fresh, self-verifying items. See the full methodology.

Best AI models for Regex & automata

#ModelRegex & automata accuracyQuestionsOverall𝕍 index
1OpenAI: GPT-5.5100%16/1694.1%23.2
2Google: Gemini 4 Argon100%16/1692.5%18.2
3Anthropic: Claude Opus 5.5100%16/1692.1%100.0
4OpenAI: GPT-5.5 Pro100%16/1691.6%4.3
5OpenAI: GPT-6.1 Sol100%16/1690.4%35.6
6Anthropic: Claude Fable 5100%16/1688.7%27.5
7Anthropic: Claude Opus 4.8100%16/1684.9%12.1
8inclusionAI: Ring-2.6-1T100%16/1684.7%14.8
9Google: Gemini 3.5 Flash100%16/1682.0%11.1
10DeepSeek: DeepSeek V4 Flash 0423100%16/1681.8%0.43
11Qwen: Qwen3.7 Max100%16/1681.0%0.65
12MoonshotAI: Kimi K3100%16/1680.3%3.6
13DeepSeek: DeepSeek V4 Pro 0423100%16/1680.3%0.53
14Google: Gemini 3.1 Pro Preview100%16/1679.5%3.2
15SpaceXAI: Grok 4.7100%16/1672.4%0.17
16DeepSeek: DeepSeek V4.1 Flash 1017100%16/1672.0%2.6
17Qwen: Qwen3.5-Flash100%16/1668.2%0.15
18OpenAI: GPT-5 Mini100%16/1666.9%0.25
19SpaceXAI: Grok 4.3100%16/1666.5%1.7
20Xiaomi: MiMo-V2.5100%16/1666.5%0.26
21Z.ai: GLM 5.1100%16/1663.5%0.033
22Z.ai: GLM 5.294%15/1683.2%0.78
23NVIDIA: Nemotron 3 Ultra94%15/1675.2%1.2
24OpenAI: GPT-5.4 Nano94%15/1669.5%2.3
25Qwen: Qwen3.6 Flash94%15/1669.5%0.17
26MoonshotAI: Kimi K2.7 Code94%15/1666.9%0.073
27Qwen: Qwen3.7 Plus94%15/1666.9%0.051
28ByteDance Seed: Seed 1.694%15/1664.9%0.036
29Google: Gemma 4 31B94%15/1663.6%0.009
30MiniMax: MiniMax M388%14/1667.4%0.13
31MoonshotAI: Kimi K2.688%14/1666.9%0.050
32OpenAI: GPT-5.1-Codex-Mini88%14/1666.5%1.3
33Qwen: Qwen3 VL 30B A3B Instruct88%14/1666.1%0.13
34Nex AGI: Nex-N2-Pro (free)88%14/1665.7%0.18
35Qwen: Qwen3 VL 235B A22B Instruct88%14/1664.4%0.060
36Qwen: Qwen3 VL 30B A3B Thinking88%14/1664.0%0.008
37Baidu: ERNIE 4.5 VL 424B A47B 88%14/1663.2%0.015
38Qwen: Qwen3 VL 32B Instruct81%13/1666.1%0.19
39OpenAI: GPT-4.1 Mini81%13/1663.6%0.26
40Qwen: Qwen3 VL 8B Thinking81%13/1663.2%0.072
41Google: Gemini 3.1 Flash Lite Preview81%13/1661.9%0.46
42ByteDance Seed: Seed 1.6 Flash81%13/1657.7%0.080
43Google: Gemini 2.5 Flash Lite81%13/1657.3%0.13
44Google: Gemma 4 26B A4B 81%13/1655.2%0.003
45NVIDIA: Nemotron 3 Nano Omni (free)81%13/1648.5%0.016
46Owl Alpha75%12/1673.7%0.37
47Xiaomi: MiMo-V2.5-Pro75%12/1671.5%0.18
48Z.ai: GLM 4.6V75%12/1665.7%0.12
49Mistral: Mistral Small 475%12/1657.7%0.065
50Qwen: Qwen3.5 Plus 2026-02-1569%11/1661.9%0.012
51Perceptron: Perceptron Mk169%11/1657.7%0.055
52Google: Gemini 3.1 Flash Lite69%11/1656.5%0.13
53Mistral: Ministral 3 8B 251269%11/1654.0%0.065
54OpenAI: GPT-5 Nano69%11/1654.0%0.026
55Google: Gemma 3 27B69%11/1650.2%0.006
56Qwen: Qwen2.5 VL 72B Instruct69%11/1650.2%0.005
57Qwen: Qwen3 VL 8B Instruct63%10/1656.9%0.028
58StepFun: Step 3.7 Flash63%10/1649.8%0.005
59Arcee AI: Trinity Large Thinking63%10/1641.6%<0.001
60Mistral: Mistral Large 3 251256%9/1659.0%0.17
61MiniMax: MiniMax-0156%9/1649.4%0.005
62OpenAI: GPT-4.1 Nano56%9/1648.1%0.044
63Tencent: Hy3 preview50%8/1654.0%0.007
64Mistral: Mistral Small 3.2 24B50%8/1653.6%0.017
65OpenAI: GPT-4o-mini50%8/1647.7%0.021
66Mistral: Ministral 3 14B 251244%7/1656.5%0.086
67Meta: Llama 4 Maverick44%7/1652.7%0.008
68Meta: Llama 4 Scout44%7/1648.5%0.009
69ByteDance Seed: Seed-2.0-Lite44%7/1647.7%<0.001
70Perplexity: Sonar38%6/1645.6%0.004
71Qwen: Qwen3.6 Plus38%6/1644.8%<0.001
72ByteDance Seed: Seed-2.0-Mini38%6/1637.2%<0.001
73Qwen: Qwen3.5-27B31%5/1649.4%<0.001
74Mistral: Ministral 3 3B 251231%5/1645.6%0.021
75Anthropic: Claude 3 Haiku31%5/1641.8%0.014
76Google: Gemma 3 12B25%4/1649.0%0.009
77Qwen: Qwen3.6 35B A3B25%4/1647.7%0.004
78Google: Gemma 3 4B25%4/1647.3%0.003
79NVIDIA: Nemotron Nano 12B 2 VL (free)25%4/1642.3%0.002
80Amazon: Nova Lite 1.019%3/1639.7%0.012
81Qwen: Qwen3.5-35B-A3B19%3/1639.3%<0.001
82Meta: Llama 3.2 11B Vision Instruct19%3/1635.6%<0.001
83Qwen: Qwen3.5-9B13%2/1641.4%<0.001

Primary sources & further reading

Frequently asked questions

What does the meo Regex & automata benchmark test?

Whether strings match a given regular expression / are accepted by a finite automaton, and related language-recognition reasoning — exact formal-language execution.

Why can't AI models game the Regex & automata benchmark?

The pattern, the test strings, and the ground-truth accept/reject labels are all generated together, so each instance is fresh and programmatically verifiable.

Which AI model is best at Regex & automata?

OpenAI: GPT-5.5 leads the Regex & automata domain on the meo benchmark with 100% accuracy (as of 2026-12-02).

Related: all domains · Regex & automata ranking · methodology · full leaderboard.