Using Vertex AI with OpenAI‑Compatible Endpoints and Enforcing US‑Only

Hi everyone,

I’m trying to understand whether it’s possible to use the Vertex AI Gemini API through the OpenAI‑compatible interface while ensuring that all requests are processed exclusively within US regions.

My understanding is:

  • When using the Vertex AI Gemini API directly (via Vertex endpoints), I can select a regional endpoint-for example, a US region-to ensure that requests are routed and processed there.

  • However, when using a Gemini API key from Google AI Studio, requests are routed through the global endpoint, which does not guarantee US‑only processing.

What I’d like to confirm is:

If my application is configured to use OpenAI‑compatible endpoints (per: https://ai.google.dev/gemini-api/docs/openai),

is there a way to force all requests to go to a US‑based Vertex AI regional endpoint only?

Or, put differently:

  • Is regional routing supported when using OpenAI compatibility for Vertex AI?

  • Or is it not possible, meaning I would need to use the native Vertex AI client/endpoint configuration instead of the OpenAI‑compatible interface?

I would really appreciate any guidance or best practices on how to achieve US‑only request routing in this OpenAI- setup.

Thank you in advance for your insights and suggestions