Cargando plantilla…
✦

ernie-light-dt-1-0-intl

⚡ Usar con la API

ERNIE-Light-DT-1.0 is built on open-source GLM models and incorporates research from Baidu Search’s Lightning large model, including Baidu Sparse Attention (BSA), with a context window of about 1M tokens.

Precio: Entrada: 271.2 créditos / 1 M de tokens (≈ $1.36); salida: 945.6 créditos / 1 M de tokens (≈ $4.73).

Precios actualizados

Conversación
✦

¿En qué puedo ayudarte hoy?

Esta página de demostración no incluye todas las funciones de memoria del cliente. Para disfrutar de la experiencia completa, utiliza el cliente o la CLI.

≡
README
Guía completa de ERNIE-Light-DT-1.0

ERNIE-Light-DT-1.0 API on ModelFold

ERNIE-Light-DT-1.0 is built on open-source GLM models and incorporates research from Baidu Search’s Lightning large model, including Baidu Sparse Attention (BSA), with a context window of about 1M tokens. Try ERNIE-Light-DT-1.0 in the ModelFold Playground, then call it from your own code through an OpenAI-compatible chat completions API.

What Is the ERNIE-Light-DT-1.0 API

ERNIE-Light-DT-1.0 at a glance

ERNIE-Light-DT-1.0 is a chat model from Baidu. It accepts text as input and returns text, with a context window of up to 1M tokens.

Use it without hosting anything

On ModelFold you call ERNIE-Light-DT-1.0 with a single API key — no model weights to download and no inference servers to run. The same key also works for the other chat, image, video and audio models on ModelFold.

Core Capabilities of ERNIE-Light-DT-1.0

Up to 1M tokens of context

Keep long conversations, large documents and sizeable code in a single request, so the model can reason over the full material instead of fragments.

Function calling

ERNIE-Light-DT-1.0 supports tool (function) calling: describe your functions in the request and the model returns structured calls your code can run — the basis for agents and integrations.

Adjustable reasoning effort

Choose a reasoning effort level (low, medium or high) per request to balance depth of thinking against speed and token usage.

Structured outputs

Ask for JSON that follows a schema (response_format), which makes extraction, classification and system integrations more reliable.

How to Use ERNIE-Light-DT-1.0 on ModelFold

  1. 1

    Step 1: Try it in the Playground

    Open the Playground at the top of this page, type a prompt and see how ERNIE-Light-DT-1.0 responds before writing any code.

  2. 2

    Step 2: Create an API key

    Sign in to ModelFold and create an API key in the console. Keep it secret and send it as a Bearer token.

  3. 3

    Step 3: Send a request

    Call POST https://modelfold.ai/v1/chat/completions with "model": "ernie-light-dt-1-0-intl" and your messages. Existing OpenAI-compatible SDKs work by changing the base URL and key.

  4. ✓

    Step 4: Ship and monitor

    Integrate the response into your product and check token usage and spend for every call in the console logs.

What You Can Build with ERNIE-Light-DT-1.0

Long-document workflows

Feed in long reports, contracts, manuals or codebases and ask for summaries, comparisons and answers grounded in the material.

High-volume pipelines

Run classification, extraction, rewriting and batch jobs at scale where cost per request matters.

Tool-calling backends

Route requests, call functions and chain API calls as the worker model inside larger agent systems.

Analysis and complex reasoning

Work through research questions, data interpretation, planning and other problems that need careful step-by-step reasoning.

Frequently Asked Questions

What is ERNIE-Light-DT-1.0?⌄

ERNIE-Light-DT-1.0 is built on open-source GLM models and incorporates research from Baidu Search’s Lightning large model, including Baidu Sparse Attention (BSA), with a context window of about 1M tokens.

Which inputs does ERNIE-Light-DT-1.0 support?⌄

ERNIE-Light-DT-1.0 accepts text and returns text. Through ModelFold you send text messages; documents attached in the Playground are converted to text.

How long is the context window of ERNIE-Light-DT-1.0?⌄

Up to 1M tokens, shared between your input and the model’s output.

Does ERNIE-Light-DT-1.0 support function calling?⌄

Yes. ERNIE-Light-DT-1.0 supports tools / function calling through the standard tools parameter of the chat completions API.

How is ERNIE-Light-DT-1.0 billed on ModelFold?⌄

Pay as you go by tokens: input and output tokens are charged at the per-million-token prices shown on this page. There is no monthly fee, and failed requests are not charged.

How do I call ERNIE-Light-DT-1.0 through the API?⌄

Send a POST request to https://modelfold.ai/v1/chat/completions with "model": "ernie-light-dt-1-0-intl", using your ModelFold API key as the Bearer token.

Tarifas
Entrada271.2 créditos 1M tokens≈ $1.36
Salida945.6 créditos 1M tokens≈ $4.73

Se cobra por token, con tarifas separadas para entrada y salida. Los tokens de razonamiento cuentan como salida. El entorno de pruebas aplica exactamente el mismo cálculo.

Leer la documentación de la API →AI Agents · Claude Code / Cursor / Trae →
Inicio rápido
POST/v1/chat/completions
curl https://modelfold.ai/v1/chat/completions \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"ernie-light-dt-1-0-intl","messages":[{"role":"user","content":"Hello"}]}'