Devstral Small 1.1

Mistral chattool_use

API ID: mistralai/devstral-small-2507

Input Price
$0.07
/1M tokens
Output Price
$0.28
/1M tokens

About 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 released under the Apache 2.0 license, it features a 128k token context window and supports both Mistral-style function calling and XML output formats. Designed for agentic coding workflows, Devstral Small 1.1 is optimized for tasks such as codebase exploration, multi-file edits, and integration into autonomous development agents like OpenHands and Cline. It achieves 53.6% on SWE-Bench Verified, surpassing all other open models on this benchmark, while remaining lightweight enough to run on a single 4090 GPU or Apple silicon machine. The model uses a Tekken tokenizer with a 131k vocabulary and is deployable via vLLM, Transformers, Ollama, LM Studio, and other OpenAI-compatible runtimes.

๐Ÿ’ฐ
Price Ranking
#681 lowest price among 1240 Chat models

Model Specifications

Context Length
131k
Max Output
โ€”
Release Date
2025-07-10
Capabilities
chat tool_use
Input Modalities
text
Output Modalities
text

Best For

  • Conversations, content writing, general assistance

Consider Alternatives For

  • Image understanding (needs vision capability)

๐Ÿ’ฐ Real-World Cost Examples

Estimated monthly costs for common use cases

Personal AI Assistant
$0.12
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$3.57
/month
1000 tickets/day, ~800 tokens each

Mistral Model Lineup

Compare all models from Mistral to find the best fit

Model Input Output Context Capabilities
Devstral Small 1.1 Current Free Free 131k chat tool_use
Pixtral 12B Free Free 4k chat vision
Mistral 7B Instruct v0.3 Free Free 33k chat
Mistral 7B Instruct Free Free 33k chat
Mixtral 8x22B (base) Free Free 66k chat
Mixtral 8x22B (base) Free Free 66k chat

Similar Models from Other Providers

Cross-brand alternatives with similar capabilities

Baidu ERNIE 4.5 21B A3B Thinking
Input: $0.07
Output: $0.28
Context: 131k
Baidu ERNIE 4.5 21B A3B
Input: $0.07
Output: $0.28
Context: 120k
Other Spotlight
Input: $0.18
Output: $0.18
Context: 131k
Meta Llama Guard 4 12B
Input: $0.18
Output: $0.18
Context: 1.0M

๐Ÿš€ Quick Start

Get started with Devstral Small 1.1 API

OpenAI-compatible SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://api.provider.com/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="mistralai/devstral-small-2507",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)