Get started

EU hosting

On this page

Send requests to the EU base URL and your prompts and completions are processed in the European Union. Inference runs on providers in EU member states, and a request is never sent outside the EU to complete it.

EU base URL
https://eu.api.straitly.ai/v1
API key
Your existing Straitly key. No new account or key
Endpoints
/chat/completions, /messages and /models, same as the global API
Data retention
Zero data retention, on by default, same as the global API
Outside the EU
Never. If a model has no EU route, the request returns an error

Use the EU endpoint

Change only the base URL. Everything else in your code stays the same: the request body, streaming, tool calling and structured outputs.

curl https://eu.api.straitly.ai/v1/chat/completions \
  -H "Authorization: Bearer $STRAITLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "MODEL_ID",
    "messages": [{"role": "user", "content": "Say hello in one sentence."}]
  }'
bash

Replace MODEL_ID with an ID from the EU model list below. The Anthropic SDK adds /v1/messages itself, so its base URL leaves off /v1.

Find models available in the EU

The EU model list is its own. Call /models on the EU base URL; every ID it returns can be served in the EU.

curl https://eu.api.straitly.ai/v1/models \
  -H "Authorization: Bearer $STRAITLY_API_KEY"
bash

How EU requests are routed

  • The request is received, decrypted and handled in the EU.
  • It is routed only to provider endpoints in the EU.
  • If no EU route can serve the model, the request fails with an error. It does not fall back to a route outside the EU.
  • Pick model IDs from the EU /models list to avoid these errors. A model on the global list may not be on the EU list.

What stays in the EU

DataWhere it is processed
Prompts, images and files you sendEU only, never stored
Completions and tool callsEU only, never stored
Model inferenceEU only
Request handling and routingEU only
Account, keys, team and billingStraitly account systems, may be outside the EU
Usage metadata (time, model, token counts, cost)Straitly account systems, may be outside the EU

Usage metadata is the same billing record described in Data retention. It never contains prompt or completion text.

FAQ

Do I need a new key or account? No. Any Straitly key works on both base URLs.

Can I use both? Yes. Point EU workloads at the EU base URL and the rest at https://api.straitly.ai/v1. Balance, keys and Activity are shared.

Does it work with Cursor, Claude Code and other tools? Yes. Use the EU base URL wherever a tool guide asks for the Straitly base URL.

Is zero data retention on in the EU? Yes, by default, with nothing to enable.

Do you sign a DPA? Yes. We sign a data processing agreement on request. Email support@straitly.ai for a DPA or anything else your security review needs in writing.