Devstral Small 2505

API ID: mistralai/devstral-small-2505

Input Price
$0.06
/1M tokens
Output Price
$0.12
/1M tokens

About Devstral Small 2505

Devstral is Mistral AI's specialized model for software development, optimized for coding tasks and developer workflows. The model excels at code generation, completion, explanation, and debugging across multiple programming languages. Devstral features architecture optimized for development tool integration and IDE use. It demonstrates strong performance on coding benchmarks and understands software development context deeply. The model is particularly valuable for AI-powered development tools, code review automation, and programming assistants. For developers seeking specialized coding AI from Mistral, Devstral offers focused capability for software development tasks.

๐Ÿ’ฐ
Price Ranking
#607 lowest price among 950 Chat models

Model Specifications

Context Length
131k
Max Output
โ€”
Release Date
2025-05-21
Capabilities
chat
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.06
/month
50 conversations/day, ~500 tokens each
Customer Service Bot
$1.98
/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 2505 Current Free Free 131k chat
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

Amazon Nova Micro 1.0
Input: $0.04
Output: $0.14
Context: 128k
Alibaba Qwen Qwen3 8B
Input: $0.04
Output: $0.14
Context: 41k
Zhipu AI GLM 4.1V 9B Thinking
Input: $0.04
Output: $0.14
Context: 66k
Cohere Command R7B (12-2024)
Input: $0.04
Output: $0.15
Context: 128k

๐Ÿš€ Quick Start

Get started with Devstral Small 2505 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-2505",
    messages=[
        {"role": "user", "content": "Hello!"}
    ]
)
print(response.choices[0].message.content)