API Access

Base URL

URL
https://api.trustedrouter.eu

Authentication

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

Header
Authorization: Bearer <your-trustedrouter-token>

Endpoints

MethodPathDescriptionCompat
POST/v1/chat/completionsCreate a chat completionOpenAI
POST/v1/completionsCreate a text completionOpenAI
GET/v1/modelsList available modelsOpenAI
GET/v1/models/{model}Get model detailsOpenAI
POST/v1/embeddingsCreate embeddingsOpenAI
POST/api/generateTGI generate endpointTGI
POST/api/chatTGI chat endpointTGI
GET/api/infoGet TGI model infoTGI
GET/healthHealth checkInternal
GET/metricsPrometheus metricsInternal

Custom Headers

HeaderValueDescription
AuthorizationBearer <token>TrustedRouter 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.trustedrouter.eu/v1",
    api_key="<your-trustedrouter-token>"
)

response = client.chat.completions.create(
    model="tngtech/DeepSeek-TNG-R1T2-Chimera",
    messages=[
        {"role": "user", "content": "Hello, TrustedRouter!"}
    ]
)

print(response.choices[0].message.content)
cURL
curl https://api.trustedrouter.eu/v1/chat/completions \
  -H "Authorization: Bearer <your-trustedrouter-token>" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "tngtech/DeepSeek-TNG-R1T2-Chimera",
    "messages": [{"role": "user", "content": "Hello, TrustedRouter!"}]
  }'
JavaScript
const response = await fetch(
  "https://api.trustedrouter.eu/v1/chat/completions",
  {
    method: "POST",
    headers: {
      "Authorization": "Bearer <your-trustedrouter-token>",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      model: "tngtech/DeepSeek-TNG-R1T2-Chimera",
      messages: [{ role: "user", content: "Hello, TrustedRouter!" }]
    })
  }
);

const data = await response.json();
console.log(data.choices[0].message.content);

Free Trial

Apply now for the first-user trial and be among the selected organisations shaping sovereign AI in Europe. Your access is granted within 24 hours.

Within 24h
Access Granted to Selected Clients
10 Days
Free Trial Period
Apply for Free Trial

Onboarding

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.