Baidu ERNIE (5.1): the successor to China's first conversational LLM, and why it does not fit a Hong Kong school platform
ERNIE 5.1 is Baidu's current flagship with a 128K-token context window. Qianfan pricing (page updated 2 September 2026) is ¥0.004 per 1K input tokens and ¥0.018 per 1K output within 32K input, rising to ¥0.006 / ¥0.022 between 32K and 128K. The ERNIE 4.5 family is the only generation with published weights. This page covers what search grounding is worth, where it falls short, and why Edor.ai has not wired ERNIE up.
Not wired up today. ERNIE's main strength is search-grounded answers from Baidu, which is precisely where Hong Kong schools should be careful: its sources, content policy and data handling all sit in the mainland framework. Its 128K context window is also well below other current flagships.
Specifications
- Vendor
- Baidu ERNIE · China
- Representative model
ERNIE 5.1- Released
- 2026-08
- Context window
- 128K tokens
- Max output
- Not published
- Modalities
- Text / Image
- Open weights
- Yes (ERNIE 4.5 系列開源;5.x 未公開)
- API pricing
- $0.55 / $? — USD per 1M tokens (input / output)
- Free tier available
- Yes
Short answer: ERNIE has a real place in the history of generative AI in China as the first publicly released conversational LLM product, but measured against what a Hong Kong school needs today its context window is short and its search sources, content policy and data handling all sit inside the mainland framework — so Edor.ai has not wired it up.
What this is
ERNIE Bot launched on 16 March 2023 as China's first publicly released conversational LLM product and the symbolic start of commercial generative AI on the mainland. Three years on, the line splits in two: a consumer assistant, and a developer API served through Baidu's Qianfan platform.
Compared with the other vendors on this site, ERNIE's strategic emphasis is distinctive: it binds the model to Baidu search. Answers can be grounded in a live search, which keeps information current, at the cost of making answer quality depend on what the search index surfaces and how it ranks. That design makes sense in its home market, and it is exactly the part a Hong Kong school needs to examine.
The current line-up
- ERNIE 5.1: the current flagship with a 128K-token context window. Qianfan prices it in input-length tiers (that page was updated on 2 September 2026): within 32K input it is ¥0.004 per 1K input tokens and ¥0.018 per 1K output; between 32K and 128K it rises to ¥0.006 / ¥0.022.
- ERNIE 5.0 / 5.0-Thinking: the reasoning line, priced above 5.1, from ¥0.006 / ¥0.024 per 1K tokens.
- ERNIE 4.5 Turbo / Turbo VL: the cheapest tier, with search augmentation billed per call. The 4.5 family is also the only Baidu generation with published weights, downloadable from Hugging Face.
- ERNIE Bot (16 March 2023): China's first publicly launched conversational LLM product.
The full version and price comparison is in the automatically generated series table further down this page.
Strengths
- Mature search integration. Combining retrieval with generation is the mainstream direction, and Baidu's integration with its own index is tight, so answers on current affairs and changing information are fresher than from training data alone.
- Low and clearly tiered pricing. Billing per 1K tokens in input-length bands makes costs easy to estimate for predictable workflows, and the 4.5 Turbo tier is among the cheapest in its class.
- Open weights for the 4.5 generation. Not the newest models, but for a team wanting to study or trial self-hosting, the 4.5 family — including vision-language variants — provides a downloadable starting point.
- Broad product coverage. From the chat assistant to OCR, image generation and industry solutions, organisations already using Baidu cloud services have a complete integration path.
Limits
- Only 128K of context. Fine for teaching, but no advantage on long-document tasks when contemporaries treat 1M tokens as standard.
- The newest generation has no published weights. Only the 4.5 family is downloadable, so a school wanting to keep data on campus by self-hosting cannot get the current flagship.
- Search sources are opaque. Search-grounded answers depend on index coverage and ranking, which is hard to explain to pupils being taught to verify where information comes from.
- Content policy and data handling sit in the mainland framework. History, current affairs and civic education topics will not always be treated as the Hong Kong curriculum does, and calling the API is a cross-border data transfer.
- Pricing and settlement are in RMB. Schools budgeting in Hong Kong dollars and reporting spend against funding face extra exchange-rate and administrative uncertainty.
How a Hong Kong school should view it
The balanced summary is that it matters historically but does not score well on a school platform evaluation today.
Three practical points. First, student-facing use is not advisable: there is no self-hosting route to the current flagship, search sources are opaque, and the terms and processing location sit within the mainland framework, so a school cannot give parents a complete account under the Personal Data (Privacy) Ordinance. Second, individual teacher use is a school policy decision; if allowed, write it into the AI use policy, restrict it to generic planning material, and remind teachers to check that any cited search results actually apply to Hong Kong curriculum content and terminology. Third, if the underlying need is answers with checkable provenance, the right solution is not external search but a school knowledge base: index the school's own curriculum documents, policies and teaching materials so the AI cites only those, which is both verifiable and logged.
Worth adding: the open ERNIE 4.5 weights still have classroom value in ICT enquiry work, letting pupils see the difference between open weights and a cloud API, and why one company runs both routes at once.
Availability inside Edor.ai
Not wired up today. Edor.ai natively supports OpenAI, Azure OpenAI, Anthropic, Poe and local Ollama. ERNIE is not among them and administrators will not see the option, and we have no partnership with Baidu.
The reasons are set out above: search sources, content policy and data handling all sit within the mainland framework, and a 128K context window offers no advantage among current flagships. Where a school wants answers with clear provenance, the platform's approach is retrieval from the school knowledge base, citing documents the school uploaded itself and leaving a traceable record in ai_audit_logs.
Alternatives
- To have the AI cite your school's own documents, see the school knowledge base under platform features and the retrieval lessons in the LLM Classroom.
- For Chinese-language capability with data kept on the school network, see the open weights under Alibaba Qwen, served through local Ollama.
- To compare the licensing and availability of the Chinese models, read the DeepSeek, Kimi, Qwen and GLM comparison.
- To understand the risk of a model citing the wrong source, read hallucination and prompt-injection risk, or go back to the model overview.
Different tiers from the same vendor
Most vendors keep flagship, workhorse, lightweight and reasoning lines running at once, and prices can differ tenfold.
| Model | Tier | Released | Context window | In / Out | Notes |
|---|---|---|---|---|---|
| ERNIE 5.1 | Flagship | 2026-08 | 128K | — | The current flagship, priced in tiers on the Qianfan platform: within 32K input it is ¥0.004 per 1K input and ¥0.018 per 1K output; from 32K to 128K it is ¥0.006 / ¥0.022. |
| ERNIE 5.0 / 5.0-Thinking | Reasoning | 2026-04 | — | — | The reasoning line, priced above 5.1 (from ¥0.006 / ¥0.024 per 1K tokens). |
| ERNIE 4.5 Turbo / VL | Workhorse | 2026-04-02 | 128K | — | The cheapest tier, with search augmentation billed per call; the 4.5 family is also the only Baidu generation with published weights. |
| ERNIE Bot(文心一言) | Flagship | 2023-03-16 | — | — | China's first publicly launched conversational LLM product and the symbolic start of commercial generative AI on the mainland. |
FAQ
The positioning is similar — a conversational assistant plus a developer API. The difference is the ecosystem: ERNIE is tightly bound to Baidu search and the mainland content framework, and the API is served through the Qianfan platform in RMB. For a Hong Kong school the deciding difference is not conversational quality but where data is processed, which content policy applies, and whether it can be explained to parents.
The model runs a web search before answering and folds the results into its reply, billed per call (see the ERNIE 4.5 entries on the Qianfan billing page). The benefit is fresher information; the cost is that answer quality depends on which sources the search surfaces and how it ranks them. If a school is teaching pupils to verify sources, that opacity matters.
Yes, but only for the ERNIE 4.5 generation. Several 4.5 models are downloadable from Baidu's Hugging Face organisation, while the current 5.x flagships are not published. Any school considering self-hosting should be clear that what it can download is not the latest generation.
For everyday teaching, comfortably — a long report or a full unit of teaching material fits. It simply has no advantage on long-document tasks against contemporaries offering 1M tokens. In practice, retrieving the relevant passages from a knowledge base beats chasing ever-longer context anyway.
That is a school policy decision. If it is allowed, treat it as a public website: generic planning material only, no pupil names, student numbers, marks or un-redacted school documents, and remind teachers to check whether any cited search sources actually apply to the Hong Kong curriculum.
Prices and specifications in this article are current as of 2026-09
- Baidu Qianfan — model service billing page
- Baidu Qianfan — model service and agent platform documentation home
- Hugging Face — Baidu organisation page (ERNIE 4.5 open weights)
- ERNIE Bot official site
- · All prices, features and specifications follow the official documentation linked above. Vendors may change them at any time — verify before you purchase.
- · Product names and trademarks mentioned belong to their respective owners. Edor.ai has no partnership, agency or sponsorship relationship with these companies.
- · This article is an independent review compiled for educational purposes and is not procurement advice or legal advice.
- · For any use involving student personal data, assess it against your school policy and the Personal Data (Privacy) Ordinance (PDPO) before rollout.
Related reading
- China's LLMs Compared: DeepSeek, Qwen, Kimi, GLM and Five More — What Can a Hong Kong School Actually Use?
DeepSeek costs one sixty-seventh of GPT-6 Astra per input token and is no weaker in Chinese. So why does a school platform not simply plug into it? This roundup compares DeepSeek, Qwen, Kimi, GLM, MiniMax, Doubao, Hunyuan and ERNIE, explains the crucial difference between open weights and a cloud API, and sets out the three routes that are genuinely workable under the Personal Data (Privacy) Ordinance.
- The 2026 All-Model Roundup: 15 Providers and One Selection Framework for Schools
From OpenAI, Anthropic, Google, xAI, Meta and Mistral to DeepSeek, Qwen, Kimi, GLM, MiniMax, Doubao, Hunyuan and ERNIE, plus the coding-only Cursor Composer. One school usage model, applied to every vendor's published pricing, puts all 15 on a single table — followed by a four-question framework for choosing between them.