Openai error (Country, region, or territory not supported)

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

What is the issue or error you’re encountering

OpenAI REST API and AI Gateway not working — region issue?

What steps have you taken to resolve the issue?

both OpenAI REST API and AI Gateway are not working.
It seems like my region is routed through hk (Hong Kong), and that might be causing the problem.

Is anyone else having this issue?
Will this be resolved soon?

Make sure your country is in allowed API list https://help.openai.com/en/articles/5347006-openai-api-supported-countries-and-territories

If not try using openrouter.ai instead to access your desired LLM model. Works with Cloudflare AI Gateway OpenRouter · Cloudflare AI Gateway docs

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