Magistral Small 1.2 API

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

Get Started

Model Card

Magistral Small is a 24B parameter open-source reasoning model under Apache 2.0, achieving 70.7% on AIME2024. It provides traceable, multilingual chain-of-thought reasoning in English, French, Spanish, German, Italian, Arabic, Russian, and Chinese.

Context Window

N/A

tokens

Max Output

131,072

tokens

Input Cost

$0.5

per million tokens

Output Cost

$1.5

per million tokens

API Usage Example

Add Magistral Small 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-small-2509"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

Get started with Puter.js

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

Read the Docs View Tutorials