Last refreshed 2026-06-29. Next refresh: weekly.
Why use ERNIE Speed Pro on Baidu Qianfan?
Baidu Qianfan offers ERNIE Speed Pro with pay-as-you-go pricing at $0.04/1M input tokens. Baidu Qianfan is Baidu Intelligent Cloud's foundation model and Agent development platform, providing hosted API access to ERNIE and Qianfan models for text generation, reasoning, multimodal understanding, embeddings, and agent workflows.
Input / 1M
$0.044
Output / 1M
$0.089
Cache
Not sourced
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: ernie-speed-pro-128kModel ID
ernie-speed-pro-128kRequest example
Curated snippets for this provider are not sourced yet. Use Baidu Qianfan documentation with model ID
ernie-speed-pro-128k.Gotchas
- Use provider model ID "ernie-speed-pro-128k", not the LLMReference slug "ernie-speed-pro".
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.04 |
| Output tokens | $0.09 |
Capabilities
No model capability flags are currently sourced.
About ERNIE Speed Pro
ERNIE Speed Pro is Baidu's high-throughput lightweight model, available via the Qianfan API. It offers 128K context with efficient inference at very low cost ($0.044/1M input tokens). Pro-tier successor to the legacy free ERNIE Speed model. API model ID: ernie-speed-pro-128k. Exact release date not publicly documented.
Get Started
Model Specs
Released2025-01-01
Context128k
ArchitectureDecoder Only