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

  • By price it is in the pricier half of the 347 text models GenMagic runs (237th cheapest).
  • It was listed on Nov 10, 2026.

Data last changed Nov 11, 2026 · tracked since Nov 11, 2026 · Every model change

Try ERNIE-Light-DT-1.0

Generate with ERNIE-Light-DT-1.0 right here. Verify your email to start with free credits.

Try

Specifications

Context window

1M tokens

Max output

131K tokens

Input price

$1.70 / 1M tokens

Output price

$5.91 / 1M tokens

Cached input

$0.17 / 1M tokens

Capabilities

Reasoning

Works through multi-step problems before answering, for harder tasks.

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use ERNIE-Light-DT-1.0 through the API

The model id is baidu/ernie-light-dt-1.0-intl. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "baidu/ernie-light-dt-1.0-intl",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="baidu/ernie-light-dt-1.0-intl",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "baidu/ernie-light-dt-1.0-intl" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use ERNIE-Light-DT-1.0 in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick Baidu: ERNIE-Light-DT-1.0, or enter baidu/ernie-light-dt-1.0-intl as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
Baidu: ERNIE-Light-DT-1.0 (this model)Baidu$1.70 in / $5.91 out per 1M tokens1M
Thinking Machines: InklingThinkingmachines$1.50 in / $6.08 out per 1M tokens524K
Google: Gemini 3.8 FlashGoogle$1.24 in / $6.19 out per 1M tokens1M
Sakana: Sakana NamazuSakana AI$1.43 in / $6.00 out per 1M tokens262K
Z.ai: GLM 5V TurboZ.AI$1.80 in / $6.00 out per 1M tokens203K
OpenAI: GPT Mini LatestOpenAI$1.13 in / $6.75 out per 1M tokens400K

More from Baidu

All 3 Baidu models

Price and listing history

Every change GenMagic has recorded for ERNIE-Light-DT-1.0 since it began tracking the model on Nov 11, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 11, 2026Listed-$1.70 in / $5.91 out per 1M tokens

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as Baidu publishes them, checked daily.
  • Changes: the data on this page last changed on Nov 11, 2026, tracked since Nov 11, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with ERNIE-Light-DT-1.0 today

One GenMagic plan unlocks ERNIE-Light-DT-1.0 and every other model across text, image, audio, and video.