GPTMap

OpenAI models land on Google Cloud: the Responses API on Vertex AI and the SDK vertex() provider

The 2026-10-21 announcement brings OpenAI frontier models and Codex workflows to Gemini's Model Garden. The same day, openai-python v3.36.0 and openai-node v7.41.0 shipped a vertex() provider so standard clients can call Vertex directly.

TL;DR
On 2026-10-21 OpenAI announced frontier models and Codex workflows to Gemini's Model Garden. Same day openai-python 3.36.0 (#4139) and openai-node 7.41.0 (#3005) added a vertex() provider for the Responses API: standard clients take provider=vertex(project=, location=). ADC needs the openai[vertex] extra; token_provider does not; HTTPS forced, redirects disabled. Model list and pricing: unstated.
vertex() is a provider configuration function added in OpenAI's official SDKs (openai-python v3.36.0+, openai-node v7.41.0+): it lets a standard OpenAI / AsyncOpenAI client send Responses API requests to OpenAI models hosted on Google Cloud Vertex AI without changing call sites, pairing with the 2026-10-21 OpenAI and Google Cloud announcement about Gemini's Model Garden. Authentication uses Google-side credentials (ADC, credentials, or a token_provider callback); no OpenAI API key is needed.

OpenAI models just picked up a new distribution channel. On 2026-10-21 an official announcement and same-day updates to both official SDKs turned this from rumor into something you can run: openai-python v3.36.0 and openai-node v7.41.0 each merged a vertex() provider that lets a standard OpenAI / AsyncOpenAI client send Responses API requests straight to Google Cloud Vertex AI. This article walks through what the announcement says, how to configure the SDK, where the guardrails are, and what remains unsaid — every parameter-level fact comes from sources loaded for this batch.

1. What the announcement says

The official news RSS carried an item at 2026-10-21 12:00 GMT titled "OpenAI models are coming to Google Cloud", with this description:

OpenAI and Google Cloud are bringing frontier models and Codex workflows to Gemini’s Model Garden, available through Google Cloud Marketplace.

That breaks into three facts: OpenAI frontier models are entering Gemini's Model Garden; Codex workflows come along; and the delivery channel is Google Cloud Marketplace. Note the announcement page itself (openai.com/index/openai-models-google-cloud) returned 403 to this site's fetch on 2026-10-23 — the quote above comes from the RSS item fields. This is the full extent of the announcement wording this site can assert; details such as which models, at what price, and in which regions did not appear in any officially loadable channel that day.

2. The Python side: standard client plus a provider argument

openai-python v3.36.0 (published_at 2026-10-21T15:53:22Z per the release notes) leads its Features section with add Vertex AI support for the Responses API (#4139). The PR description and the vertex.md shipped inside the v3.37.0 tag give the complete usage:

pip install 'openai[vertex]'
from openai import OpenAI
from openai.providers import vertex

client = OpenAI(provider=vertex(project="my-google-project", location="us-east5"))
response = client.responses.create(model="your-enabled-model", input="Hello", store=False)
print(response.output_text)

Three details worth calling out, all from the tag docs and source:

  1. Every vertex() argument is keyword-only: project, location, base_url, token_provider, credentials. project and location fall back to the GOOGLE_CLOUD_PROJECT / GOOGLE_CLOUD_LOCATION environment variables; if neither is available the client raises OpenAIError (message text: Vertex requires a project ID).
  2. The example call sets store=False. The docs do not explain why the example defaults to disabled storage; this article does not infer a reason.
  3. credentials and token_provider are mutually exclusive: passing both raises OpenAIError (message text: Set only one of credentials and token_provider).

3. How the endpoint is derived

The default endpoint rules can be read directly from src/openai/providers/vertex.py in the v3.37.0 tag:

  • When location == "global" the host is aiplatform.googleapis.com; otherwise it is {location}-aiplatform.googleapis.com;
  • The full path is /v1/projects/{project}/locations/{location}/publishers/openai/v1 — publishers/openai is a literal path segment whose meaning the official docs do not explain;
  • With an explicit base_url=, it must be the complete API root before /responses, and must not carry credentials, a query string, or a fragment (URL validation raises OpenAIError otherwise).

The validation rules are in the source too: project accepts letters, digits, underscore, dot, colon, and hyphen (a comment notes this covers dotted domain-scoped projects); location accepts lowercase letters, digits, and hyphens only.

4. The Node side: the same surface, written its own way

openai-node v7.41.0 (published_at 2026-10-21T15:30:50Z) landed the same feature as add Vertex AI support for the Responses API (#3005). The example from the tag's docs/vertex.md:

npm install openai 'google-auth-library@>=9.15.1 <11'
import OpenAI from 'openai';
import { vertex } from 'openai/providers/vertex';

const client = new OpenAI({
  provider: vertex({ project: 'my-google-project', location: 'us-east5' }),
});

const response = await client.responses.create({
  model: 'your-enabled-model',
  input: 'Hello',
  store: false,
});

console.log(response.output_text);

The node docs add three statements the python docs do not spell out: streaming, tools, timeouts, and retries use the ordinary SDK methods and options; authentication uses Google credentials and no OpenAI API key is needed; and per PR #3005, Vertex owns its authentication helper with no dependency on Bedrock's implementation (This PR makes no changes to src/internal/bedrock.ts).

5. Authentication options and security boundaries

Both implementations write the same boundaries into code:

MethodExtra dependencyFits when
Google ADC (default discovery)python: extra openai[vertex]; node: google-auth-library@>=9.15.1 <11Standard GCP environments with automatic discovery and refresh
Explicit credentials=Same as above (pass a ready Google credentials object)Your application already holds Google credentials
token_provider= callbackNone — the base package sufficesYour application manages token refresh; the node docs flag this mode for bundling

On security, the PR descriptions and docs state four boundaries: credentials are bound to the configured origin; redirects are disabled; Google API endpoints require HTTPS (http requests against *.googleapis.com error out immediately); and on the python side ADC discovery and refresh run under a thread lock with timeout handling — the async token_provider callback runs on the event loop and must not block, with the read timeout as the backstop, raising APITimeoutError when exceeded.

6. What the official sources do not say (and this article will not fill in)

None of these questions had an answer in any channel this site could load on 2026-10-23, itemized for the record:

  • Model list: the announcement says only frontier models, naming no model IDs; the SDK docs example uses the placeholder your-enabled-model and states plainly that "Model and feature availability depend on your Google Cloud deployment".
  • Pricing: no figures in either release notes set, the tag docs, or the RSS description.
  • Region list: the docs example uses us-east5, but that is a sample value; no official region list appeared.
  • What Codex workflows means concretely: the announcement mentions Codex workflows, but the Codex-side documentation index (developers.openai.com/codex) had no Vertex-related page that day — this article makes no claim about what that sentence becomes.
  • Other API surfaces: both PR titles scope to the Responses API; whether vertex support exists or is planned for Chat Completions or anything else is unstated.

7. Common errors and troubleshooting

  • Vertex requires a project ID / Vertex requires a location: neither the arguments nor the environment variables were set. Note the location validator only accepts lowercase letters, digits, and hyphens.
  • Set only one of credentials and token_provider: the two auth arguments are mutually exclusive — pick one.
  • Google Vertex endpoints require HTTPS: you passed http for a googleapis.com host. Switch to https.
  • Install openai[vertex] to use Google credentials: ADC or credentials= was used without the extra. Install openai[vertex] (or google-auth-library on node), or switch to token_provider=.
  • APITimeoutError from the async callback: your token_provider callback returned after the read timeout. Make the callback non-blocking and fast.

8. Next steps

Key points

  • Announcement and SDK support landed the same day: the official news RSS carried the 2026-10-21 12:00 GMT item 'OpenAI models are coming to Google Cloud' (description reads: bringing frontier models and Codex workflows to Gemini’s Model Garden, available through Google Cloud Marketplace; the article page returned 403 to this site that day, so facts come from the RSS fetch); python v3.36.0 and node v7.41.0 shipped vertex support the same day
  • vertex() covers the Responses API only — both PRs are titled add Vertex AI support for the Responses API; whether other API surfaces are covered is not stated in either release, and this article does not infer it
  • The endpoint derives from project and location: https://{location}-aiplatform.googleapis.com/v1/projects/{project}/locations/{location}/publishers/openai/v1 (location global uses aplatform.googleapis.com); base_url= can set an explicit API root, and the docs say to pass it only when you trust the full API root to receive Google credentials
  • Three auth options: Google ADC (python extra: pip install 'openai[vertex]'; node: google-auth-library@>=9.15.1 <11), explicit credentials=, or a token_provider= callback (no extra; on AsyncOpenAI the callback may return an awaitable, bounded by the read timeout, raising APITimeoutError); credentials and token_provider are mutually exclusive and raise OpenAIError together
  • Security boundaries are built in: Google endpoints require HTTPS (http against googleapis.com errors out), redirects are disabled, credentials go only to the configured origin; project/location are format-validated (project allows alphanumerics, underscore, dot, colon, hyphen; location is lowercase alphanumerics and hyphens only)
  • The official example calls responses.create with store=False; python v3.36.0 also carried fix #4140 (preserve Vertex API root for response lifecycle); which OpenAI models are live on Vertex, pricing, and regions were not available in any source loadable on the day of writing (unverified)

Frequently asked questions

Per the joint 2026-10-21 announcement, models reach Gemini's Model Garden through Google Cloud Marketplace. On the SDK side, use vertex() from openai-python v3.36.0+ or openai-node v7.41.0+ to point a standard OpenAI client at your Google Cloud project and location, then send Responses API requests. Model enablement depends on your project/region configuration — the SDK docs read 'Model and feature availability depend on your Google Cloud deployment'.

Official references

Related articles

Subscribe to GPTMap Weekly

One email every Monday: curated OpenAI updates, deep dives, and best practices. No ads, unsubscribe anytime.

Submitting opens Buttondown in a new tab to confirm your subscription.

GPTMap EditorialPublished 2026-10-23 7 min read
Test environment (EEAT)
Last tested: 2026-10-23
Model used: SDK: openai-python ≥ 3.36.0 / openai-node ≥ 7.41.0 (vertex provider); public API surface is the Responses API