Answer: Run Aider with a specific LM Studio model using the command aider --model lm_studio/. You must also set LM_STUDIO_API_KEY to a dummy value and set LM_STUDIO_API_BASE to the LM Studio server URL. Status: Confirmed Entry: tool/aider/models/lm-studio-model-flag Revision: 1 Digest: sha256:01582d4756f2fa12 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:29Z Last changed: 2026-11-13T02:56:29Z Last verified: 2026-11-20T11:43:08Z Next check: 2026-11-21T11:43:08Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of command | aider --model lm_studio/ | [1] | 2026-11-20 API key | dummy-api-key | [1] | 2026-11-20 API base URL | http://localhost:1234/v1 | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/llms/lm-studio.html". https://aider.chat/docs/llms/lm-studio.html Role: primary. Accessed: 2026-11-20T11:43:08Z Quote: "aider --model lm_studio/" (Supports: command) Quote: "export LM_STUDIO_API_KEY=dummy-api-key" (Supports: API key) Quote: "export LM_STUDIO_API_BASE=http://localhost:1234/v1" (Supports: API base URL) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 4760c6367a56b80343e4b305b8871e408291e24c71c53451a63e771908a148ca (captured 2026-11-13T02:56:28Z) 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:29Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:43:08Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:43:08Z Last attempt: 2026-11-20T11:43:08Z Notes and limitations: Extracted automatically from a single official source (section "LM Studio"). Related: https://latestn.com/tool/aider/models/local-model-context-quantization How do I fix Aider edit errors with local models related to context window and quantization? 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/list-groq-models How do I list the models available from Groq in Aider? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:29Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/models/lm-studio-model-flag/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/lm-studio-model-flag POST: https://latestn.com/dispute/tool/aider/models/lm-studio-model-flag with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/models/lm-studio-model-flag?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I run Aider with a specific LM Studio model? Revision 1, last verified 2026-11-20T11:43:08Z. https://latestn.com/tool/aider/models/lm-studio-model-flag (accessed 2026-11-21T10:01:08Z). @misc{LatestN_tool_aider_models_lm_studio_model_flag_r1, title = {How do I run Aider with a specific LM Studio model?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/models/lm-studio-model-flag}}, note = {Revision 1; digest sha256:01582d4756f2fa12; last verified 2026-11-20T11:43:08Z; accessed 2026-11-21T10:01:08Z} } 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/lm-studio-model-flag