GoodPrompts
Main navigation
Model guides

Prompting Mistral

Select general, coding, document or audio workflows and keep the task contract explicit.

Sources checked Official documentationweb · api · local · coding-agent

Model selection

Model or serviceUse caseModel ID or access
Mistral Large 4General multimodal workmistral-large-4-0
Mistral Small 4Efficient reasoning and codingmistral-small-2603
CodestralCode completioncodestral-2508
OCR 4.1Document text and structuremistral-ocr-4-1
VoxtralTranscription and speechModel catalog

Which model to choose

Route document parsing to OCR and transcription to the audio family. For ordinary text tasks, compare the general models on quality and task latency.

Using the chat or local app

State whether the deliverable is a response, a document or a repository change. Supply the relevant source and the output structure the next user will need.

Using the API

Select the exact model from Studio's catalog. Put stable behavior in a system message and task material in a user message. Check schema and tool support on the chosen model.

POST https://api.mistral.ai/v1/chat/completions

{
  "model": "mistral-large-4-0",
  "messages": [
    {
      "role": "system",
      "content": "Use only supplied facts."
    },
    {
      "role": "user",
      "content": "Prepare a handover from {{notes}}."
    }
  ]
}

Prompting advice

  • Use delimiters around material that contains its own instructions.
  • Test the output on the downstream document or parser.
  • Record a dated model ID for comparisons. Route OCR to its document-processing endpoint and keep it separate from a text chat request.

Example prompt template

Turn {{notes}} into a handover. Use sections for completed work, open issues and next actions. Give an owner only where the notes name one.

Sources