mistralai logo
mistralai

Mistral: Codestral 2508 (batch)

出典の説明(英語)

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. Blog Post

概要

モデル仕様

コンテキスト
256,000 tokens
最大出力
204,800 tokens
アーキテクチャ
text+file->text
トークナイザー
Mistral
知識カットオフ
2025-03-31
モデレーション
いいえ
OPENROUTER

料金の詳細

OpenRouterと同期した料金です。トークン料金は100万トークン単位です。

入力
$0.15
100万トークンあたり
出力
$0.45
100万トークンあたり
キャッシュ読込
$0.015
100万トークンあたり
API

モデル設定

既定パラメータ

temperature
0.3
API

クイックスタート

ローカルにOPENROUTER_API_KEYを設定してください。Pythonにはrequestsが必要です。JavaScriptはNode.jsで実行し、キーはサーバー側で管理してください。

基になるモデルIDで非同期バッチを送信します。ジョブIDの返却は送信受付を意味し、完了ではありません。

APIドキュメント

curl --fail-with-body https://openrouter.ai/api/beta/batches \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"endpoint":"/v1/chat/completions","model":"mistralai/codestral-2508","requests":[{"custom_id":"request-1","body":{"messages":[{"role":"user","content":"Hello!"}]}}]}'

# Replace JOB_ID with the returned id to check progress.
curl --fail-with-body "https://openrouter.ai/api/beta/batches/JOB_ID" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY"
機能とモダリティ

入力 → 出力

入力
textfile
出力
text
API

対応APIパラメータ

frequency_penaltymax_tokenspredictionpresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p
利用可能なプロバイダー

1 プロバイダー

確認日: 2026年9月10日

OpenRouterでプロバイダーを見る

可用性、遅延、スループット、ルーティングは常時変化します。最新情報は出典ページで確認してください。

OpenRouter

Mistral

情報なし
コンテキスト
256K
最大出力
205K
入力
$0.15
出力
$0.45
キャッシュ読込
$0.015
キャッシュ書込
情報なし
mistralai

4 モデル

すべてのモデル
mistralai logomistralai

Mistral: Voxtral TTS 3

Voxtral TTS 3 is Mistral's text-to-speech model. It converts text into natural-sounding speech, offers a library of preset voices, supports zero-shot voice cloning, and accepts emotion and pace tags in...

コンテキスト
4K
入力
text
出力
speech
文字: $13 100万文字あたり
モデル詳細を見る →
mistralai logomistralai

Mistral: Voxtral Small Transcribe 3

Voxtral Small Transcribe 3 is Mistral's flagship speech-to-text model. It takes audio input and returns a transcript with timestamps and speaker diarization, and supports context biasing for domain-specific vocabulary. Suited...

コンテキスト
66K
入力
audio
出力
transcription
音声の長さ: $0.000067 1秒あたり
モデル詳細を見る →
mistralai logomistralai

Mistral: Voxtral Mini Transcribe 3

Voxtral Mini Transcribe 3 is Mistral's compact speech-to-text model. It takes audio input and returns a transcript with timestamps and speaker diarization. It also supports context biasing for domain terms....

コンテキスト
66K
入力
audio
出力
transcription
音声の長さ: $0.000058 1秒あたり
モデル詳細を見る →
mistralai logomistralai

Mistral: Mistral Large 4

Mistral Large 4 is a frontier multimodal (text and image input) model from Mistral AI built for reasoning, coding, and agentic workloads. It offers a 1M-token context window with up...

コンテキスト
1.0M
入力
text · image
出力
text
入力: $1.36出力: $4.18100万トークンあたり
モデル詳細を見る →