Answer: Aider can work with local models, for example using Ollama, and can also access local models that provide an OpenAI compatible API. Status: Confirmed Entry: tool/aider/models/connect-local-models Revision: 1 Digest: sha256:a8c9e42e63daaa5d (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:22Z Last changed: 2026-11-13T02:56:22Z Last verified: 2026-11-20T11:42:48Z Next check: 2026-11-21T11:42:48Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of local model option | Ollama | [1] | 2026-11-20 API compatibility | Open AI compatible API | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/llms.html". https://aider.chat/docs/llms.html Role: primary. Accessed: 2026-11-20T11:42:48Z Quote: "Aider can work also with local models, for example using Ollama ." (Supports: local model option) Quote: "It can also access local models that provide an Open AI compatible API ." (Supports: API compatibility) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 633cac70a9392f7e7e62e1520194fe235861fa69578e3fc66c2d921d1def55a4 (captured 2026-11-13T02:56:22Z) 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:22Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:42:48Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:42:48Z Last attempt: 2026-11-20T11:42:48Z Notes and limitations: Extracted automatically from a single official source (section "Local models"). Related: https://latestn.com/tool/aider/models/connect-openai-compatible-api How do I connect Aider to an OpenAI-compatible API? https://latestn.com/tool/aider/models/context-window-size-token-costs How do I set the context window size and token costs for an Aider model? https://latestn.com/tool/aider/models/contribute-benchmark-results How can I contribute benchmark results to Aider's code editing leaderboard? https://latestn.com/tool/aider/models/connect-aider-to-azure How do I connect Aider to Azure OpenAI models? https://latestn.com/tool/aider/models/connect-aider-to-openai How do I connect Aider to OpenAI models? https://latestn.com/tool/aider/models/connect-aider-to-openrouter How do I connect Aider to OpenRouter? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:22Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/models/connect-local-models/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/connect-local-models POST: https://latestn.com/dispute/tool/aider/models/connect-local-models with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/models/connect-local-models?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I connect Aider to a local model? Revision 1, last verified 2026-11-20T11:42:48Z. https://latestn.com/tool/aider/models/connect-local-models (accessed 2026-11-21T09:59:12Z). @misc{LatestN_tool_aider_models_connect_local_models_r1, title = {How do I connect Aider to a local model?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/models/connect-local-models}}, note = {Revision 1; digest sha256:a8c9e42e63daaa5d; last verified 2026-11-20T11:42:48Z; accessed 2026-11-21T09:59:12Z} } 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/connect-local-models