Answer: Aider needs the VERTEXAI_PROJECT (the GCP project ID) and VERTEXAI_LOCATION (the GCP region) environment variables. Status: Confirmed Entry: tool/aider/settings/vertex-ai-environment-variables Revision: 1 Digest: sha256:f5900327be378789 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:31Z Last changed: 2026-11-13T02:56:31Z Last verified: 2026-11-20T11:43:17Z Next check: 2026-11-21T11:43:17Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of VERTEXAI_PROJECT | VERTEXAI_PROJECT | [1] | 2026-11-20 VERTEXAI_LOCATION | VERTEXAI_LOCATION | [1] | 2026-11-20 Example VERTEXAI_PROJECT value | my-project | [1] | 2026-11-20 Example VERTEXAI_LOCATION value | us-east5 | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/llms/vertex.html". https://aider.chat/docs/llms/vertex.html Role: primary. Accessed: 2026-11-20T11:43:17Z Quote: "you need to set VERTEXAI_PROJECT (the GCP project ID) and VERTEXAI_LOCATION (the GCP region) environment variables" (Supports: VERTEXAI_PROJECT, VERTEXAI_LOCATION) Quote: "VERTEXAI_PROJECT=my-project" (Supports: Example VERTEXAI_PROJECT value) Quote: "VERTEXAI_LOCATION=us-east5" (Supports: Example VERTEXAI_LOCATION value) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 6e14657c1ff09e359d0da9f1ee0c9fde23368f858dde9cd8b7c6f72c3bf48029 (captured 2026-11-13T02:56:31Z) 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:31Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:43:17Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:43:17Z Last attempt: 2026-11-20T11:43:17Z Notes and limitations: Extracted automatically from a single official source (section "Vertex AI"). Related: https://latestn.com/tool/aider/settings/vertex-ai-yaml-model-config How do I set the Vertex AI model in Aider's YAML config file? https://latestn.com/tool/aider/settings/yaml-config-file How do I set Aider options in a .aider.conf.yml file? https://latestn.com/tool/aider/troubleshooting/aider-replit-libstdc-crash Why does Aider crash with a missing libstdc++.so.6 library on Replit? https://latestn.com/tool/aider/settings/set-openai-anthropic-api-key-env How do I set the OpenAI or Anthropic API key for Aider using environment variables or a .env file? https://latestn.com/tool/aider/settings/set-openai-api-key How do I set the OpenAI API key for Aider? https://latestn.com/tool/aider/settings/specify-coding-conventions How do I specify coding conventions for Aider? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:31Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/settings/vertex-ai-environment-variables/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/settings/vertex-ai-environment-variables POST: https://latestn.com/dispute/tool/aider/settings/vertex-ai-environment-variables with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/settings/vertex-ai-environment-variables?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which environment variables does Aider need for Vertex AI (VERTEXAI_PROJECT and VERTEXAI_LOCATION)? Revision 1, last verified 2026-11-20T11:43:17Z. https://latestn.com/tool/aider/settings/vertex-ai-environment-variables (accessed 2026-11-21T10:01:56Z). @misc{LatestN_tool_aider_settings_vertex_ai_environment_variables_r1, title = {Which environment variables does Aider need for Vertex AI (VERTEXAI_PROJECT and VERTEXAI_LOCATION)?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/settings/vertex-ai-environment-variables}}, note = {Revision 1; digest sha256:f5900327be378789; last verified 2026-11-20T11:43:17Z; accessed 2026-11-21T10:01:56Z} } 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/settings/vertex-ai-environment-variables