---
title: Devstral Small 2505 API | Text Generation | ModelsLab
description: Build with Devstral Small 2505 API by Mistralai. Text generation, chat, code, and reasoning. Pay-per-use. Free tier.
url: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistralai/mistralai-devstral-small-2505.md
canonical: https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistralai/mistralai-devstral-small-2505.md
type: product
component: Playground/LLM/Index
generated_at: 2026-05-13T10:52:54.716105Z
---

Devstral Small 2505
---

 [LLMs.txt](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Devstral-Small-2505/llms.txt) [.md](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/mistralai/mistralai-Devstral-Small-2505.md)

mistralai-Devstral-Small-2505 mistralai Closed Source Model

Devstral Small 2505
---

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

### Devstral Small 2505

mistralai mistralai-Devstral-Small-2505

Copy model ID

PricingInput $0.00 / 1M tokens

Output $0.00 / 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-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-audio)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT Audio

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-audio)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Meta-Llama-3.1-70B-Instruct-Turbo)[ModelsLab](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta)

 [Meta Llama 3.1 70B Instruct Turbo

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/meta/meta-llama-Meta-Llama-3.1-70B-Instruct-Turbo)

[PI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/prime-intellect-intellect-3)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Prime Intellect: INTELLECT-3

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/prime-intellect-intellect-3)

[AC](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-opus-4.5)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Anthropic: Claude Opus 4.5

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/anthropic-claude-opus-4.5)

[NN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nvidia-NVIDIA-Nemotron-Nano-9B-v2)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Nvidia Nemotron Nano 9B V2

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/nvidia-NVIDIA-Nemotron-Nano-9B-v2)

[![Gemini 3 Pro Preview](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/1846e76f-9d5c-4a35-a43a-82db45b7bb8b.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/gemini-3-pro-preview)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Gemini 3 Pro Preview

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/gemini-3-pro-preview)

[NN](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-3-nano-30b-a3b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [NVIDIA: Nemotron 3 Nano 30B A3B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/nvidia-nemotron-3-nano-30b-a3b)

[QC](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-Coder-480B-A35B-Instruct-FP8)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Qwen3 Coder 480B A35B Instruct Fp8

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/Qwen-Qwen3-Coder-480B-A35B-Instruct-FP8)

[OG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4o-2024-05-13)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [OpenAI: GPT-4o (2024-05-13)

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/openai-gpt-4o-2024-05-13)

[ML](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-Llama-3-8b-chat-hf)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Meta Llama 3 8B Instruct Reference

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/meta-llama-Llama-3-8b-chat-hf)

[DR](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/deepseek-deepseek-r1-distill-llama-70b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [DeepSeek: R1 Distill Llama 70B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/deepseek-deepseek-r1-distill-llama-70b)

[XG](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-4.20)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [xAI: Grok 4.20

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/x-ai-grok-4.20)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3.6-35b-a3b)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3.6 35B A3B

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3.6-35b-a3b)

[![GPT OSS 120b](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/32ccebf4-aaac-46b2-af6a-b19d11fcf8fa.webp)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-oss-120b)[Open Ai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai)

 [GPT OSS 120b

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/openai/gpt-oss-120b)

[M8](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Mixtral-8x22B-Instruct-v0.1)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Mixtral 8X22b Instruct V0.1

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Mixtral-8x22B-Instruct-v0.1)

[MS](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Magistral-Small-2506)[Together AI](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai)

 [Magistral Small 2506

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/together_ai/mistralai-Magistral-Small-2506)

[QQ](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-max-thinking)[Open Router](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router)

 [Qwen: Qwen3 Max Thinking

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router/qwen-qwen3-max-thinking)

[![Gemini 2.5 Pro](https://images.stablediffusionapi.com/?Image=https://assets.modelslab.ai/generations/ede9a278-de62-47fb-a53d-99ee4c7b7abc.png)](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/gemini-2.5-pro)[Google](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google)

 [Gemini 2.5 Pro

Closed Source Model](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/google/gemini-2.5-pro)

About Devstral Small 2505
---

Devstral Small 2505 is a text generation AI model by Mistralai available on ModelsLab. Access Devstral Small 2505 through our API with pay-per-use pricing and no minimum commitments.

### Technical Specifications

Model IDmistralai-Devstral-Small-2505CategoryLLM ModelsTaskText GenerationAddedApril 4, 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 Devstral Small 2505 into your application with a single API call. Get your API key from the [pricing page](https://modelslab-frontend-v2-927501783998.us-east4.run.app/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-2505",
        "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-frontend-v2-927501783998.us-east4.run.app/models/mistralai/mistralai-Devstral-Small-2505/api) for SDKs, code examples in Python, JavaScript, and more.

### 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-frontend-v2-927501783998.us-east4.run.app/models?feature=llmaster) [More from Mistralai](https://modelslab-frontend-v2-927501783998.us-east4.run.app/models/open_router) [View Pricing](https://modelslab-frontend-v2-927501783998.us-east4.run.app/pricing)

Devstral Small 2505 FAQ
---

### What is Devstral Small 2505?

Devstral Small 2505 is a text generation AI model by Mistralai available on ModelsLab. Access it through our API with pay-per-use pricing and no minimum commitments.

### How do I use the Devstral Small 2505 API?

You can integrate Devstral Small 2505 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-2505" in your API requests. We provide SDKs for Python, JavaScript, and cURL examples in the API documentation.

### What is the Devstral Small 2505 model ID?

The model ID for Devstral Small 2505 is "mistralai-Devstral-Small-2505". Use this ID in your API requests to specify this model.

### Does Devstral Small 2505 have a free tier?

Yes, ModelsLab offers a free tier that lets you try Devstral Small 2505 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-05-13*