devstral-small-2505

devstral-small-2505

Lightweight proxy-based large model dedicated to coding
2025-05-22
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 2505 is a lightweight, code-specific language model released by Mistral AI, primarily designed as a developer-friendly programming assistant that delivers “small size, strong coding capabilities, and fast response times.”

  • Focus on Code Generation and Understanding: It excels in mainstream programming benchmarks such as HumanEval and MBPP, supporting end-to-end function implementation and debugging.
  • Multi-Language Programming Support: It covers major development languages including Python, JavaScript, TypeScript, Java, C++, Go, and Rust.
  • Efficient Local Deployment: With a compact parameter size, it can run smoothly on a single consumer-grade GPU (such as an RTX 4090) or a high-end laptop.
  • Instruction-Fine-Tuned Optimization: Specifically aligned for developers’ frequent tasks, such as code completion, unit test generation, and bug fixing.

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

Core Capabilities

💻 Precise Code Generation: Automatically generates high-quality functions or scripts with correct structure and consistent style based on natural language descriptions.

🛠️ Context-Aware Completion: Combines the current file and project structure to provide intelligent suggestions that adhere to engineering standards.

🐞 Error Diagnosis Assistance: Parses error messages and recommends fixes, boosting debugging efficiency.

Low-Latency Interaction Experience: Its lightweight architecture ensures millisecond-level response times, making it ideal for real-time coding assistance scenarios.

Playground

Log in to explore more features! Click to Log In

API Analytics

API Reference (1)

API DescriptionAPI EndpointRequest MethodStabilityParameter Description
Chat(Mistral)
POST
Stable
View Details

API Pricing

$
ModelDescriptionContextOfficial Price302.AI Price

devstral-small-2505

-
128000

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

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