Baidu: ERNIE Light DT 1.0 (Intl)
ernie-light-dt-1.0-intl
ERNIE Light DT 1.0 (Intl) is text model with Sparse Attention for working with long conversations and documents. It supports tool calling, structured output, a 1,024,000-token context window, and up to 131,072 output tokens. Choose max, high, or low reasoning effort, or none to disable reasoning.
Modalities
Text → Text
Input / output price
$1.69 / $5.85 per 1M
Context
1.02M · max output 131K
Capabilities
Pricing
Billed per token actually used and deducted from your credits.
| Item | USD per 1M tokens |
|---|---|
| Input | $1.69 |
| Output | $5.85 |
| Cached input | $0.169 |
Calculator
Drag the sliders to estimate what this model will cost.
- Per request
- $0.00975
- Per day
- $4.88
- Per month (30 days)
- $146.25
ERNIE Light DT 1.0 (Intl): input $1.69/M · output $5.85/M · cached input $0.169/M
curl https://api.geniusrelaygpt.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "ernie-light-dt-1.0-intl", "max_tokens": 800,
"messages": [{"role": "user", "content": "…"}]}'Code samples
OpenAI-compatible. Set the base URL to https://api.geniusrelaygpt.com/v1 and the model to ernie-light-dt-1.0-intl.
curl https://api.geniusrelaygpt.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "ernie-light-dt-1.0-intl",
"stream": true,
"messages": [{"role": "user", "content": "Hello"}]
}'Use it in a client: Cursor · Cline · SillyTavern · Codex
Parameters
Common OpenAI parameters can be passed as-is.
temperaturetop_pmax_tokensstreamstoppresence_penaltyfrequency_penaltyseedFAQ
- How is ERNIE Light DT 1.0 (Intl) billed?
- Input is $1.69 and output is $5.85 per million tokens; cached input is $0.169. The charge for every request is listed in Usage Logs in the console.
- How long is the context window?
- 1.02M tokens. In a long conversation every turn is billed for the full input, so keep the history under control.
- Does it support streaming?
- Yes. Add
"stream": trueto the request to receive server-sent events in the OpenAI format.