0
Prompts
Mistral models are fast and cheap for classification, extraction and short generation. They reward tight prompts: a short role line, the rule set, and the input. Long rambling context tends to hurt rather than help.
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.