0
Prompts
Mistral models are quick and cheap for classification, extraction and short generation. Keep the prompt tight: a short role line, the rules, the input. Long rambling context makes the output worse.
Models
A Modelfile with a system prompt and parameters tuned for short, correct code answers on a local model.
What local models are genuinely good for, what hardware you need, and what to change in prompts that came from a hosted model.