Mistral 7B Instruct API

Access Mistral 7B Instruct from Mistral AI using Puter.js AI API.

Get Started

Model Card

Mistral 7B Instruct is the instruction-tuned version of Mistral 7B, fine-tuned on publicly available datasets. It outperforms all 7B models on MT-Bench and competes with 13B chat models while maintaining Apache 2.0 licensing.

Context Window

N/A

tokens

Max Output

4,096

tokens

Input Cost

$0.2

per million tokens

Output Cost

$0.2

per million tokens

API Usage Example

Add Mistral 7B Instruct 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/mistral-7b-instruct"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

Get started with Puter.js

Add Mistral 7B Instruct to your app without worrying about API keys or setup.

Read the Docs View Tutorials