packages/kilo-docs/pages/ai-providers/vertex.md
Kilo Code supports accessing models through Google Cloud Platform's Vertex AI, a managed machine learning platform that provides access to various foundation models, including Anthropic's Claude family.
Website: https://cloud.google.com/vertex-ai
gcloud auth application-default login{% tabs %} {% tab label="VSCode (Legacy)" %}
us-east5).{% /tab %} {% tab label="VSCode" %}
Open Settings (gear icon) and go to the Providers tab to add GCP Vertex AI. The extension uses Google Application Default Credentials (ADC) for authentication — run gcloud auth application-default login before adding the provider. Set your project ID and region in the provider settings.
The extension stores this in your kilo.json config file. You can also edit the config file directly — see the CLI tab for the file format.
{% /tab %} {% tab label="CLI" %}
Vertex AI uses Google Application Default Credentials (ADC) for authentication. Set up ADC using the Google Cloud CLI:
gcloud auth application-default login
Set your project and region as environment variables:
export GOOGLE_CLOUD_PROJECT="your-project-id"
export GOOGLE_CLOUD_LOCATION="us-east5"
Config file (~/.config/kilo/kilo.json or ./kilo.json):
{
"provider": {
"google-vertex": {},
},
}
Then set your default model:
{
"model": "google-vertex/claude-sonnet-4@20250514",
}
{% /tab %} {% /tabs %}