Baidu

Baidu ERNIE-Light-DT-1.0

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...

Context window
1.0Mtokens
Max output
131Ktokens
Input
$1.13/ 1M
Output
$3.94/ 1M

Quick start

from openai import OpenAI

client = OpenAI(
    base_url="https://neurongate.net/v1",
    api_key="sk-ng-your-api-key",
)

completion = client.chat.completions.create(
    model="baidu/ernie-light-dt-1.0-intl",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(completion.choices[0].message.content)

Cost

Example requestTokensCost
Short prompt1K in$0.00113
Typical chat turn1K in · 500 out$0.0031
Document analysis10K in · 2K out$0.01918
Long context100K in · 10K out$0.1524
Estimated cost per request$0.0031

Prices in USD. Billed per token actually used, from a balance prepaid in USDT, USDC, ETH or BTC.

Frequently asked questions

What is Baidu ERNIE-Light-DT-1.0?

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...

How much does Baidu ERNIE-Light-DT-1.0 cost?

Baidu ERNIE-Light-DT-1.0 is priced at $1.13 per 1 million input tokens and $3.94 per 1 million output tokens when accessed via NeuronGate. You pay per token — no subscriptions required. Top up with crypto (USDT, USDC, ETH, BTC).

Does Baidu ERNIE-Light-DT-1.0 support streaming?

Yes, Baidu ERNIE-Light-DT-1.0 supports streaming responses via NeuronGate's API. Use the standard "stream": true parameter in your request.

What is the context window of Baidu ERNIE-Light-DT-1.0?

Baidu ERNIE-Light-DT-1.0 has a context window of 1.0M tokens (~768K words). Maximum output is 131K tokens.

Does Baidu ERNIE-Light-DT-1.0 support function calling (tools)?

Yes, Baidu ERNIE-Light-DT-1.0 supports function calling / tool use via NeuronGate's standard API.

How do I use Baidu ERNIE-Light-DT-1.0 with NeuronGate?

Create a NeuronGate account, top up your balance with crypto, generate an API key, and use the model id baidu/ernie-light-dt-1.0-intl in your requests. NeuronGate uses the OpenAI-compatible API format — set your base URL to https://neurongate.net/v1.