Hormouz AIHormouz AIHormouzSign in

ERNIE-Light-DT-1.0: AI model

Context window:
1,024,000 tokens
Input:
$1.13/1M tokens
Output:
$3.94/1M tokens
Type:
text
  • Tools
  • Streaming
  • Long context

Thinking levels: max · high · low · none

ERNIE-Light-DT-1.0 is a AI model from Baidu, available through Hormouz via an OpenAI-compatible API with stable access from inside Iran.

ERNIE-Light-DT-1.0 is based on open-source GLM models and includes research findings from Baidu Search's Lightning large model. It features Baidu Sparse Attention (BSA), a unique sparse attention mechanism developed by...

Quickstart

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "baidu/ernie-light-dt-1.0-intl",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorBaidu
TypeText
Context window1,024,000 tokens
Pricing$1.13/M in · $3.94/M out
APIChat Completions
CapabilitiesStreaming · Tools

Code example

cURL
curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "baidu/ernie-light-dt-1.0-intl",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
    model="baidu/ernie-light-dt-1.0-intl",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
  model: "baidu/ernie-light-dt-1.0-intl",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the ERNIE-Light-DT-1.0 API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches ERNIE-Light-DT-1.0 and nearly 700 other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an account

Use via Hormouz

Connect to this model and nearly 700 others with one API key, then see usage down to each request.

Request company access

Updated 2026-11-27