[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [ERNIE-Light-DT-1.0](https://spiral.ai/integrations/muse-code/ernie-light-dt-1-0)

# How to Use ERNIE-Light-DT-1.0 in Muse Code

ERNIE-Light-DT-1.0 is built for long-document questions, summaries, coding, and reasoning. Its 1,024,000-token context window supports large reference sets, while optional thinking lets you match the reasoning effort to the task.

|  |  |
| --- | --- |
| Model | ERNIE-Light-DT-1.0 |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.021032 per run at the default inputs. $1.469 per 1M input tokens, $5.122 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ERNIE-Light-DT-1.0 in Muse Code

- Use ERNIE-Light-DT-1.0 with maximum reasoning effort to investigate duplicate submissions in this project. Trace the request path, identify a reproducible cause, and propose the smallest fix with a regression test.
- Use ERNIE-Light-DT-1.0 to compare the API specification in this repository with its handlers and tests. List mismatches with file references, then propose fixes in order of user impact.
- Use ERNIE-Light-DT-1.0 to review this branch's changes alongside the related modules. Report concrete correctness problems with a failing example for each, and keep the review under 800 words.
- Use ERNIE-Light-DT-1.0 to summarize the architecture described by this project's source and documentation. Explain the main data flow, identify conflicting documentation, and cite the relevant files.
- Use ERNIE-Light-DT-1.0 with maximum reasoning effort to check the retry logic against the project's idempotency requirements. Trace timeout and partial-success cases, then suggest targeted tests for uncovered behavior.

## How to set up ERNIE-Light-DT-1.0 in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run ERNIE-Light-DT-1.0**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "openrouter",
    "model": "baidu/ernie-light-dt-1.0-intl",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Muse Code finds ERNIE-Light-DT-1.0 on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## ERNIE-Light-DT-1.0 tools and prices

- [Baidu: ERNIE-Light-DT-1.0](https://spiral.ai/tools/openrouter/baidu/ernie-light-dt-1.0-intl) (OpenRouter): Up to $0.021032 per run at the default inputs. $1.469 per 1M input tokens, $5.122 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| tools |  | — |  |
| top_p | 0 to 1 | — |  |
| reasoning |  | — | Reasoning effort; reasoning tokens count toward max_tokens. |
| max_tokens | 1 to 131072 | — | The most output tokens to generate. On a reasoning model the reasoning tokens count toward it: a cap too low for the effort can end with no answer (finish_reason length). |
| temperature | 0 to 2 | — |  |
| tool_choice |  | — |  |

## What can you do with ERNIE-Light-DT-1.0 in Muse Code?

Use ERNIE-Light-DT-1.0 to trace bugs across related code and compare implementations with project requirements. Ask for file references, a focused patch, and evidence from an appropriate test.

### Answer questions across long documents

Give ERNIE-Light-DT-1.0 labeled reference text and ask it to answer a specific question with supporting section references and unresolved gaps.

### Summarize meeting transcripts

Ask ERNIE-Light-DT-1.0 to turn transcript text into decisions, assigned actions, deadlines, and open questions. Require it to mark missing owners or dates explicitly.

### Compare document revisions

Supply the text of two revisions to ERNIE-Light-DT-1.0 and request a table of changed requirements, exceptions, and questions for the author.

### Review code with surrounding context

Use ERNIE-Light-DT-1.0 to inspect related source code, trace a suspected defect, and propose a focused fix with a test that reproduces the failure.

### Extract records from batches of text

Give ERNIE-Light-DT-1.0 support messages or issue descriptions and request consistent records containing category, evidence, and missing information.

### Check plans against constraints

Ask ERNIE-Light-DT-1.0 to compare a proposed schedule or allocation with explicit constraints, identify conflicts, and explain a corrected proposal.

### Continue a document review conversation

Use ERNIE-Light-DT-1.0 for follow-up questions about supplied reference text, carrying forward the agreed definitions and asking it to flag contradictions.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## ERNIE-Light-DT-1.0 in other agents

- [Amp](https://spiral.ai/integrations/amp/ernie-light-dt-1-0)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/ernie-light-dt-1-0)
- [Claude](https://spiral.ai/integrations/claude-desktop/ernie-light-dt-1-0)
- [Claude Code](https://spiral.ai/integrations/claude-code/ernie-light-dt-1-0)
- [Cline](https://spiral.ai/integrations/cline/ernie-light-dt-1-0)
- [Codex](https://spiral.ai/integrations/codex/ernie-light-dt-1-0)
- [Cursor](https://spiral.ai/integrations/cursor/ernie-light-dt-1-0)
- [Devin](https://spiral.ai/integrations/devin/ernie-light-dt-1-0)
- [dots](https://spiral.ai/integrations/dots/ernie-light-dt-1-0)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/ernie-light-dt-1-0)
- [Gemini](https://spiral.ai/integrations/gemini/ernie-light-dt-1-0)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/ernie-light-dt-1-0)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/ernie-light-dt-1-0)
- [goose](https://spiral.ai/integrations/goose/ernie-light-dt-1-0)
- [Grok](https://spiral.ai/integrations/grok/ernie-light-dt-1-0)
- [Grok Build](https://spiral.ai/integrations/grok-build/ernie-light-dt-1-0)
- [Hermes](https://spiral.ai/integrations/hermes/ernie-light-dt-1-0)
- [Instinct](https://spiral.ai/integrations/instinct/ernie-light-dt-1-0)
- [Manus](https://spiral.ai/integrations/manus/ernie-light-dt-1-0)
- [Muse](https://spiral.ai/integrations/muse/ernie-light-dt-1-0)
- [n8n](https://spiral.ai/integrations/n8n/ernie-light-dt-1-0)
- [Notion](https://spiral.ai/integrations/notion/ernie-light-dt-1-0)
- [OpenClaw](https://spiral.ai/integrations/openclaw/ernie-light-dt-1-0)
- [opencode](https://spiral.ai/integrations/opencode/ernie-light-dt-1-0)
- [Perplexity](https://spiral.ai/integrations/perplexity/ernie-light-dt-1-0)
- [Raycast](https://spiral.ai/integrations/raycast/ernie-light-dt-1-0)
- [VS Code](https://spiral.ai/integrations/vscode/ernie-light-dt-1-0)
- [Windsurf](https://spiral.ai/integrations/windsurf/ernie-light-dt-1-0)
- [Zapier](https://spiral.ai/integrations/zapier/ernie-light-dt-1-0)

## More Muse Code guides

- [Devstral 2](https://spiral.ai/integrations/muse-code/devstral-2)
- [Elorian Glimpse](https://spiral.ai/integrations/muse-code/elorian-glimpse)
- [DeepSeek V4.1 Flash 1017 (batch)](https://spiral.ai/integrations/muse-code/deepseek-v4-1-flash-1017-batch)
- [Ember-1](https://spiral.ai/integrations/muse-code/ember-1)
- [DeepSeek V4.1 Flash 1017](https://spiral.ai/integrations/muse-code/deepseek-v4-1-flash-1017)
- [Fugu Max](https://spiral.ai/integrations/muse-code/fugu-max)

## Questions about ERNIE-Light-DT-1.0 in Muse Code

**Can Muse Code use ERNIE-Light-DT-1.0?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run ERNIE-Light-DT-1.0 like any built-in tool.

**How much does ERNIE-Light-DT-1.0 cost in Muse Code?**

Up to $0.021032 per run at the default inputs. $1.469 per 1M input tokens, $5.122 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.

**Do I need an OpenRouter account to use ERNIE-Light-DT-1.0 in Muse Code?**

No. Spiral runs ERNIE-Light-DT-1.0 on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up ERNIE-Light-DT-1.0 in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while ERNIE-Light-DT-1.0 runs?**

ERNIE-Light-DT-1.0 runs in the background. Muse Code starts the run, checks on it and gives you the text, json when it's ready.

**What is ERNIE-Light-DT-1.0 useful for?**

Baidu lists long-document questions, summaries, multi-turn conversations, and batch text processing as intended uses. Coding and math or logic problems are also reasonable tasks to try, based on Baidu's stated strengths.

**How much context can ERNIE-Light-DT-1.0 handle?**

The published context window is 1,024,000 tokens. For document questions, label each source and request section references so you can check the answer against the supplied text.

**How long can an answer be?**

The published completion limit is 131,072 tokens. Reasoning also consumes output tokens, so that limit does not promise an answer containing 131,072 tokens of visible text.

**Can ERNIE-Light-DT-1.0 read images or produce video?**

Baidu documents it as text in and text out. Supply extracted text for document analysis; choose a model with image or video support for visual tasks.

**When should I use more reasoning effort?**

Try maximum effort for complex debugging, constraint checking, or tasks with several dependent decisions. Compare the result with a lighter setting on representative examples, since additional reasoning consumes output tokens.

