· 2 min read
An OpenAI-compatible API from the EU: build AI apps without US clouds
How development teams build AI features on EU-hosted models: what API compatibility means in practice, where it pays off — and how budgets stay under control.
Many development teams are stuck in the same dead end with AI: the business units want AI features, the prototype against a US API was built in an hour — and then comes the no from data protection or procurement. The alternative, running your own models on your own GPU infrastructure, is neither economical nor realistic in terms of staffing for most mid-sized companies.
There is a third way: an OpenAI-compatible API on EU-hosted models.
What "OpenAI-compatible" means in practice
OpenAI's API format (chat completions) has become the de-facto standard. Almost every AI library, framework and tool can speak this format. "Compatible" therefore means concretely: you change the base URL and the API key — the rest of your code stays.
from openai import OpenAI
client = OpenAI(
base_url="https://<your-futureway-gateway>/v1", # instead of api.openai.com
api_key="<your-platform-key>",
)
response = client.chat.completions.create(
model="<model-id from the Code & API area>",
messages=[{"role": "user", "content": "Summarize this proposal: ..."}],
)
This has two pleasant consequences. First: no lock-in in your own code — the format remains standard, regardless of which models work behind it. Second: the existing ecosystem (SDKs, CLI tools, editor integrations) keeps working unchanged, just against EU infrastructure.
Where it pays off
Typical first use cases:
- Internal tools: Summaries, classification and extraction directly in existing business applications — the most obvious category, often implemented in a few hundred lines of code.
- Automation via scripts: Batch processing of documents, reports or tickets — wherever a cron job plus an API call is enough and a visual workflow builder would only get in the way.
- A code agent in the terminal: With OpenCode, an AI agent works directly in your repository — connected to the same gateway, set up in three steps.
The common denominator: automation as code. Scripts can be versioned, reviewed and tested — click-paths in no-code tools cannot. If you treat your AI automation like software, you can operate it like software.
Governance: keys, budgets, visibility
An enterprise API needs more than an endpoint. Three things you should expect:
- Personal API keys per user — create, rotate and revoke in self-service, valid only for your own organization.
- Budgets instead of a blank check: API usage runs against the same quota as chat usage — no shadow budget, no surprise bill.
- Usage visibility: Who consumes how much, with which models? Visible to admins in aggregate — content stays out of it.
And the data question?
The real reason for the EU route remains the same as with chat: prompts quickly contain trade secrets, customer data, internal code. At FutureWay AI, all models run on European infrastructure — 100% of AI processing in the EU, with a complete, public subprocessor list. We wrote up which jurisdiction questions companies should ask US providers in our CLOUD Act article.
From zero to the first call in five minutes
The platform's Code & API area walks you through the setup: create a key, copy the base URL, get going — with snippets for curl, Python and JavaScript. Try FutureWay AI free for 14 days — no credit card required.
