OpenAI-compatible Google endpoint in AI gateway?

For Workers & Pages, what is the name of the domain?

What is the error number?

What is the error message?

What is the issue or error you’re encountering

Google offers an OpenAI API-compatible endpoint, but AI gateway does not expose that one.

What steps have you taken to resolve the issue?

I’ve looked a the available AI gateway endpoints. There is support for Google AI Studio, but that one uses a very different request format than the standard OpenAI-compatible API. I need to send requests in the standard OpenAI-compatible format, and the Google options simply don’t work.

What are the steps to reproduce the issue?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.