Mistral Devstral Medium is good. These would like a word anyway.
Mistral Devstral Medium is good. These would like a word anyway.
A code generation and agentic reasoning model built jointly by Mistral AI and All Hands AI, a step up from Devstral Small. Scores 61.6% on SWE-Bench Verified, ahead of Gemini 2.5 Pro and GPT-4.1 on code tasks at a fraction of the price.
fromimport openai OpenAI
client = OpenAI(
"https://openrouter.ai/api/v1" base_url=,
"$OPENROUTER_API_KEY" api_key=,
)
response = client.chat.completions.create(
"mistralai/devstral-medium" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set OPENROUTER_API_KEY with your OpenRouter API key from openrouter.ai/keys.
The AI that took a corporate communications course and never recovered. Every character sounds like they are reading from the same HR training manual.
Picks Shawshank Redemption. Sentience test reads like two coworkers having a polite disagreement at a team offsite. The pirate, knight, and hacker all speak in the same measured, reasonable tone. Built for code, not for vibes.
Taste is judged on an uncapped scale, originality first. The space past 100 is craft today's models rarely reach.
Unique words vs. total words. Higher = richer vocabulary.
Average words per sentence.
"Might", "perhaps", "arguably" per 100 words.
**Bold** markers per 1,000 characters.
Bullet and numbered list items per 1,000 characters.
Markdown headings per 1,000 characters.
Emoji per 1,000 characters.
"However", "moreover", "furthermore" per 100 words.
54 outputs · $0.02 tracked across 14 receipts
A code generation and agentic reasoning model built jointly by Mistral AI and All Hands AI, a step up from Devstral Small. Scores 61.6% on SWE-Bench Verified, ahead of Gemini 2.5 Pro and GPT-4.1 on code tasks at a fraction of the price.
fromimport openai OpenAI
client = OpenAI(
"https://openrouter.ai/api/v1" base_url=,
"$OPENROUTER_API_KEY" api_key=,
)
response = client.chat.completions.create(
"mistralai/devstral-medium" model=,
"role""user""content""Hello!" messages=[{: , : }],
)
print(response.choices[0].message.content)Set OPENROUTER_API_KEY with your OpenRouter API key from openrouter.ai/keys.
The AI that took a corporate communications course and never recovered. Every character sounds like they are reading from the same HR training manual.
Picks Shawshank Redemption. Sentience test reads like two coworkers having a polite disagreement at a team offsite. The pirate, knight, and hacker all speak in the same measured, reasonable tone. Built for code, not for vibes.
Taste is judged on an uncapped scale, originality first. The space past 100 is craft today's models rarely reach.
Unique words vs. total words. Higher = richer vocabulary.
Average words per sentence.
"Might", "perhaps", "arguably" per 100 words.
**Bold** markers per 1,000 characters.
Bullet and numbered list items per 1,000 characters.
Markdown headings per 1,000 characters.
Emoji per 1,000 characters.
"However", "moreover", "furthermore" per 100 words.
54 outputs · $0.02 tracked across 14 receipts