Skip to content

Every ERNIE AI Model Explained and Compared (Nov, 2026)

Elton Chan By Elton Chan, Co-Founder 12 min read
Every ERNIE AI model compared, by Second Talent.
TL;DR: Baidu sells three ERNIE models on its Qianfan API in November 2026: ERNIE 5.5 Flash Preview (CNY 1 in and CNY 4 out per million tokens at the peak-hour promo rate, 1M context), ERNIE 5.1 (CNY 4 and CNY 18, 128K context) and ERNIE-Light-DT-1.0 (CNY 8 and CNY 28, 1M context). ERNIE 5.5 Flash Preview is a 280B mixture-of-experts model with 14B active, and it is free on OpenRouter while in preview. For self-hosting, the Apache 2.0 ERNIE 4.5 family and the ERNIE-5.5-Flash-Base checkpoint are on Hugging Face.

On October 29, 2026, Baidu switched off ERNIE 5.0 on its own Qianfan cloud and named a rival's model, DeepSeek-V4.1-Flash, as the replacement. ERNIE 4.5 Turbo and the 4.0 and 3.5 lines went the same day.

Three priced text models remain, and one of them was a day old when I checked the price page on November 12.

Key takeaways
  1. 1Calls in Qianfan’s off-peak window, 22:00 to 08:00, cost half the daytime rate on ERNIE 5.5 Flash Preview.
  2. 2ERNIE 5.5 Flash Preview cannot turn thinking off and its effort is fixed at high. Light-DT-1.0 lets you switch thinking off or pick low, high or max effort.
  3. 3ERNIE X1.1 retired on September 29, 2026, and ERNIE 5.0 and 4.5 Turbo followed on October 29. Code that still names them now returns an error.
  4. 4ERNIE-5.5-Flash-Base ships under Baidu's own model license, not Apache 2.0, while the post-trained 5.5 Flash weights are promised under Apache 2.0.

The ERNIE Models at a Glance

These are the three ERNIE text models with a price on Qianfan, with the model ID your engineers pass in the model field. Context and output limits come from the Qianfan model list, updated November 11, 2026.

ModelModel IDContextMax outputPrice in / out (CNY per 1M)Best for
ERNIE 5.5 Flash Previewernie-5.5-flash-preview1M1M (64K default)1 / 4 peak promo, 0.5 / 2 off-peakCoding agents, long documents, cheap volume
ERNIE 5.1ernie-5.1128K (119K input)65,5364 / 18 up to 32K input, 6 / 22 aboveChinese writing, search-grounded answers
ERNIE-Light-DT-1.0ernie-light-dt-1.01M128K8 / 28Long context with thinking you can switch off
Reading the prices. Prices are Baidu's list rates in Chinese yuan from the Qianfan billing page, updated November 11, 2026. Baidu quotes them per 1,000 tokens; the figures here are the same rates per million. I use yuan because Qianfan is the only place Baidu prices all three models. The one US dollar rate Baidu publishes for this lineup is ERNIE-Light-DT-1.0 on OpenRouter.

The Current ERNIE Models

Baidu's naming used to split into a general line (ERNIE 4.5, 4.5 Turbo) and a reasoning line (ERNIE X1, X1 Turbo, X1.1). That split is gone.

ERNIE 5.0 merged text, image, audio and video into one model, ERNIE 5.1 replaced X1.1 on Qianfan, and the newest release, 5.5 Flash, thinks on every call.

ERNIE-Light-DT-1.0 is the odd one out: a long-context model that Baidu's OpenRouter listing describes as built on open-source GLM models, the line our GLM model guide covers.

Four cards summarising the ERNIE lineup on Baidu Qianfan in November 2026: ERNIE 5.5 Flash Preview, 280B MoE with 14B active, 1M context, CNY 1 in and CNY 4 out per million at the peak promo rate; ERNIE 5.1, 128K context, CNY 4 and CNY 18; ERNIE-Light-DT-1.0, 1M context, CNY 8 and CNY 28; and the open-weight ERNIE-5.5-Flash-Base and ERNIE 4.5 family. Source: Baidu Qianfan model list and billing docs.

ERNIE 5.5 Flash Preview

280B total, 14B active1M token contextReleased Nov 11, 2026

Baidu's release page describes an 11-hour run in which the model wrote an Unreal Engine 5.8 wuxia game in C++, plus nearly 100 mobile mini-games built from design documents.

ERNIE 5.5 Flash Preview launched on November 11, 2026 as the first post-trained model on top of the 5.5 Flash Base checkpoint.

Baidu calls it an intermediate checkpoint and says some capabilities "may still fall short" of the official release.

It is the cheapest ERNIE on Qianfan: CNY 1 input and CNY 4 output per million tokens from 08:00 to 22:00, and half that overnight, both at a promotional rate against a list price twice as high. Cache hits cost a tenth of the input rate.

On OpenRouter the preview is free, text in and text out only. Baidu has published no benchmark scores for the preview in text form; its release page shows them only as images.

Baidu's ERNIE 5.5 Flash Preview release page dated November 11, 2026, stating 280B total parameters with 14B active, a 1M-token context, API access on Qianfan and OpenRouter, and weights to be open-sourced under Apache 2.0.

ERNIE 5.1

ERNIE 5.1 has about a third of ERNIE 5.0's total parameters and half its active ones, and Baidu says its pre-training cost about 6% of comparable models at the same scale. Baidu has not published absolute parameter counts.

The official release on May 9, 2026 put it fourth on the LMArena Search leaderboard with a score of 1,223, first among Chinese models, and claims 99.6 on AIME26 with tools.

A preview build had placed 13th on the LMArena text leaderboard on April 30.

On the API it is the shortest-context model of the three: 128K tokens, with 119K of that usable as input and 65,536 tokens of output. Prices step up once the input passes 32K tokens, from CNY 4 and 18 to CNY 6 and 22 per million.

Qianfan lists ERNIE 5.1 under text generation only, not under its deep-thinking models, and Baidu named it as the replacement when it retired ERNIE X1.1. Baidu has released no ERNIE 5.1 weights.

ERNIE-Light-DT-1.0

Light-DT-1.0 is the only ERNIE model Baidu sells in US dollars: $1.13 input and $3.94 output per million tokens on OpenRouter, served by Baidu Qianfan. On Qianfan itself it costs CNY 8 and CNY 28, with cache hits at CNY 0.8.

Baidu's listing says Baidu built it on open-source GLM models and adds Baidu Sparse Attention plus work from Baidu Search's Lightning model.

I found no Baidu release note for it, so treat that description as the only public account of what is inside.

Its selling point is control. It reads 1M tokens, writes up to 128K, and is the one current ERNIE where you can turn thinking off or choose the effort level.

Despite the "Light" name, it costs more per token than 5.5 Flash Preview at today's promo rates.

Open-Weight ERNIE Models

Baidu kept ERNIE closed until June 30, 2025, when it released the ERNIE 4.5 family under Apache 2.0: ten variants, from a 0.3B dense model to a 424B vision-language model.

Two reasoning versions followed on Hugging Face, ERNIE-4.5-21B-A3B-Thinking in September 2025 and ERNIE-4.5-VL-28B-A3B-Thinking in November 2025. The 4.5 models carry a 131,072-token context, per the model cards.

ERNIE-5.5-Flash-BaseNov 2026
280B / 14B
Pre-trained on 33.5T tokens, no post-training. Baidu's own license.
ERNIE-4.5-300B-A47BJun 2025
300B / 47B
The largest text-only 4.5 model. Apache 2.0.
ERNIE-4.5-VL-424B-A47BJun 2025
424B / 47B
Vision-language MoE with separate vision experts. Apache 2.0.
ERNIE-4.5-21B-A3B-ThinkingSep 2025
21B / 3B
Small reasoning model with 128K context. Apache 2.0.

The newest open checkpoint is ERNIE-5.5-Flash-Base, published with Baidu's November 5 technical blog. It is the raw pre-trained model, with no instruction tuning, meant as a starting point for teams that want to run their own post-training.

It has 43 layers and 512 routed experts, of which 10 fire per token, trains at up to 128K context and supports 1M for fine-tuning and inference.

Baidu ran it against three rival base models of similar size on 30 benchmarks and reports it on top in 24.

Dot plot of base-model benchmark scores from Baidu's ERNIE 5.5 Flash Base release: ERNIE 5.5 Flash Base against DeepSeek V4 Flash Base on MMLU-Pro 78.4 vs 69.2, GPQA 60.2 vs 55.9, HumanEval+ 82.3 vs 69.5, LiveCodeBench 40.1 vs 31.9, SimpleQA 34.1 vs 29.1 and InfiniteBench 46.5 vs 48.0. Baidu's own evaluation.

These are Baidu's numbers from its own evaluation pipeline, not an independent test.

The six benchmarks where a rival won include ChineseSimpleQA and InfiniteBench, where DeepSeek-V4-Flash-Base scored 75.3 and 48.0 against ERNIE's 73.0 and 46.5.

Xiaomi's MiMo-V2.5-Base was the third rival in Baidu's table; our MiMo model guide covers that line.

Baidu's open-weight list also includes an image model. ERNIE-Image, released on April 15, 2026, is an 8B diffusion transformer under Apache 2.0, with Turbo and Aes variants on Hugging Face.

What the Current ERNIE Models Can Do

All three API models accept tool definitions, support parallel tool calls and return structured JSON through response_format, per Qianfan's default parameter reference.

Qianfan exposes them through an OpenAI-compatible v2 endpoint, and OpenRouter also serves both 5.5 Flash Preview and Light-DT-1.0 through its Anthropic-style messages endpoint.

Multimodal input is the gap. ERNIE 5.0 read text, images, audio and video in one model, and its technical report describes 2.4 trillion parameters with about 3% active per token.

With 5.0 and ERNIE-4.5-Turbo-VL retired from Qianfan, Qianfan lists none of the current ERNIE API models under vision understanding. If you need image input from Baidu today, the open ERNIE 4.5 VL weights are the route.

Consumers meet ERNIE through the chat site at yiyan.baidu.com and the assistant in the Baidu app.

ERNIE 5.0 launched on January 22, 2026, and China Daily reported that it went to individuals through the app and website and to developers through Qianfan, and Baidu's 5.1 release linked to the same chat site.

Baidu does not publish which model version the app runs on a given day. For a hands-on test of the chatbot, see our ERNIE chatbot review.

ERNIE Pricing Compared

Output costs 3.5 to 4.5 times input on all three ERNIE models, so long answers drive the bill. Light-DT-1.0 output, at CNY 28 per million, costs seven times ERNIE 5.5 Flash Preview's daytime promo rate.

Grouped column chart of ERNIE API prices in CNY per million tokens on Baidu Qianfan, November 11, 2026: ERNIE 5.5 Flash Preview off-peak 0.50 in and 2 out, peak 1 in and 4 out (promo rates); ERNIE 5.1 up to 32K input 4 and 18, 32K to 128K 6 and 22; ERNIE-Light-DT-1.0 8 and 28.

Three things move the number you pay. Baidu labels the 5.5 Flash rates 活动价, a promotion, and the page gives no end date, so budget against the list price of CNY 2 and CNY 8 by day.

Time of day halves 5.5 Flash: the same call costs CNY 0.5 and CNY 2 per million between 22:00 and 08:00.

ERNIE 5.1 also charges the higher rate on requests whose input passes 32K tokens. None of the current ERNIE models has a batch price on the billing page.

Qianfan (China)
  • All three models, billed in yuan
  • Peak and off-peak rates on 5.5 Flash
  • Cache hits priced at a tenth of input
OpenRouter (global)
  • 5.5 Flash Preview free, Light-DT-1.0 in US dollars
  • No ERNIE 5.1 listing
  • One key for ERNIE and every other vendor
Baidu Qianfan model service billing page, updated November 11, 2026, listing ERNIE-5.5-Flash-Preview at a promo price of CNY 0.001 per 1,000 input tokens and CNY 0.004 per 1,000 output tokens in peak hours, against list prices of 0.002 and 0.008.

Context Windows and Output Limits

Two of the three API models read 1M tokens, enough for a mid-sized codebase in one request.

Qianfan lists ERNIE 5.5 Flash Preview with a 1M maximum output as well, against a 64K default for max_tokens; OpenRouter caps the same model's output at 921,600 tokens. Light-DT-1.0 writes up to 131,072 tokens and defaults to 65,536.

ERNIE 5.1 is the constraint: 128K in total, with 119K usable as input.

The jump to 1M is recent. ERNIE X1.1 extended its context to 64K in September 2025, per the Qianfan model update log, and both the ERNIE 4.5 open weights and ERNIE 5.0 stopped at 128K.

Thinking Modes and Effort

The three models handle reasoning in three different ways, and the defaults catch teams that copy settings from one to another.

ModelThinkingEffortSampling controls
ERNIE 5.5 Flash PreviewAlways on, cannot be disabledFixed at hightemperature and top_p not supported on Qianfan
ERNIE-Light-DT-1.0On by default, can be disabledlow, high or max; default maxtemperature 0 to 2 (default 1.0), top_p default 0.95
ERNIE 5.1Listed as a text-generation model, not under deep thinkingNot documentedNot documented in the default parameter page

Neither of the thinking models accepts a fixed thinking_budget. Light-DT-1.0 defaults to max effort, its most expensive setting, so set reasoning_effort to low on short tasks or the reasoning tokens will dominate the bill.

Qianfan counts the chain of thought inside the max output figure on its deep-thinking models.

Which ERNIE Model Should You Use?

Start on ERNIE 5.5 Flash Preview. It is the cheapest, has the longest context, and Baidu demonstrates it on long coding and agent tasks.

Move to Light-DT-1.0 when you need thinking off for latency, and test ERNIE 5.1 on Chinese-language writing, where Baidu says its internal evaluation puts it close to Gemini 3.1 Pro.

Flowchart for picking an ERNIE model: if you need to self-host, use the ERNIE 4.5 open weights now or 5.5 Flash when Baidu releases them; if the prompt is over 128K tokens, use ERNIE 5.5 Flash Preview or Light-DT-1.0; if some calls must skip thinking, use Light-DT-1.0; otherwise start on ERNIE 5.5 Flash Preview and test ERNIE 5.1 on writing tasks. Based on Baidu Qianfan docs, November 2026.
JobModelWhy
Coding agents, long refactorsERNIE 5.5 Flash Preview1M context, built for long agentic runs
Overnight batch jobsERNIE 5.5 Flash Preview, off-peakCNY 2 per million output between 22:00 and 08:00
Chat replies that must be fastERNIE-Light-DT-1.0, thinking offThe only ERNIE where thinking can be switched off
Chinese marketing and policy copyERNIE 5.1Baidu's writing-focused release
Prototyping outside ChinaERNIE 5.5 Flash Preview on OpenRouterFree while in preview
Fine-tuning on your own dataERNIE 4.5 or ERNIE-5.5-Flash-BaseOpen weights on Hugging Face

Retired and Legacy ERNIE Models

I read Qianfan's model retirement table on November 12, and it covers more ERNIE names than the current price list does.

Baidu gave about a month's notice each time and does not forward old model names to new ones, so a retired ID returns an error.

The suggested replacements are not always ERNIE: for the October 29 batch Baidu pointed customers to DeepSeek-V4.1-Flash, which Qianfan also hosts. Our DeepSeek model guide covers that model.

Older model on QianfanRetiredBaidu's suggested replacement
ERNIE 5.0, 5.0-Thinking-Latest, 5.0-Thinking-PreviewOctober 29, 2026DeepSeek-V4.1-Flash
ERNIE 4.5 Turbo 128K and 32K, 4.5 Turbo VLOctober 29, 2026DeepSeek-V4.1-Flash
ERNIE 4.0, 4.0 Turbo and 3.5 128K versionsOctober 29, 2026DeepSeek-V4.1-Flash
ERNIE X1.1, X1.1-PreviewSeptember 29, 2026ERNIE 5.1
ERNIE X1 Turbo 32K, Speed-Pro, Lite-Pro, ERNIE-Bot-TurboJune 30, 2026ERNIE 4.5 Turbo 128K (since retired)
ERNIE 4.5 21B-A3B, 21B-A3B-Thinking, VL-28B-A3B (hosted API)April 23, 2026ERNIE 4.5 Turbo, X1 Turbo (since retired)
ERNIE Speed 8K and 128K, Lite 8K, Tiny 8KJanuary 27, 2026Speed-Pro, Lite-Pro, DeepSeek-V3

The hosted retirements do not touch the open weights. ERNIE 4.5 checkpoints stay on Hugging Face under Apache 2.0, so a team that liked 4.5 can still run it on its own GPUs. The dates below trace how fast the hosted line turned over.

Jun 30, 2025
ERNIE 4.5 open-sourced: ten variants under Apache 2.0
Nov 13, 2025
ERNIE 5.0 Thinking Preview goes live on Qianfan
Jan 22, 2026
ERNIE 5.0 official release, 2.4 trillion parameters, omni-modal
May 9, 2026
ERNIE 5.1 released
Oct 29, 2026
ERNIE 5.0 and 4.5 Turbo retired on Qianfan
Nov 5 and 11, 2026
ERNIE 5.5 Flash Base, then Flash Preview

One more migration trap: Qianfan's old v1 endpoints under aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/ shut down on August 31, 2026. Any integration still on that path stopped working that day, whatever model it called.

For the wider field of Chinese labs, our roundup of Chinese open-source LLM leaders covers the companies behind them.

Build on ERNIE With the Right Engineers

Running ERNIE in production means a Qianfan account, retirement notices a month apart and a fallback model ready, which is work for engineers who have shipped on Chinese APIs.

Our LLM developer cost guide puts a mid-level US freelancer at $119 to $185 an hour, against $23 to $39 for a vetted LLM developer from Asia through Second Talent. We send a shortlist within 24 hours.

Frequently Asked Questions

Is ERNIE open source?

Some of it is. The ERNIE 4.5 family and ERNIE-Image are Apache 2.0, and ERNIE-5.5-Flash-Base is open under Baidu's own license. ERNIE 5.0, 5.1 and Light-DT-1.0 have no public weights.

Is ERNIE free to use?

The open weights cost nothing to download, and ERNIE 5.5 Flash Preview costs nothing on OpenRouter while it stays a preview. Qianfan bills API calls per token.

Can I use the ERNIE API outside China?

Yes, through OpenRouter, which carries ERNIE 5.5 Flash Preview and Light-DT-1.0 with Baidu Qianfan as the provider. ERNIE 5.1 was not listed there on November 12, 2026.

Get developers who ship with AI agents.

Starts at $23/Hour.

Start Hiring

$0 cost until you hire

Elton Chan

Written by

Elton Chan is the Co-Founder of Second Talent, a solution that connects global tech leaders with top-tier tech talent across Asia. He specializes in talent solutions and has led Second Talent’s rapid growth since 2024, helping scale its network to over 100,000 pre-vetted developers and earning industry recognition as the #1 in the Global Hiring category on G2. A long-time entrepreneur with deep roots in digital transformation, Elton previously co-founded Branch8, a Y Combinator–backed e-commerce technology firm, and served as the Founding Chairman of HKEBA, a leading Asia-focused business association driving innovation, digital education, and cross-border collaboration. His work bridges technology, talent, and business strategy to shape how companies scale in an increasingly remote and digital world.

More posts by Elton Chan →