devstral-small-2507

devstral-small-2507

Advanced Agent Coding Specific Model
2025-07-13
LLM
Model capability: function_call
Input:
$0.11/1M tokens
Output:
$0.33/1M tokens
Bulk order? Contact your manager for exclusive deals

API Overview

Devstral Small 2507 is a lightweight code-specific language model launched by Mistral AI, with its core positioning as an intelligent programming assistant for developers that is "efficient, precise, and multilingual".

  • Comprehensive upgrade of code capabilities: Significantly outperforms previous generations in evaluations such as HumanEval, MBPP, and LiveCodeBench, with higher accuracy in function generation and repair 
  • Supports 80+ programming languages: Covers mainstream and emerging languages such as Python, JavaScript, TypeScript, Java, C++, Go, Rust, SQL, etc.
  • Ultra-long context understanding: Supports 128K token context, enabling analysis of complete files and even small project structures, and achieving cross-file code inference 
  • Local-friendly deployment: The model has a small size and fast inference, and can run efficiently on RTX 4090, Mac Studio, or single-GPU servers 

───────────────────────────────────────────────────────────────────

Core Competence

💻 Context-aware coding: Generate consistent and directly executable code snippets by combining the current file, dependencies, and comments

🛠️ Intelligent Error Repair: Automatically identify syntax/logic errors and provide targeted repair suggestions or rewrite solutions

🧪 Test Case Generation: Automatically generate verification code such as boundary tests and unit tests based on function signatures and descriptions

Millisecond-level response experience: A lightweight architecture enables low-latency completion and generation, seamlessly integrating into developers' real-time coding workflows

Playground

Log in to explore more features! Click to Log In

API Analytics

API Reference (20)

API DescriptionAPI EndpointRequest MethodStabilityParameter Description
Chat(LLaMA3.3)
POST
Stable
View Details
Chat(LLaMA3.2 multimodal)
POST
Stable
View Details
Chat(LLaMA3.1)
POST
Stable
View Details
Chat(Mixtral-8x7B)
POST
Stable
View Details
Chat(Gemma-7B)
POST
Stable
View Details
Chat(Gemma2-9B)
POST
Stable
View Details
Chat(Command R+)
POST
Stable
View Details
Command R
POST
Stable
View Details
Chat(Qwen2)
POST
Stable
View Details
Chat(Qwen2.5)
POST
Stable
View Details
Chat(Llama-3.1-nemotron)
POST
Stable
View Details
Chat(Mistral)
POST
Stable
View Details
Chat(Pixtral-Large-2411multimodal)
POST
Stable
View Details
Chat(QwQ-32B-Preview)
POST
Stable
View Details
Marco-o1
POST
Stable
View Details
QVQ-72B-Preview
POST
Stable
View Details
QwQ-32B
POST
Stable
View Details
Gemma-3-27b-it
POST
Stable
View Details
Qwen3
POST
Stable
View Details
Chat(LLaMA4)
POST
Stable
View Details

API Pricing

$
ModelDescriptionContextOfficial Price302.AI Price

devstral-small-2507

-
128000

Input$0.1 / 1M tokens
Output$0.3 / 1M tokens

Input$0.11/ 1M tokens
Output$0.33/ 1M tokens
10%