# ERNIE Light DT 1.0

> Baidu's lightweight 1M-context ERNIE Light DT 1.0 joins the catalog.

- Date: 2026-11-15
- HTML: https://anyrouter.dev/blog/releases/ernie-light-dt-1-0

## Models

- `baidu/ernie-light-dt-1.0` (ERNIE Light DT 1.0) — Baidu's lightweight long-context text model with sparse attention and a switchable thinking mode. 1,024,000-token context, up to 131,072 output tokens, tool calling and structured output.

## Notes

[`baidu/ernie-light-dt-1.0`](https://anyrouter.dev/model/baidu/ernie-light-dt-1.0) is Baidu's lightweight long-context text model. It uses Baidu Sparse Attention and feedback-based history compression to cut KV cache cost, and has a switchable thinking mode. Context is 1,024,000 tokens with up to 131,072 output tokens, and it supports tool calling and structured output.

```ts
import { createAnyRouter } from "@anyr/ai-sdk-provider"
import { generateText } from "ai"
const anyrouter = createAnyRouter()
const { text } = await generateText({ model: anyrouter("baidu/ernie-light-dt-1.0"), prompt: "Hello" })
```

_AI SDK._

```bash
curl -fsSL https://anyr.dev/cli.sh | bash
anyr login
anyr claude --model "baidu/ernie-light-dt-1.0"
```

_Coding agent._

Playbooks: [AI SDK](https://anyrouter.dev/use-cases/ai-sdk), [coding agents](https://anyrouter.dev/use-cases/coding-agents), [OpenAI SDK](https://anyrouter.dev/use-cases/openai-sdk).
