# ERNIE 5.5 Flash Preview

Baidu ERNIE 5.5 Flash Preview: the newest ERNIE base model (preview), 280B total and 14B active parameters per token, built for coding, agents, knowledge work and deep research. 1M context and up to 1M output. Reasoning cannot be turned off (thinking tokens bill as output); tool calling and JSON output, text-only input. Billed at Baidu's official peak / off-peak prices: list price 8:00-22:00 Beijing time every day, half price 22:00-8:00.

- Model ID (the request body's `model` field): `ernie-5.5-flash-preview`
- Category: Text chat
- Page: https://qd.zsopc.com/en/models/ernie-5.5-flash-preview
- Endpoint: `https://qd.zsopc.com/v1/chat/completions`
- Context window: 1,048,576 tokens
- Default output limit per request: 65,536 tokens
- Capabilities: Tool calling · Thinking mode · JSON mode
- Compatible protocols: OpenAI Chat Completions
- Released: 2026-11-10
- Last updated: 2026-11-17

## Pricing

- Input: 120 credits (≈ ¥2 / ≈ $0.297) per 1M tokens
- Output: 480 credits (≈ ¥8 / ≈ $1.19) per 1M tokens
- Cached input: 12 credits (≈ ¥0.2 / ≈ $0.03) per 1M tokens

Credits are the platform's only unit: 60 credits = ¥1 (machine-readable: `GET https://qd.zsopc.com/api/v1/config/currency`).
Each call first holds the most it could cost, then settles on actual usage and refunds the difference.

## Example call

```bash
curl https://qd.zsopc.com/v1/chat/completions \
  -H "Authorization: Bearer $PLATFORM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"ernie-5.5-flash-preview","messages":[{"role":"user","content":"Hello"}]}'
```

## FAQ

### How do I call ERNIE 5.5 Flash Preview?

Set the model field of the request body to ernie-5.5-flash-preview, send it to https://qd.zsopc.com/v1/chat/completions, and put your key (it starts with sk-gpushare-) in the Authorization: Bearer header. The official OpenAI, Anthropic and Google Gemini SDKs all work directly; just point base_url at this gateway.

### How much does the ERNIE 5.5 Flash Preview API cost?

Input: 120 credits (≈ ¥2 / ≈ $0.297) per 1M tokens; Output: 480 credits (≈ ¥8 / ≈ $1.19) per 1M tokens; Cached input: 12 credits (≈ ¥0.2 / ≈ $0.03) per 1M tokens. Prices are in credits: 60 credits = ¥1. Each call first holds the most it could cost, then settles on actual usage and refunds the difference.

### How large is ERNIE 5.5 Flash Preview's context window?

1,048,576 tokens, with a default output limit of 65,536 tokens per request.

### What can ERNIE 5.5 Flash Preview do?

Tool calling, Thinking mode, JSON mode. Compatible protocols: OpenAI Chat Completions.

## Related

- All models and live prices: https://qd.zsopc.com/en/models
- Quickstart: https://qd.zsopc.com/en/docs/quickstart
- FAQ: https://qd.zsopc.com/en/docs/faq
- OpenAPI: https://qd.zsopc.com/openapi.json
