Answer: Be especially careful about the Ollama context window, which defaults to very small and silently discards data if exceeded; also, quantized local models are more likely to have editing problems because they are not capable enough to follow aider's system prompts. Status: Confirmed Entry: tool/aider/models/local-model-context-quantization Revision: 1 Digest: sha256:610878010f3243ce (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:38Z Last changed: 2026-11-13T02:56:38Z Last verified: 2026-11-20T11:43:38Z Next check: 2026-11-21T11:43:38Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of context window caution | defaults to be very small and silently discards data if you exceed it | [1] | 2026-11-20 quantization issue | more likely to have editing problems | [1] | 2026-11-20 reason for quantization issue | not capable enough to follow aider’s system prompts | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/troubleshooting/edit-errors.html". https://aider.chat/docs/troubleshooting/edit-errors.html Role: primary. Accessed: 2026-11-20T11:43:38Z Quote: "It defaults to be very small and silently discards data if you exceed it." (Supports: context window caution) Quote: "Local models which have been quantized are more likely to have editing problems" (Supports: quantization issue) Quote: "they are not capable enough to follow aider’s system prompts" (Supports: reason for quantization issue) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 3a1df556b227c749b04496ee2ad3fb3853b8e6af1cfe57c266d94560977d992a (captured 2026-11-13T02:56:37Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T02:56:38Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:43:38Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:43:38Z Last attempt: 2026-11-20T11:43:38Z Notes and limitations: Extracted automatically from a single official source (section "Local models: context window and quantization"). Related: https://latestn.com/tool/aider/models/models-supporting-infinite-output Which models support infinite output in Aider? https://latestn.com/tool/aider/models/openrouter-provider-selection How do I control which OpenRouter provider Aider uses for a model? https://latestn.com/tool/aider/models/polyglot-leaderboard-models-scores What models are on the Aider polyglot coding leaderboard and what are their scores? https://latestn.com/tool/aider/models/list-models How do I list available models in Aider? https://latestn.com/tool/aider/models/litellm-other-llms How do I use other LLMs with Aider via LiteLLM? https://latestn.com/tool/aider/models/lm-studio-model-flag How do I run Aider with a specific LM Studio model? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:38Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/models/local-model-context-quantization/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/aider/models/local-model-context-quantization POST: https://latestn.com/dispute/tool/aider/models/local-model-context-quantization with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/models/local-model-context-quantization?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I fix Aider edit errors with local models related to context window and quantization? Revision 1, last verified 2026-11-20T11:43:38Z. https://latestn.com/tool/aider/models/local-model-context-quantization (accessed 2026-11-21T09:53:18Z). @misc{LatestN_tool_aider_models_local_model_context_quantization_r1, title = {How do I fix Aider edit errors with local models related to context window and quantization?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/models/local-model-context-quantization}}, note = {Revision 1; digest sha256:610878010f3243ce; last verified 2026-11-20T11:43:38Z; accessed 2026-11-21T09:53:18Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/aider/models/local-model-context-quantization