Ship a Full-Stack App with One Prompt

Copy this prompt into your AI coding agent, or open it in one below.

Give this to your AI Create a to-do list app using Puter.js

Coding manually? see the guide

Baidu

Baidu: ERNIE Light DT 1.0

baidu/ernie-light-dt-1.0-intl

Try ERNIE Light DT 1.0 for free in your browser, and add it to your app for free with Puter.js AI API.

Try it free Add to your app
// npm install @heyputer/puter.js
import { puter } from '@heyputer/puter.js';

puter.ai.chat("Explain quantum computing in simple terms", {
    model: "baidu/ernie-light-dt-1.0-intl"
}).then(response => {
    document.body.innerHTML = response.message.content;
});
<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "baidu/ernie-light-dt-1.0-intl"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

Model Card

ERNIE Light DT 1.0 is a text-only large language model from Baidu, offered through Baidu Qianfan's international API. Baidu says it is built on open-source GLM models and draws on research from Baidu Search's Lightning model.

Its main feature is Baidu Sparse Attention (BSA) with feedback-driven history compression. Baidu says this lowers KV cache storage and compute costs while maintaining model performance. The model accepts up to 1,024,000 input tokens and can return up to 131,072 output tokens.

The API supports tool calling, structured JSON output, and adjustable reasoning effort (max, high, low, or none). Baidu has not published benchmark scores.

It fits developers building agents, long-document analysis, or multi-turn workflows that need a very large context window. At $1.13 per million input tokens and $3.94 per million output tokens, it costs more than Baidu's ERNIE 5.5 Flash Preview, so it makes most sense for long-context work.

Context Window 1M

tokens

Max Output 131K

tokens

Input Cost $1.13

per million tokens

Output Cost $3.94

per million tokens

Input text

modalities

Tool Use Yes

 

Release Date Nov 10, 2026

 

Try ERNIE Light DT 1.0 for free

Try ERNIE Light DT 1.0 instantly in your browser.
This playground uses the Puter.js AI API — no API keys or setup required.

Chat baidu/ernie-light-dt-1.0-intl
Baidu
Chat with ERNIE Light DT 1.0
Powered by Puter.js

Frequently Asked Questions

How do I use ERNIE Light DT 1.0?

You can access ERNIE Light DT 1.0 by Baidu through Puter.js AI API. Include the library in your web app or Node.js project and start making calls with just a few lines of JavaScript — no backend and no configuration required. You can also use it with Python or cURL via Puter's OpenAI-compatible API.

Can I try ERNIE Light DT 1.0 for free?

ERNIE Light DT 1.0 is free to try with a Puter account. Every account includes a free AI allowance, and you can chat with it in the playground on this page. You can upgrade your account anytime for a larger allowance.

Is the ERNIE Light DT 1.0 API free for developers?

ERNIE Light DT 1.0 is free to integrate using the Puter.js AI API. With the User-Pays Model, you can add AI to your app for $0, since users cover their own AI usage through their Puter account.

What is the pricing for ERNIE Light DT 1.0?
ERNIE Light DT 1.0 costs $1.13 per 1M input tokens and $3.94 per 1M output tokens.
Price per 1M tokens
Input$1.13
Output$3.94
Who created ERNIE Light DT 1.0?

ERNIE Light DT 1.0 was created by Baidu and released on Nov 10, 2026.

What is the context window of ERNIE Light DT 1.0?

ERNIE Light DT 1.0 supports a context window of 1M tokens. For reference, that is roughly equivalent to 2,048 pages of text.

What is the max output length of ERNIE Light DT 1.0?

ERNIE Light DT 1.0 can generate up to 131K tokens in a single response.

What types of input can ERNIE Light DT 1.0 process?

ERNIE Light DT 1.0 accepts the following input types: text. It produces: text.

Does ERNIE Light DT 1.0 support tool use (function calling)?

Yes, ERNIE Light DT 1.0 supports tool use (function calling), allowing it to interact with external tools, APIs, and data sources as part of its response flow.

Does it work with React / Vue / Vanilla JS / Node / etc.?

Yes — the ERNIE Light DT 1.0 API works with any JavaScript framework, Node.js, or plain HTML through Puter.js. Just include the library and start building. See the documentation for more details.

Add ERNIE Light DT 1.0 to your app for free

Developers can integrate ERNIE Light DT 1.0 for free using the Puter.js AI API.
With the User-Pays Model, each user covers their own AI usage instead of the developer.

Get started How pricing works