---
title: Mistral: Devstral Small 1.1 | Text Generation | ModelsLab
description: 24B parameter open-source coding agent with 128K context, function calling, and 53.6% SWE-Bench performance—runs on single GPU for enterprise software.
url: https://modelslab.com/models/mistralai/mistralai-devstral-small/api.md
canonical: https://modelslab.com/models/mistralai/mistralai-devstral-small/api.md
type: product
component: Playground/LLM/Index
generated_at: 2026-04-15T02:03:38.110021Z
---

Mistral: Devstral Small 1.1
---

 [LLMs.txt](https://modelslab.com/models/open_router/mistralai-devstral-small/llms.txt) [.md](https://modelslab.com/models/mistralai/mistralai-devstral-small.md)

mistralai-devstral-small mistralai Closed Source Model $0.200000 / call

Mistral: Devstral Small 1.1
---

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: Devstral Small 1.1

mistralai mistralai-devstral-small

Copy model ID

PricingInput $0.10 / 1M tokens

Output $0.30 / 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.com/models?feature=llmaster)

[QV](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-VL-72B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen2.5-VL (72B) Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen2.5-VL-72B-Instruct)

[G1](https://modelslab.com/models/open_router/alpindale-goliath-120b)[Open Router](https://modelslab.com/models/open_router)

 [Goliath 120B

Closed Source Model](https://modelslab.com/models/open_router/alpindale-goliath-120b)

[QQ](https://modelslab.com/models/open_router/qwen-qwen-plus-2025-07-28-thinking)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen Plus 0728 (thinking)

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen-plus-2025-07-28-thinking)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-coder-flash)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 Coder Flash

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-coder-flash)

[AC](https://modelslab.com/models/open_router/anthropic-claude-sonnet-4)[Open Router](https://modelslab.com/models/open_router)

 [Anthropic: Claude Sonnet 4

Closed Source Model](https://modelslab.com/models/open_router/anthropic-claude-sonnet-4)

[NH](https://modelslab.com/models/open_router/nousresearch-hermes-4-70b)[Open Router](https://modelslab.com/models/open_router)

 [Nous: Hermes 4 70B

Closed Source Model](https://modelslab.com/models/open_router/nousresearch-hermes-4-70b)

[L3](https://modelslab.com/models/meta/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)[ModelsLab](https://modelslab.com/models/meta)

 [Llama 3.1 Nemotron 70B Instruct HF

Closed Source Model](https://modelslab.com/models/meta/nvidia-Llama-3.1-Nemotron-70B-Instruct-HF)

[ML](https://modelslab.com/models/open_router/meta-llama-llama-4-scout)[Open Router](https://modelslab.com/models/open_router)

 [Meta: Llama 4 Scout

Closed Source Model](https://modelslab.com/models/open_router/meta-llama-llama-4-scout)

[QQ](https://modelslab.com/models/open_router/qwen-qwen3-235b-a22b)[Open Router](https://modelslab.com/models/open_router)

 [Qwen: Qwen3 235B A22B

Closed Source Model](https://modelslab.com/models/open_router/qwen-qwen3-235b-a22b)

[QN](https://modelslab.com/models/together_ai/Qwen-Qwen3-Next-80B-A3B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 Next 80B A3b Instruct

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-Next-80B-A3B-Instruct)

[AO](https://modelslab.com/models/open_router/allenai-olmo-3.1-32b-instruct)[Open Router](https://modelslab.com/models/open_router)

 [AllenAI: Olmo 3.1 32B Instruct

Closed Source Model](https://modelslab.com/models/open_router/allenai-olmo-3.1-32b-instruct)

[MM](https://modelslab.com/models/open_router/mistralai-mistral-small-2603)[Open Router](https://modelslab.com/models/open_router)

 [Mistral: Mistral Small 4

Closed Source Model](https://modelslab.com/models/open_router/mistralai-mistral-small-2603)

[OG](https://modelslab.com/models/open_router/openai-gpt-5-codex)[Open Router](https://modelslab.com/models/open_router)

 [OpenAI: GPT-5 Codex

Closed Source Model](https://modelslab.com/models/open_router/openai-gpt-5-codex)

[Q1](https://modelslab.com/models/together_ai/Qwen-Qwen3-1.7B-Base)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 1.7B Base

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-1.7B-Base)

[ML](https://modelslab.com/models/together_ai/meta-llama-Llama-3.1-405B-Instruct)[Together AI](https://modelslab.com/models/together_ai)

 [Meta Llama 3.1 405B Instruct

Closed Source Model](https://modelslab.com/models/together_ai/meta-llama-Llama-3.1-405B-Instruct)

[GG](https://modelslab.com/models/open_router/google-gemma-3-27b-it-free)[Open Router](https://modelslab.com/models/open_router)

 [Google: Gemma 3 27B (free)

Closed Source Model](https://modelslab.com/models/open_router/google-gemma-3-27b-it-free)

[R1](https://modelslab.com/models/perplexity_ai/perplexity-ai-r1-1776)[ModelsLab](https://modelslab.com/models/perplexity_ai)

 [R1 1776

Closed Source Model](https://modelslab.com/models/perplexity_ai/perplexity-ai-r1-1776)

[Q2](https://modelslab.com/models/together_ai/Qwen-Qwen3-235B-A22B-Instruct-2507-tput)[Together AI](https://modelslab.com/models/together_ai)

 [Qwen3 235B A22B Instruct 2507 FP8 Throughput

Closed Source Model](https://modelslab.com/models/together_ai/Qwen-Qwen3-235B-A22B-Instruct-2507-tput)

About Mistral: Devstral Small 1.1
---

Devstral Small 1.1 is a 24B parameter open-weight language model for software engineering agents, developed by Mistral AI in collaboration with All Hands AI. Finetuned from Mistral Small 3.1 and...

### Technical Specifications

Model IDmistralai-devstral-smallCategoryLLM ModelsTaskText GenerationPrice$0.200000 per million tokensAddedFebruary 20, 2026

### 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: Devstral Small 1.1 into your application with a single API call. Get your API key from the [pricing page](https://modelslab.com/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-devstral-small",
        "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.com/models/mistralai/mistralai-devstral-small/api) for SDKs, code examples in Python, JavaScript, and more.

### Pricing

Mistral: Devstral Small 1.1 API costs $0.200000 per million tokens. Pay only for what you use with no minimum commitments. [View pricing plans](https://modelslab.com/pricing)

### Use Cases

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

[Browse LLM Models](https://modelslab.com/models?feature=llmaster) [More from Mistralai](https://modelslab.com/models/open_router) [View Pricing](https://modelslab.com/pricing)

Mistral: Devstral Small 1.1 FAQ
---

### What is Mistral: Devstral Small 1.1?

Devstral Small 1.1 is a 24B parameter open-weight language model for software engineering agents, developed by Mistral AI in collaboration with All Hands AI. Finetuned from Mistral Small 3.1 and...

### How do I use the Mistral: Devstral Small 1.1 API?

You can integrate Mistral: Devstral Small 1.1 into your application with a single API call. Sign up on ModelsLab to get your API key, then use the model ID "mistralai-devstral-small" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### How much does Mistral: Devstral Small 1.1 cost?

Mistral: Devstral Small 1.1 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: Devstral Small 1.1 model ID?

The model ID for Mistral: Devstral Small 1.1 is "mistralai-devstral-small". Use this ID in your API requests to specify this model.

### Does Mistral: Devstral Small 1.1 have a free tier?

Yes, ModelsLab offers a free tier that lets you try Mistral: Devstral Small 1.1 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-04-15*