ernie-5-5-flash-preview-free
ERNIE 5.5 Flash Preview (free) is the latest foundation model in Baidu’s ERNIE family, with improvements in coding, agentic work, knowledge work and deep research, and a 1M-token context window. This is the free tier served through OpenRouter: requests are rate-limited, the free version may be withdrawn at any time, and free providers may log prompts — use the paid version for production.
Pricing: Input 0 credits / 1M tokens (≈ $0.00), Output 0 credits / 1M tokens (≈ $0.00).
How can I help you today?
This demo page does not include the full memory features of the client. For the complete experience, please use the client or the CLI.
More AI models from Baidu
Latest and popular AI models
ERNIE 5.5 Flash Preview (free) is the latest foundation model in Baidu’s ERNIE family, with improvements in coding, agentic work, knowledge work and deep research, and a 1M-token context window. This is the free tier served through OpenRouter: requests are rate-limited, the free version may be withdrawn at any time, and free providers may log prompts — use the paid version for production.
ERNIE 5.5 Flash Preview (free) at a glance
ERNIE 5.5 Flash Preview (free) is a chat model from Baidu. It accepts text as input and returns text, with a context window of up to 1M tokens.
Use it without hosting anything
The same key also works for the other chat, image, video and audio models on ModelFold.
Core Capabilities of ERNIE 5.5 Flash Preview (free)
Up to 1M tokens of context
Keep long conversations, large documents and sizeable code in a single request, so the model can reason over the full material instead of fragments.
Function calling
ERNIE 5.5 Flash Preview (free) supports tool (function) calling: describe your functions in the request and the model returns structured calls your code can run — the basis for agents and integrations.
Adjustable reasoning effort
Choose a reasoning effort level (low, medium or high) per request to balance depth of thinking against speed and token usage.
Structured outputs
Ask for JSON that follows a schema (response_format), which makes extraction, classification and system integrations more reliable.
- 1
Step 1: Try it in the Playground
Open the Playground at the top of this page, type a prompt and see how ERNIE 5.5 Flash Preview (free) responds before writing any code.
- 2
Step 2: Create an API key
Sign in to ModelFold and create an API key in the console. Keep it secret and send it as a Bearer token.
- 3
Step 3: Send a request
Call POST https://modelfold.ai/v1/chat/completions with "model": "ernie-5-5-flash-preview-free" and your messages. Existing OpenAI-compatible SDKs work by changing the base URL and key.
- ✓
Step 4: Ship and monitor
Integrate the response into your product and check token usage and spend for every call in the console logs.
AI coding assistants
Generate, explain, debug and refactor code, review pull requests and work through multi-file changes in developer tools and IDE plugins.
Autonomous agents
Build agents that plan multi-step tasks, call your tools and APIs, and keep working toward a goal across long sessions.
Long-document workflows
Feed in long reports, contracts, manuals or codebases and ask for summaries, comparisons and answers grounded in the material.
Frequently Asked Questions
What is ERNIE 5.5 Flash Preview (free)?⌄
ERNIE 5.5 Flash Preview (free) is the latest foundation model in Baidu’s ERNIE family, with improvements in coding, agentic work, knowledge work and deep research, and a 1M-token context window. This is the free tier served through OpenRouter: requests are rate-limited, the free version may be withdrawn at any time, and free providers may log prompts — use the paid version for production.
Which inputs does ERNIE 5.5 Flash Preview (free) support?⌄
ERNIE 5.5 Flash Preview (free) accepts text and returns text. Through ModelFold you send text messages; documents attached in the Playground are converted to text.
How long is the context window of ERNIE 5.5 Flash Preview (free)?⌄
Up to 1M tokens, shared between your input and the model’s output.
Does ERNIE 5.5 Flash Preview (free) support function calling?⌄
Yes. ERNIE 5.5 Flash Preview (free) supports tools / function calling through the standard tools parameter of the chat completions API.
How is ERNIE 5.5 Flash Preview (free) billed on ModelFold?⌄
This is the free version served through OpenRouter: calls are not charged, but they are rate-limited and the free version may be withdrawn at any time. Use the paid version of the model for production traffic.
| Input | 0 credits 1M tokens≈ $0.00 |
| Output | 0 credits 1M tokens≈ $0.00 |
Billed per token: input and output are priced separately, and thinking tokens count as output. The Playground charges exactly the same way.
Read API docs →AI Agents · Claude Code / Cursor / Trae →curl https://modelfold.ai/v1/chat/completions \
-H "Authorization: Bearer $MODELFOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"ernie-5-5-flash-preview-free","messages":[{"role":"user","content":"Hello"}]}'


