L LLM Cloud Hub
Model

ERNIE-5.5-Flash-Preview

Baidu Qianfan ERNIE-5.5-Flash-Preview — pricing, 1024k context window, API cost calculator and alternatives.

By Baidu Qianfan

🔧 Tools Function calling — the model can structure responses as tool calls with typed arguments. Reliability differs between providers. Glossary → {} JSON Forces output to be valid JSON, reducing parse errors. Some providers also let you constrain to a schema. Glossary →
Context window Maximum tokens (input + output) the model can process in a single request. Glossary →
1,024,000
tokens
Input price What the model charges for tokens you send (prompt + context). Glossary →
$0.2800
per 1M tokens
Output price What the model charges for tokens it generates. Usually 3–5× pricier than input. Glossary →
$1.1300
per 1M tokens

Specs

Provider
Baidu Qianfan
Slug
baidu/ernie-5-5-flash-preview
Capabilities
tools, json_mode

Pricing freshness

Tier
standard
Currency
USD
As of
2026-11-11 01:17 UTC
Estimate monthly cost → See alternatives to ERNIE-5.5-Flash-Preview →

Pricing history

Tracking ERNIE-5.5-Flash-Preview pricing since 2026-11-11. We'll plot the chart here once it changes.

Quickstart — call ERNIE-5.5-Flash-Preview from your app

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{
    "model": "baidu/ernie-5-5-flash-preview",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Official docs: https://openrouter.ai/docs

Related models

Similar capabilities, context window, and price tier — drawn from across the catalog so you can compare alternatives in one click.

Frequently asked questions

What is ERNIE-5.5-Flash-Preview?

ERNIE-5.5-Flash-Preview is a large language model API from Baidu Qianfan with a 1M-token context window. It costs $0.28 per 1M input tokens and $1.13 per 1M output tokens.

How much does ERNIE-5.5-Flash-Preview cost?

ERNIE-5.5-Flash-Preview is priced at $0.28 per 1M input tokens and $1.13 per 1M output tokens via the Baidu Qianfan API. A 50/50 input/output workload of 1M total tokens costs about $0.705.

What is the context window of ERNIE-5.5-Flash-Preview?

ERNIE-5.5-Flash-Preview supports up to 1M tokens of context per request — roughly 2048 pages of English text or 128000 lines of code at a typical density.

Does ERNIE-5.5-Flash-Preview support vision, tool use, or JSON mode?

ERNIE-5.5-Flash-Preview supports tool/function calling and structured JSON mode. It does not support image input (vision).

Who makes ERNIE-5.5-Flash-Preview?

ERNIE-5.5-Flash-Preview is built and operated by Baidu Qianfan. Pricing, context window, and capabilities on this page are refreshed nightly from Baidu Qianfan's public catalog.

Can I self-host ERNIE-5.5-Flash-Preview?

ERNIE-5.5-Flash-Preview is API-only — its weights are not publicly distributed by Baidu Qianfan, so it cannot be self-hosted today.

Keyboard shortcuts

?
Show this overlay
/
Focus the first form field
g h
Go to / (home)
g b
Go to /best-llm-for
g c
Go to /cost
g s
Go to /self-hosted
g x
Go to /compliance
Esc
Close any overlay

Inspired by Linear and GitHub conventions. The two-key sequences (g then h) work within ~1 second.