Migration

A European alternative to the OpenAI API

Keep your SDK and your code. Change base_url. Open-weight models served from EU regions on hardware AxForge owns, with zero prompt retention. And an honest section on when OpenAI is still the better choice.

api.axforge.ai/v1 eu-se-1 · Stockholm
Get API access Talk to an engineer Ask the community Create an account. Your key is in the console. 3M free tokens every 30 days with every new account, after a card check (nothing charged).

The switch

One line changes: base_url

# pip install openai · the key is read from AXFORGE_API_KEY
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.axforge.ai/v1",  # was: api.openai.com
    api_key=os.environ["AXFORGE_API_KEY"],
)
r = client.chat.completions.create(
    model="qwen3.8-27b",  # was: a GPT model name
    messages=[{"role": "user", "content": "Hello from Stockholm"}],
)
print(r.choices[0].message.content, r.usage)
The OpenAI SDK with AxForge: streaming, tools, images
# your API key, from API Keys
export AXFORGE_API_KEY="YOUR_KEY"

curl https://api.axforge.ai/v1/chat/completions \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"qwen3.8-27b","messages":[{"role":"user","content":"Summarize DORA in one paragraph."}]}'
Your first call, step by step, in every language and shell

Compatibility

What maps 1:1

SurfaceOn AxForge
Chat completionsSame API shape: Qwen3.8 27B and MiMo-V2.6-Flash, each with a 262,144-token context, and GLM-5.3-Flash and Qwen3.8 Flash Next with 500,000
StreamingSame, with usage reporting in streaming and non-streaming modes
Tool callsSame shape
EmbeddingsSame shape: Qwen3-Embedding-0.6B, 1024-dim vectors
ImagesGeneration endpoint: ERNIE Image Turbo, €0.04 / image; editing via FLUX.2 Klein
AudioTranscription (Whisper base) and speech (Piper)

No spin

What is different, honestly

DifferenceThe honest version
ModelsOpen-weight models, not GPT. Qwen3.8 27B, GLM-5.3-Flash, MiMo-V2.6-Flash and Qwen3.8 Flash Next are available now; further open-weight models are available as managed deployments. Run your own evals. The switch is one line of code.
Model menuSmaller and curated. OpenAI's catalogue and feature surface are far larger.
HostingEU regions on named hardware: NVIDIA DGX Spark (GB10) systems AxForge owns in Sweden. TLS 1.3 terminates in the EU. The console shows the region and machine your key runs on, and every response carries the model identity.
Data handlingZero prompt retention: prompts and completions processed in memory, never written to disk, logged, retained or used to train. Metadata only (token counts, timestamps, status).
PricingPublished: Qwen3.8 27B at €0.096 / 1M input · €0.50 / 1M output; image generation €0.04 / image, editing €0.048 / edit; the rest is on the price list. Run it against your current bill.
AccessCreate an account and start using the API. Your key is in the console. 3M free tokens every 30 days with every new account, after a card check (nothing charged).

Credibility

When OpenAI is the better choice

If your workload needs frontier-model quality (the hardest reasoning, coding or multimodal tasks), OpenAI's latest models will beat the open-weight models we serve, and pretending otherwise would waste your evaluation time. The same goes if you depend on OpenAI-specific features, its much larger model menu and ecosystem, or instant scale at frontier-provider volume. In those cases, stay.

Choose AxForge when the binding constraints are different: prompts that must be processed in the EU, a retention posture you can defend in writing, and knowing exactly which machine serves you. That is what we build: GDPR compliant EU infrastructure. Qwen3.8 27B handles a wide range of production chat, extraction and tool-use workloads at a published price.

Data & privacy

Zero prompt retention

Prompts and completions are processed in memory in Sweden: never written to disk, logs or backups, and never used to train anything. We keep only request metadata (token counts, timestamps, status) for billing and operations. The full policy is at axforge.ai/privacy.

FAQ

European OpenAI alternative: common questions

Will the official OpenAI SDK work with AxForge?

Yes. Chat completions, streaming, tool calls and usage reporting follow the OpenAI API shape, so the official SDKs work by changing base_url to https://api.axforge.ai/v1 and swapping the model name.

Which model replaces GPT in my code?

There are no GPT models here. The served chat models today are Qwen3.8 27B (qwen3.8-27b), GLM-5.3-Flash (glm-5.3-flash), MiMo-V2.6-Flash (mimo-v2.6-flash) and Qwen3.8 Flash Next (qwen3.8-flash-next), all open-weight; further open-weight models are available as managed deployments. Most teams find the switch takes an afternoon. Run your own evals and see.

Is AxForge cheaper than OpenAI?

Our prices are published and aggressively low: Qwen3.8 27B at €0.096 in / €0.50 out per million tokens. Run them against your current bill.

What do I give up by switching?

Frontier-model quality on the hardest tasks and a much larger model menu and ecosystem. What you gain: EU hosting on named hardware, zero prompt retention, and transparent serving, with instant account creation, same as you're used to.

Where is AxForge hosted and what is retained?

EU regions on hardware AxForge owns: serverless inference in Stockholm, Sweden (eu-se-1) on NVIDIA DGX Spark (GB10) systems; dedicated GPU rentals in Stockholm (eu-se-1) and Málaga, Spain (eu-es-1). Prompts are processed in memory, never stored, logged or used to train; only billing metadata is kept. See the privacy policy.

When should I stay on OpenAI?

When frontier quality is the binding constraint, when you depend on OpenAI-specific features or ecosystem, or when you need instant scale at frontier-provider volume. If EU residency, zero retention and hardware transparency matter more, that is what we are built for.

Related

Nearby on AxForge

Same API shape. European ground under it.

Get API access Talk to an engineer Ask the community
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms