Documentation

API Access

Base URL

URL
https://api.trustedtokens.eu/v1

Authentication

All requests require a valid Bearer token from your TrustedTokens account. Include it in the Authorization header.

Header
Authorization: Bearer <your-trustedrouter-token>

Endpoints

MethodPathDescriptionCompat
POST/v1/chat/completionsCreate a chat completionOpenAI
GET/v1/healthHealth checkInternal

Custom Headers

HeaderValueDescription
AuthorizationBearer <token>TrustedTokens access token
Content-Typeapplication/jsonRequired for all POST requests
x-user-idstringOptional user identifier for tracking

Code Examples

Python
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
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!"}]
  }'
JavaScript
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);

Get Started

Ready to build with sovereign AI inference? Sign up and get your API key in minutes.

Onboarding for Enterprise

1

Discovery & Requirements Week 1-2

We analyze your use cases, throughput needs, and compliance requirements to design the right capacity allocation.

2

Capacity Provisioning Week 2-4

TNG provisions dedicated GPU slices on our German infrastructure and configures your Keycloak tenant.

3

Integration Support Week 3-6

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.

4

Pilot & Optimization Week 4-8

Run production-like workloads while we monitor, tune routing, and optimize model selection for your use case.

5

Full Rollout Week 8+

Scale to production with SLA guarantees, dedicated support channels, and ongoing performance optimization.