Magistral Medium 1.2 API

Access Magistral Medium 1.2 from Mistral AI using Puter.js AI API.

Get Started

Model Card

Magistral Medium is Mistral's enterprise reasoning model with chain-of-thought capabilities, scoring 73.6% on AIME2024 (90% with majority voting). It excels in multilingual step-by-step reasoning for legal, financial, and scientific applications.

Context Window

N/A

tokens

Max Output

131,072

tokens

Input Cost

$2

per million tokens

Output Cost

$5

per million tokens

API Usage Example

Add Magistral Medium 1.2 to your app with just a few lines of code.
No API keys, no backend, no configuration required.

<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "mistralai/magistral-medium-2509"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

Get started with Puter.js

Add Magistral Medium 1.2 to your app without worrying about API keys or setup.

Read the Docs View Tutorials