https://api.trustedtokens.eu/v1
All requests require a valid Bearer token from your TrustedTokens account. Include it in the Authorization header.
Authorization: Bearer <your-trustedrouter-token>
| Method | Path | Description | Compat |
|---|---|---|---|
POST | /v1/chat/completions | Create a chat completion | OpenAI |
GET | /v1/health | Health check | Internal |
| Header | Value | Description |
|---|---|---|
Authorization | Bearer <token> | TrustedTokens access token |
Content-Type | application/json | Required for all POST requests |
x-user-id | string | Optional user identifier for tracking |
from openai import OpenAI
client = OpenAI(
base_url="https://api.trustedtokens.eu/v1",
api_key="<your-trustedrouter-token>"
)
response = client.chat.completions.create(
model="zai-org/GLM-5.2",
messages=[
{"role": "user", "content": "Hello, TrustedTokens!"}
]
)
print(response.choices[0].message.content)curl https://api.trustedtokens.eu/v1/chat/completions \
-H "Authorization: Bearer <your-trustedrouter-token>" \
-H "Content-Type: application/json" \
-d '{
"model": "zai-org/GLM-5.2",
"messages": [{"role": "user", "content": "Hello, TrustedTokens!"}]
}'const response = await fetch(
"https://api.trustedtokens.eu/v1/chat/completions",
{
method: "POST",
headers: {
"Authorization": "Bearer <your-trustedrouter-token>",
"Content-Type": "application/json"
},
body: JSON.stringify({
model: "zai-org/GLM-5.2",
messages: [{ role: "user", content: "Hello, TrustedTokens!" }]
})
}
);
const data = await response.json();
console.log(data.choices[0].message.content);Ready to build with sovereign AI inference? Sign up and get your API key in minutes.
We analyze your use cases, throughput needs, and compliance requirements to design the right capacity allocation.
TNG provisions dedicated GPU slices on our German infrastructure and configures your Keycloak tenant.
Switch to full sovereignty by exchanging the base URL and API token. If you need deeper integration or custom workflows, our consulting experts will guide you.
Run production-like workloads while we monitor, tune routing, and optimize model selection for your use case.
Scale to production with SLA guarantees, dedicated support channels, and ongoing performance optimization.