AICredits logo
mistralai

mistralai/devstral-medium

mistralai/devstral-medium

Devstral Medium is a high-performance code generation and agentic reasoning model developed jointly by Mistral AI and All Hands AI. Positioned as a step up from Devstral Small, it achieves...

Supported APIs

Chat API
Context
131K
Max output
Input / 1M
₹40.26
Cached / 1M
₹4.03
Output / 1M
₹201.30

Pricing

Token typeUSD / 1MINR / 1M
Input$0.400₹40.26
Cached inputprompt cache read$0.0404.03
Output$2.00₹201.30

INR prices include forex conversion. Billed per token in your wallet. See the cost calculator.

Quickstart

Call mistralai/devstral-medium through the supported APIs shown above — just set the base URL and your AICredits key.

cURL — /v1/chat/completions
curl https://api.aicredits.in/v1/chat/completions \
  -H "Authorization: Bearer $AICREDITS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistralai/devstral-medium",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'

New here? Follow the quickstart guide or browse all models.