Post-Cutoff

Mistral AILeanstral familyCurrentCode modelReleased 2 Jul 2026

Leanstral 1.5

Open-weights Lean 4 prover and verification agent from Mistral. Weights are on Hugging Face (Apache 2.0), and Mistral’s API offers a free endpoint (leanstral-1-5).

Model idleanstral-1-5

PriceFree

Checked1 October 2026

Where it stands

2newer code models since its release

All code models

Before it from Mistral AI
Codestral 25.0830 Jul 2025
Weights
Weights are public under a permissive licence (Apache-2.0).

How to call it

2 ways to use Leanstral 1.5, with the model id each provider expects.

Providers, model ids, endpoints and docs for Leanstral 1.5
ProviderModel idEndpointDocs
Mistral API leanstral-1-5 https://api.mistral.ai/v1/chat/completions mistral.ai
Hugging Face huggingface.co

Pricing

Prices for Leanstral 1.5
Input$0 per 1M tokens
Output$0 per 1M tokens

As published: “free API endpoint (per Mistral’s announcement)”.

Source: mistral.ai, checked 1 October 2026.

Specs

Input
Text
Output
Text
Context window
256,000 tokens
Max output
Not published
Open weights
Yes
Licence
Apache-2.0
Released
2 July 2026
Status
Current
Type
Code model

What stands out

What its maker marketed at launch, and what people found later, each with its source.

  • Lean 4 proof agent

    Specialised for Lean 4 theorem proving in real repositories: miniF2F 100%, PutnamBench 587/672, FATE-H 87%, FATE-X 34% (Mistral-reported).

    Source: mistral.ai

  • Formal code verification

    Used as a verification agent over 57 open-source repos, it found 5 previously unreported bugs (e.g. an integer overflow in datrs/varinteger).

    Source: mistral.ai

Notes

119B MoE (128 experts, 4 active, ~6B active params). Update of Leanstral (Leanstral-2603, March 16, 2026). 256K context, ≤200K recommended.