← Back to Analysis
February 7, 2026 · OpenClaw

OpenClaw Adds Baidu Qianfan: Expanding Global AI Provider Support

The first major Chinese AI platform joins OpenClaw's provider roster, marking continued expansion of the project's global reach.

IR

ide-rea

Contributor · OpenClaw
@ide-rea on GitHub

What Changed

PR #8868, merged on February 7, 2026, adds Baidu Qianfan as an OpenAI-compatible model provider. This is the first major Chinese AI platform integrated into OpenClaw.

Technical Details

OpenAI-compatible: Like many providers, Qianfan exposes an OpenAI-compatible API, minimizing the integration complexity. OpenClaw can use existing OpenAI client code with endpoint and auth configuration.

Why Baidu Qianfan Matters

About Qianfan

Baidu's Qianfan (千帆) is a large-scale AI platform offering access to Baidu's ERNIE models and other foundation models. It's one of the leading AI platforms in China, offering:

Global Reach Expansion

OpenClaw's provider landscape has been heavily Western-focused:

Provider Region Notes
OpenAI US GPT-4o, GPT-4.5
Anthropic US Claude 4 family
Google US Gemini 2.x
Mistral EU Mistral Large, Codestral
xAI US Grok models
Baidu QianfanNEW China ERNIE models

Adding Qianfan opens OpenClaw to users who:

The PR Review Notes

The Greptile automated review flagged one issue: an onboarding bug where environment-based credentials aren't properly detected due to a mismatched argument in resolveEnvApiKey. The review noted:

"This PR is close to mergeable but has a functional onboarding bug around env credential detection that should be fixed first."

The PR was merged despite this, suggesting the maintainers assessed the bug as non-blocking or plan a quick follow-up fix. Users setting up Qianfan via environment variables should verify their credentials are being picked up correctly.

This Week's OpenClaw Activity

The Qianfan merge is part of a busy week for OpenClaw:

The project continues its rapid iteration pace, with the 173k+ stars community actively contributing.

What's Next

With Qianfan added, the natural next steps for OpenClaw's provider expansion might include:

The OpenAI-compatible API pattern makes these integrations relatively straightforward — mostly documentation, onboarding flows, and provider detection logic.

Key Takeaway

OpenClaw's addition of Baidu Qianfan is a small but meaningful step toward truly global AI assistant infrastructure. As AI assistant platforms mature, provider diversity becomes a competitive advantage — giving users choice based on language needs, data residency requirements, and regional availability.

The merge also demonstrates OpenClaw's community-driven model: a contributor opened the PR, automated review caught a minor issue, maintainers merged, and users benefit. The open-source AI assistant ecosystem continues to expand.