Ben Epstein
04/08/2026, 10:30 PMclient<llm> VertexClaudeSonnet {
provider vertex-ai
options {
model "claude-sonnet-4-5@20250929"
location global
project_id my-project-id
anthropic_version "vertex-2023-10-16"
credentials env.GOOGLE_APPLICATION_CREDENTIALS
}
}
but this doesnt work. it generates a url like https://aiplatform.googleapis.com/v1/projects/... even though it needs to be https://us-east5-aiplatform.googleapis.com/v1/projects/... tested with baml 0.220.0Ben Epstein
04/08/2026, 10:32 PMglobal location only. For us-east5 it works.avery (BAML)
04/08/2026, 11:21 PMBen Epstein
04/08/2026, 11:22 PMavery (BAML)
04/08/2026, 11:25 PMavery (BAML)
04/08/2026, 11:37 PMavery (BAML)
04/08/2026, 11:38 PMBen Epstein
04/09/2026, 1:17 PMproject_id env.BAML_GCP_PROJECT but you cannot do
base_url "https://aiplatform.googleapis.com/v1/projects/${env.BAML_GCP_PROJECT}/locations/global/publishers/anthropic/models"avery (BAML)
04/09/2026, 1:36 PMavery (BAML)
04/09/2026, 1:37 PMavery (BAML)
04/13/2026, 4:08 PM