📖 The AI Tool Bible

Ernie Bot vs mini-SWE-agent

A side-by-side look at pricing, capabilities, pros, cons, and our editorial scores.

 
Ernie Bot
Agents
mini-SWE-agent
Agents
TaglineBaidu's Mandarin-first ChatGPT rival, powered by the ERNIE model familyA 100-line open-source coding agent that scores 74%+ on SWE-bench Verified.
CategoryAgentsAgents
PricingFreemium· Free tier for Ernie 3.5 access; Ernie 4.0 and premium features require a paid subscription (approximately CNY 59.9/month for individual plans); enterprise API pricing via Baidu AI Cloud Qianfan platform is metered per 1K tokens.Free· Free and open source (Apache 2.0); you pay only for the underlying LLM tokens.
ModelBaidu ERNIE 4.0 / ERNIE X1 / ERNIE Turbo (in-house)Multi-model (via litellm, OpenRouter, Portkey)
Editorial score8.7 / 107.2 / 10
Use cases
Mandarin content writing and marketing copyChinese-language document Q&A and summarisationBaidu-search-grounded research briefsCustom agents built on the Qianfan platformRetrieval-augmented chat over internal Chinese corporaCode generation and explanation in ChineseImage generation from Chinese promptsCustomer-service chatbots for mainland usersFine-tuning ERNIE models on domain data
swe-bench-evaluationautonomous-codingagent-researchbatch-inferenceagent-baseline
Pros
  • Best-in-class Mandarin fluency and Chinese cultural/idiomatic understanding among major LLMs
  • Deep integration with Baidu Search, Wenku, Netdisk and Maps for grounded Chinese-language answers
  • Full agent/plugin platform (Qianfan) with function calling, RAG, and fine-tuning for enterprise developers
  • Multiple model tiers (Ernie 4.0, X1 reasoning, Turbo) covering quality-vs-cost trade-offs
  • Native image generation and document/PDF understanding built into the chat UI
  • Compliant, in-country hosting that satisfies Chinese data-residency and regulatory requirements
  • Very large free tier makes it accessible for individual and small-team experimentation
  • Roughly 100 lines of Python — trivially readable and hackable
  • Scores 74%+ on SWE-bench Verified despite the minimal design
  • Model-agnostic via litellm, OpenRouter, and Portkey
  • Sandbox-friendly: Docker, Podman, Singularity, Bubblewrap, local
  • Apache 2.0; backed by the SWE-bench and SWE-agent authors
Cons
  • Subject to Chinese government censorship; refuses politically sensitive topics and self-censors on sovereignty issues
  • Web app and most documentation are Chinese-only, with a steep onboarding curve for non-Mandarin teams
  • Requires a mainland Chinese phone number for sign-up, which blocks most international users
  • English-language performance and reasoning lag Western frontier models (GPT-4o, Claude, Gemini)
  • Data submitted may be processed under PRC data laws, which is a non-starter for many Western enterprises
  • Ecosystem lock-in to Baidu AI Cloud for serious production use
  • No GUI, IDE integration, or hosted product
  • Bash-only tool surface — no built-in browser, search, or planning tools
  • You build your own ops layer (logging, cost caps, retries)
  • Aimed at researchers more than day-to-day end users
Websiteyiyan.baidu.commini-swe-agent.com
Pick Ernie Bot if
  • Best-in-class Mandarin fluency and Chinese cultural/idiomatic understanding among major LLMs
  • Deep integration with Baidu Search, Wenku, Netdisk and Maps for grounded Chinese-language answers
  • Full agent/plugin platform (Qianfan) with function calling, RAG, and fine-tuning for enterprise developers
  • Multiple model tiers (Ernie 4.0, X1 reasoning, Turbo) covering quality-vs-cost trade-offs
Pick mini-SWE-agent if
  • Roughly 100 lines of Python — trivially readable and hackable
  • Scores 74%+ on SWE-bench Verified despite the minimal design
  • Model-agnostic via litellm, OpenRouter, and Portkey
  • Sandbox-friendly: Docker, Podman, Singularity, Bubblewrap, local