Textby Mistral AI

Devstral 2 2512

Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 123B-parameter dense transformer model supporting a 256K context window. Devstral 2 supports exploring...

  • By price it is in the pricier half of the 345 text models GenMagic runs (181st cheapest).
  • It scores 9.4 on the Artificial Analysis Intelligence Index, 95th of the 120 text models with a score.
  • It has scores on 3 public benchmarks, listed below with their sources.
  • It was listed on Dec 9, 2025.

Data last changed Nov 1, 2026 · tracked since Oct 29, 2026 · Every model change

Try Devstral 2 2512

Generate with Devstral 2 2512 right here. Verify your email to start with free credits.

<$0.01
Try

Specifications

Context window

262K tokens

Max output

210K tokens

Input price

$0.60 / 1M tokens

Output price

$3.00 / 1M tokens

Cached input

$0.06 / 1M tokens

Benchmarks

How Devstral 2 2512 scores on public benchmarks. Each card links to the benchmark explainer and to the original source.

2.3

source date 2026-11-11
Source: openrouter

31.3

source date 2026-11-11
Source: openrouter

9.4

source date 2026-09-18
Source: openrouter

Compare against every model in the full benchmark matrix.

Capabilities

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use Devstral 2 2512 through the API

The model id is mistralai/devstral-2512. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistralai/devstral-2512",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="mistralai/devstral-2512",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "mistralai/devstral-2512" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use Devstral 2 2512 in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick Mistral: Devstral 2 2512, or enter mistralai/devstral-2512 as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
Mistral: Devstral 2 2512 (this model)Mistral AI$0.60 in / $3.00 out per 1M tokens262K
DeepSeek: DeepSeek V4 Pro 0423DeepSeek$1.35 in / $2.25 out per 1M tokens1M
Xiaomi: MiMo-V2.5Xiaomi$0.60 in / $3.00 out per 1M tokens1M
Z.ai: GLM 4.5VZ.AI$0.90 in / $2.70 out per 1M tokens66K
AionLabs: Aion-2.0AionLabs$1.20 in / $2.40 out per 1M tokens131K
Qwen: Qwen3.5-122B-A10BQwen$0.39 in / $3.12 out per 1M tokens262K

Compare Devstral 2 2512

More from Mistral AI

All 20 Mistral AI models

Price and listing history

Every change GenMagic has recorded for Devstral 2 2512 since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 1, 2026Price up 36%$0.44 in / $2.20 out per 1M tokens$0.60 in / $3.00 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as Mistral AI publishes them (model card on Hugging Face), checked daily.
  • Benchmarks: 3 scores from Artificial Analysis and OpenRouter, re-read daily. Each score above links to its source.
  • Changes: the data on this page last changed on Nov 1, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with Devstral 2 2512 today

One GenMagic plan unlocks Devstral 2 2512 and every other model across text, image, audio, and video.