OpenAI compatible API · Attested · Public status

ERNIE 4.5 300B A47B API

OpenAI compatible quickstart for ERNIE 4.5 300B A47B on TrustedRouter.

Verify gateway
Onebase URL to migrate
100sof models and routes
Noneprompt logs by default

baidu/ernie-4.5-300b-a47b-paddle

API

All models

Use the same OpenAI compatible clients you already use. Only the base URL and model change.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.trustedrouter.com/v1",
    api_key="sk-tr-v1-..."
)

response = client.chat.completions.create(
    model="baidu/ernie-4.5-300b-a47b-paddle",
    messages=[{"role": "user", "content": "Give me a one-sentence status."}],
    max_tokens=64,
)
print(response.choices[0].message.content)
Workspace access

Sign in

Choose a sign in method. New email and OAuth accounts include $0.10 in starter credit; wallet-only accounts start at $0.

By signing in you agree to the terms of service and privacy policy.