---
title: Mistral (7B) Instruct API | Text Generation | ModelsLab
description: Open-source, 7B parameter instruct-tuned LLM with grouped-query and sliding-window attention for fast, efficient chat, coding, and reasoning—ideal for.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-mistral-7b-instruct-v0.1.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-mistral-7b-instruct-v0.1.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-13T10:37:20.427285Z
---

Mistral (7B) Instruct
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistral_ai/mistralai-Mistral-7B-Instruct-v0.1/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistral_ai/mistralai-Mistral-7B-Instruct-v0.1.md)

mistralai-Mistral-7B-Instruct-v0.1 mistral\_ai Closed Source Model $0.200000 / call

Mistral (7B) Instruct
---

Choose a prompt below to get started or type your own message

 Explain quantum computing in simple terms

 Write a Python function to sort a list

 Create a marketing email for a SaaS product

 Compare REST vs GraphQL APIs

Send

### Mistral (7B) Instruct

mistral\_ai mistralai-Mistral-7B-Instruct-v0.1

Copy model ID

PricingInput $0.20 / 1M tokens

Output $0.20 / 1M tokens

API EndpointsOpenAI Compatible

`https://modelslab.com/api/v7/llm/chat/completions`Endpoint

Anthropic Compatible

`https://modelslab.com/api/v7/llm/v1/messages`Messages

`https://modelslab.com/api/v7/llm/v1/messages/count_tokens`Count Tokens

`https://modelslab.com/api/v7/llm/v1/models`Models

Use with Claude Code

cURL Example

ParametersSystem MessageYou are a helpful AI assistant specialized in providing accurate and detailed responses.

Temperature0.7

Max Tokens1000

Top P0.9

Frequency Penalty0

Presence Penalty0

Model Info

Support

Related Models
---

Discover similar models you might be interested in

 [View all LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[MM](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m2-her)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [MiniMax: MiniMax M2-her

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/minimax-minimax-m2-her)

[MP](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/microsoft-phi-4-mini-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Microsoft: Phi 4 Mini Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/microsoft-phi-4-mini-instruct)

[N3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.2-11b-vision-instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [nim/meta/llama-3.2-11b-vision-instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.2-11b-vision-instruct)

[AC](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-opus-4.7)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Anthropic: Claude Opus 4.7

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-opus-4.7)

[G2](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-2-27b-it)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Gemma-2 Instruct (27B)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/google-gemma-2-27b-it)

[GG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.0-flash-lite-001)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Google: Gemini 2.0 Flash Lite

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/google-gemini-2.0-flash-lite-001)

[AA](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/aion-labs-aion-1.0-mini)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [AionLabs: Aion-1.0-Mini

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/aion-labs-aion-1.0-mini)

[BQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/baidu-cobuddy-free)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Baidu Qianfan: CoBuddy (free)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/baidu-cobuddy-free)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-3.3-70b-instruct)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Meta: Llama 3.3 70B Instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-llama-3.3-70b-instruct)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-30b-a3b-instruct-2507)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 30B A3B Instruct 2507

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-30b-a3b-instruct-2507)

[PP](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/perceptron-perceptron-mk1)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Perceptron: Perceptron Mk1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/perceptron-perceptron-mk1)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-mini-latest)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI GPT Mini Latest

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-mini-latest)

[MD](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-devstral-medium)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Mistral: Devstral Medium

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/mistralai-devstral-medium)

[N3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.3-70b-instruct)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [nim/meta/llama-3.3-70b-instruct

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nim-meta-llama-3.3-70b-instruct)

[H3](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Hcompany-Holo3-35B-A3B)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Holo3 35B A3b

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Hcompany-Holo3-35B-A3B)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-4

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4)

[DR](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Llama-70B)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/deepseek)

 [DeepSeek-R1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/deepseek/deepseek-ai-DeepSeek-R1-Distill-Llama-70B)

[Q0](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-0.6B-Base)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3 0.6B Base

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-0.6B-Base)

About Mistral (7B) Instruct
---

Open-source, 7B parameter instruct-tuned LLM with grouped-query and sliding-window attention for fast, efficient chat, coding, and reasoning—ideal for real-time apps, easy fine-tuning, and outperforms larger models.

### Technical Specifications

Model IDmistralai-Mistral-7B-Instruct-v0.1CategoryLLM ModelsTaskText GenerationPrice$0.200000 per million tokensAddedJuly 22, 2025

### Key Features

- Chat completion and multi-turn conversation API
- Streaming response with token-by-token output
- Function calling and tool use support
- System prompts and role-based messaging
- JSON mode and structured output

### Quick Start

Integrate Mistral (7B) Instruct into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing) to get started.

PythonJavaScriptcURLPHP

```
<code>import requests
import json

url = "https://modelslab.com/api/v7/llm/chat/completions"

headers = {
    "Content-Type": "application/json"
}

data = {
        "model_id": "mistralai-Mistral-7B-Instruct-v0.1",
        "messages": [
            {
                "role": "user",
                "content": "Hello!"
            }
        ],
        "max_tokens": 1000,
        "key": "YOUR_API_KEY"
    }

try:
    response = requests.post(url, headers=headers, json=data)
    response.raise_for_status()  # Raises an HTTPError for bad responses (4XX or 5XX)
    result = response.json()
    print("API Response:")
    print(json.dumps(result, indent=2))
except requests.exceptions.HTTPError as http_err:
    print(f"HTTP error occurred: {http_err} - {response.text}")
except Exception as err:
    print(f"Other error occurred: {err}")</code>
```

View the [full API documentation](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistral_ai/mistralai-Mistral-7B-Instruct-v0.1/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Mistral (7B) Instruct API costs $0.200000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

### Use Cases

- AI chatbots and virtual assistants
- Code generation and developer tools
- Content writing and copywriting automation
- Data analysis, summarization, and extraction

[Learn more about Mistral (7B) Instruct](https://modelslab-frontend-v2-927501783998.us-east4.run.app/mistral-7b-instruct) [Browse LLM Models](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Mistral Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Mistral (7B) Instruct FAQ
---

### What is Mistral (7B) Instruct?

Open-source, 7B parameter instruct-tuned LLM with grouped-query and sliding-window attention for fast, efficient chat, coding, and reasoning—ideal for real-time apps, easy fine-tuning, and outperforms larger models.

### How do I use the Mistral (7B) Instruct API?

You can integrate Mistral (7B) Instruct into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "mistralai-Mistral-7B-Instruct-v0.1" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Mistral (7B) Instruct cost?

Mistral (7B) Instruct costs $0.200000 per million tokens. ModelsLab uses pay-per-use pricing with no minimum commitments. A free tier is available to get started.

### What is the Mistral (7B) Instruct model ID?

The model ID for Mistral (7B) Instruct is "mistralai-Mistral-7B-Instruct-v0.1". Use this ID in your API requests to specify this model.

### Does Mistral (7B) Instruct have a free tier?

Yes, ModelsLab offers a free tier that lets you try Mistral (7B) Instruct and other AI models. Sign up to get free API credits and start building immediately.

---

*This markdown version is optimized for AI agents and LLMs.*

**Links:**
- [Website](https://modelslab.com)
- [API Documentation](https://docs.modelslab.com)
- [Blog](https://modelslab.com/blog)

---
*Generated by ModelsLab - 2026-05-13*