Files
anyllm-proxy/docs/providers/baidu.md
whit3rabbitandClaude Sonnet 4.6 816b64ae6a feat: add 16 new provider stubs and providers catalog UI tab
New providers: assemblyai, baidu, blackboxai, brave, cartesia, deepgram,
elevenlabs, exa, iflytek, lmsys, playht, pollinations, serper, siliconflow,
stability, tavily. Registered in mod.rs and registry.rs.

Adds a Providers tab to the admin UI with a ProviderIcon component and
catalog route. Updates backend, streaming, config, and test infrastructure
to align with the expanded provider set. Bumps all crate versions to 0.9.0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 17:42:46 -05:00

1.0 KiB

Baidu ERNIE (Qianfan)

Baidu's ERNIE LLM platform. Authentication uses AK/SK credentials (not a simple Bearer token); set both QIANFAN_AK and QIANFAN_SK.

LiteLLM prefix: qianfan/ Status: Stub — routes through OpenAI-compatible client API base: https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop Docs: https://cloud.baidu.com/doc/WENXINWORKSHOP

Authentication

Variable Required Description
QIANFAN_AK Yes Qianfan Access Key
QIANFAN_SK Yes Qianfan Secret Key

Quick Start

BACKEND=baidu QIANFAN_AK=your-ak QIANFAN_SK=your-sk cargo run -p anyllm_proxy

Capabilities

Feature Supported
Chat Completions
Streaming
Tool Use
Embeddings
Vision
Batch

Notes

Baidu uses AK/SK OAuth token exchange, not a plain Bearer token. The stub registers the env vars but the OAuth exchange is not implemented — routing to this backend will fail until the auth layer is wired.