mistralai logo
mistralai

Mistral: Codestral 2508

Mistral's cutting-edge language model for coding released end of July 2025. $0.30 per million input tokens, $0.90 per million output tokens. 256,000 token context window. Includes independent benchmarks from Artificial Analysis.

模型概览

模型规格

上下文
256,000 tokens
最大输出
204,800 tokens
架构
text+file->text
分词器
Mistral
知识截止时间
2025-03-31
内容审核
OPENROUTER

完整价格

同步自 OpenRouter。Token 价格均按每百万 Token 展示。

输入
$0.3
/M tokens
输出
$0.9
/M tokens
缓存读取
$0.03
/M tokens
API

模型配置

默认参数

temperature
0.3
API

快速调用

通过 OpenRouter 的 OpenAI 兼容 API 调用这个确切的模型 ID。

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"mistralai/codestral-2508","messages":[{"role":"user","content":"Hello!"}]}'
能力与模态

输入输出

输入
textfile
输出
text
API

支持的 API 参数

frequency_penaltymax_tokenspredictionpresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p
可用提供方

2 个提供方

在 OpenRouter 查看实时 Provider

Provider 可用性、延迟、吞吐量和路由会持续变化,请前往来源页面查看实时运行数据。

OpenRouter

Mistral

unknown
上下文
256K
最大输出
205K
输入
$0.300
输出
$0.900
缓存读取
$0.030
缓存写入
暂未提供

Mistral

unknown
上下文
256K
最大输出
205K
输入
$0.330
输出
$0.990
缓存读取
$0.033
缓存写入
暂未提供
mistralai

个模型

全部模型
mistralai logomistralai

Mistral: Voxtral Small 24B 2507 STT

Voxtral Small 24B 2507 STT is a speech transcription model from Mistral AI. It is suited for transcription, translation, and audio understanding workloads that benefit from its larger model capacity.

上下文
暂未提供
输入
audio
输出
transcription
输入: $50.00输出: 免费每百万 Token
查看模型详情
mistralai logomistralai

Mistral: Voxtral Mini 3B 2507

Voxtral Mini 3B 2507 is a speech and audio understanding model from Mistral AI. It is suited for transcription, translation, and compact audio processing workloads.

上下文
暂未提供
输入
audio
输出
transcription
输入: $16.67输出: 免费每百万 Token
查看模型详情
mistralai logomistralai

Mistral: Voxtral Mini Transcribe

Voxtral Mini Transcribe is Mistral's speech-to-text model, derived from the Voxtral Mini family. It accepts audio input and returns transcribed text via the standard transcription API. Suited for transcribing meetings,...

上下文
暂未提供
输入
audio
输出
transcription
输入: $3000.00输出: 免费每百万 Token
查看模型详情
mistralai logomistralai

Mistral: Mistral Medium 3.5

Mistral Medium 3.5 is a dense 128B instruction-following model from Mistral AI. It supports text and image inputs with text output, and is designed for agentic workflows, coding, and complex...

上下文
262K
输入
text · image · file
输出
text
输入: $1.50输出: $7.50每百万 Token
查看模型详情