# Model routing with Google Cloud API Gateway

DevFeed: [Model routing with Google Cloud API Gateway](<https://devfeed.tech/articles/model-routing-with-google-cloud-api-gateway-4201.md>)

Original publisher: [Read original article](<https://developers.googleblog.com/a-unified-api-for-ai-model-routing/>)

Author: Mak Ahmad; Sanjay Pujare

Published: 2026-09-12T11:04:33.891311Z

Content type: article

Language: en

Sources: [Google Developers Blog](<https://devfeed.tech/sources/google-developers-blog.md>)

Topics: [Amazon API Gateway](<https://devfeed.tech/topics/amazon-api-gateway.md>), [Model Routing](<https://devfeed.tech/topics/model-routing.md>), [Google](<https://devfeed.tech/topics/google.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [OpenAPI Specification](<https://devfeed.tech/topics/openapi.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Claude](<https://devfeed.tech/topics/claude.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>)

Tags: [ai-gateway](<https://devfeed.tech/tags/ai-gateway.md>), [api-gateway](<https://devfeed.tech/tags/api-gateway.md>), [claude](<https://devfeed.tech/tags/claude.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [google](<https://devfeed.tech/tags/google.md>), [model-routing](<https://devfeed.tech/tags/model-routing.md>), [models](<https://devfeed.tech/tags/models.md>), [openai](<https://devfeed.tech/tags/openai.md>), [openapi](<https://devfeed.tech/tags/openapi.md>), [serverless](<https://devfeed.tech/tags/serverless.md>)

## AI overview

Google Cloud API Gateway adds model routing in Public Preview, providing a serverless, OpenAI-compatible endpoint that dynamically routes requests to Gemini, Claude, or OpenAI OSS-GPT. Developers can configure routing in OpenAPI specifications, centralize model changes, and separate application authentication from backend model credentials.

## Source excerpt

Google Cloud API Gateway now offers a model routing feature in Public Preview, allowing developers to dynamically route traffic to models like Gemini, Claude, or OpenAI OSS-GPT without hardcoding endpoints or managing open-source proxies. Developers can easily configure these routing rules directly within their OpenAPI 3.x specifications by mapping virtual model names to specific backend targets on a shared host. Once deployed, the Gateway acts as a serverless ingress layer that accepts standard OpenAI-compatible requests, automatically transcodes the payload to the native schema of the target model, and routes the traffic on the fly.