Skip to main content

STACKIT AI Model Serving

STACKIT AI Model Serving is available on the Spanway gateway through the stackit/ model prefix. You register a STACKIT AI Model Serving model once in the gateway's config.yaml (or through the Admin UI), and every application then calls it through the gateway's OpenAI-compatible API with a Spanway virtual key. The provider credential stays on the gateway, and every request is authenticated, rate limited, logged and costed in the same way as any other provider.

Unless you override it, the integration sends requests to https://api.openai-compat.model-serving.eu01.onstackit.cloud/v1. Set api_base in spanway_params to point at a different region, a private endpoint or a self-hosted deployment.

The provider exposes an OpenAI-compatible API, so the gateway reuses its OpenAI request translation and only changes the base URL and credential.

Supported endpoints​

The gateway's endpoint support matrix lists the following endpoints for STACKIT AI Model Serving. Each link explains the request shape and the gateway features that apply to that endpoint.

Model types​

The bundled price map lists 5 STACKIT AI Model Serving models across these modes: Chat. The mode decides which gateway endpoint a model is meant for, and it is also used by the gateway's health checks to send the right kind of test request.

Environment variables​

The STACKIT AI Model Serving integration reads the following environment variables. Variables marked as required are the ones the gateway's environment validation checks for this provider. You can also pass any of these values directly in spanway_params (for example api_key or api_base), and the per-model value wins over the environment.

VariableRequiredPurpose
STACKIT_API_KEYYesCredential the gateway sends to the provider
STACKIT_API_BASENoOverrides the provider base URL

Reference a variable from config.yaml with the os.environ/ prefix so that the secret never appears in the file itself. Secrets can also come from a secret manager, see secret managers.

Register a model on the gateway​

Add an entry to model_list in config.yaml. The model_name is the public name your applications send, and spanway_params.model tells the gateway which provider and upstream model to call.

model_list:
- model_name: Qwen3.8-27B
spanway_params:
model: stackit/Qwen/Qwen3.8-27B
api_key: os.environ/STACKIT_API_KEY

Start the gateway with this file:

export STACKIT_API_KEY="..."
spanway --config config.yaml
Private preview

Spanway is in private preview. The container images and Helm charts will be published soon. To request access, write to sales@spanway.ai, and preview customers receive download instructions in their onboarding pack.

To add the model without a restart, call POST /model/new with the same model_name and spanway_params, or use the Models + Endpoints page in the Admin UI. See model management for details.

Call the model through the gateway​

Send requests to the gateway's /v1/chat/completions endpoint with a virtual key. The gateway maps the public model name to the STACKIT AI Model Serving deployment, translates the request, and returns the response in the OpenAI format.

curl -X POST http://localhost:4000/v1/chat/completions \
-H "Authorization: Bearer $SPANWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "Qwen3.8-27B",
"messages": [{"role": "user", "content": "Summarize what an AI gateway does in two sentences."}]
}'

The same request works from any OpenAI SDK by setting the base URL to http://localhost:4000 and the API key to a Spanway virtual key. Create keys with POST /key/generate as described in virtual keys.

Data residency​

STACKIT is the sovereign cloud of the Schwarz Group, and AI Model Serving runs its shared models in the eu01 region in Germany. Requests and responses stay with a German operator under German and EU law. Create an auth token for AI Model Serving in the STACKIT portal for your project, and store it as STACKIT_API_KEY or in a credential.

STACKIT bills each model by its plan (Standard, Plus or Premium) per million tokens in euros. The bundled prices convert those list prices to US dollars at the European Central Bank reference rate of 21 October 2026 (1 EUR = 1.1234 USD), since the gateway records spend in dollars. Set custom pricing on the deployment if you want spend to follow a different rate. Model names are STACKIT's own ids, such as openai/gpt-oss-120b or cortecs/Llama-3.3-70B-Instruct-FP8-Dynamic, so the gateway model is stackit/openai/gpt-oss-120b.

Models and pricing​

The table lists every STACKIT AI Model Serving model in the gateway's bundled price map. Prices are shown in US dollars per 1 million tokens, computed from the per-token values the gateway uses for spend tracking. Context window sizes are the provider limits recorded in the same file. Capabilities are the supports_* flags set for each model.

info

Prices come from the price map bundled with this Spanway build. They are used to calculate the spend recorded for each request, key, team and user. Your negotiated rates may differ, and you can override them per deployment with custom pricing.

Model (model value)ModeMax input tokensMax output tokensInput per 1M tokensOutput per 1M tokensOther pricingCapabilities
stackit/cortecs/Llama-3.3-70B-Instruct-FP8-DynamicChat131,072$0.506$0.73tools
stackit/google/gemma-4-31B-itChat262,144$0.506$0.73
stackit/openai/gpt-oss-20bChat131,072$0.169$0.281tools, reasoning
stackit/openai/gpt-oss-120bChat131,072$0.506$0.73tools, reasoning
stackit/Qwen/Qwen3.8-27BChat262,144$0.506$0.73tools