Choose an endpoint
The regional hostname is the policy boundary. A request cannot override it with
a conflicting
required_execution_region or required_data_region value.
Use the Phaseo SDK
Setregion when creating the client. Every supported request made by that
client uses the corresponding regional base URL.
"us" for US routing. Omit region, or use "global", for global
routing. The SDK rejects configurations that combine region with a custom
baseUrl or base_url, because the two options would select competing hosts.
Use Chat Completions
Use Responses
Use Messages
The Messages endpoint accepts the Anthropic request format while retaining the same regional provider restriction.Supported request features
Regional routing currently supports:- Text input and text output
- Streaming and non-streaming responses
- System and developer instructions
- Client-defined function tools and custom tools
- Tool results containing text
- Structured text and JSON output, when supported by the model
- Presets, provider ordering, fallbacks, and pricing limits that do not conflict with the regional policy
- Images, audio, video, documents, files, and attachments
- Non-text output modalities
- Provider-hosted tools such as web search, file search, code execution, computer use, and image generation
- Image, audio, video, embedding, moderation, batch, file, webhook, and realtime endpoints
Discover models available in a region
Call/v1/models through the same regional hostname you use for generation:
Verify the selected gateway
Regional responses include:The header identifies the regional Phaseo policy that handled the request. It is
not evidence of guaranteed Cloudflare execution residency.
Failure behavior
Regional routing fails closed. Phaseo never silently retries the request through a provider outside the hostname’s region.What regional routing covers
For an accepted generation request, Phaseo requires the selected provider route to declare both:- Model execution in the selected region
- Prompt and completion data handling in the selected region
Current limitations
This initial release does not guarantee that the complete request lifecycle stays inside the selected region:- Cloudflare Workers placement hints choose a location near the configured cloud region, but do not create a compliance boundary.
- Phaseo account, authentication, billing, and request metadata use shared Supabase infrastructure.
- Cloudflare KV and Worker invocation logs are not region-bound.
- Provider subrequests are constrained by the selected provider endpoint, not by Cloudflare’s placement setting.
- Support and operational access are not restricted to personnel in the selected region.