Verified 2026-11-18 · rates follow the live catalog

ERNIE 5.5 Flash Preview API

ERNIE 5.5 Flash Preview is the latest foundation model in the ERNIE family, with comprehensive improvements in coding, agentic capabilities, knowledge work, and deep research.

Specifications and pricing

ERNIE 5.5 Flash Preview — published rates in USD
ProviderBaidu
Context window1.0M
Input / 1M tokens$0.28
Output / 1M tokens$1.13
Cached input / 1M tokens$0.03
Serving precisionFP8
Reasoning tierslow,high,max

What a request costs

A call with 50,000 input tokens and 10,000 output tokens bills at $0.025: 50,000 ÷ 1,000,000 × $0.28 for input, plus 10,000 ÷ 1,000,000 × $1.13 for output. A prompt prefix that hits the cache bills at $0.03 per million instead of the full input rate, so a long reused system prompt is far cheaper on the second call than the first.

Calling it

Endpoint

Both API formats are served from one host and one key, so a tool that speaks either works without a translation layer:

Set OPENAI_BASE_URL or ANTHROPIC_BASE_URL to that host and keep the client library you already use.

Send ERNIE-5.5-Flash-Preview in the model field. These aliases resolve to the same model: ernie-5.5-flash-preview, ERNIE-5.5-Flash-Preview, ernie-5.5-flash, ERNIE-5.5-Flash.

Capabilities: tool and function calling, reasoning with low,high,max effort tiers.

The rest of the catalog, with rates side by side, is on all models.

Model catalog · Pricing · Comparisons · Cost guides · Integration guides · FAQ
Guides: GLM coding plan alternative · Free AI API · LLM gateway · LLM proxy · Cheap AI API · OpenAI-compatible API
Model APIs: GLM API · DeepSeek API · Kimi API · Qwen API · MiniMax API