Try ERNIE-5.5-Flash-Preview (free)
Generate with ERNIE-5.5-Flash-Preview (free) right here. Verify your email to start with free credits.
Specifications
Context window
1M tokens
Max output
922K tokens
Input price
Free / 1M tokens
Output price
Free / 1M tokens
Capabilities
Reasoning
Works through multi-step problems before answering, for harder tasks.
Tool use
Can call functions and tools, enabling agentic and structured workflows.
Structured output
Returns validated JSON that conforms to a schema you define.
Use ERNIE-5.5-Flash-Preview (free) through the API
The model id is baidu/ernie-5.5-flash-preview:free. Requests bill your GenMagic balance at the price above, and each response reports what it cost.
curl https://genmagic.co/api/v1/chat/completions \
-H "Authorization: Bearer $GENMAGIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "baidu/ernie-5.5-flash-preview:free",
"messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
}'from openai import OpenAI
client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")
resp = client.chat.completions.create(
model="baidu/ernie-5.5-flash-preview:free",
messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)From an AI agent, call generate_text with "model": "baidu/ernie-5.5-flash-preview:free" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.
Use ERNIE-5.5-Flash-Preview (free) in n8n
- In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
- Set Resource to Text and Operation to Generate.
- In Model Name or ID, pick Baidu: ERNIE-5.5-Flash-Preview (free), or enter
baidu/ernie-5.5-flash-preview:freeas an expression. - Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.
Ready-to-import workflows that already use the node are on GenMagic for n8n.
Similar-priced text models from other providers
Other text models GenMagic runs at a comparable price, on the same balance and API key.
| Model | Provider | Price | Context |
|---|---|---|---|
| Baidu: ERNIE-5.5-Flash-Preview (free) (this model) | Baidu | Free | 1M |
| Thinking Machines: Inkling 2 Small (free) | Thinkingmachines | Free | 1M |
| LiquidAI: LFM3-1.7B (free) | Liquid AI | Free | 262K |
| Recursive: Flint (free) | Recursive | Free | 262K |
| NVIDIA: Nemotron 3.5 Super VL (free) | NVIDIA | Free | 1M |
| Dots Studio: Dots3-Note Preview (free) | Dots Studio | Free | 512K |
More from Baidu
All 3 Baidu modelsBaidu: ERNIE-5.5-Flash-Preview
TextERNIE 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. It has 280 billion total...
View modelBaidu: ERNIE-Light-DT-1.0
TextERNIE-Light-DT-1.0 is based on open-source GLM models and includes research findings from Baidu Search's Lightning large model. It features Baidu Sparse Attention (BSA), a unique sparse attention mechanism developed by...
View modelWhere these figures come from
- Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
- Specs and description: as Baidu publishes them (model card on Hugging Face), checked daily.
- Changes: no change recorded yet. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.
Generate with ERNIE-5.5-Flash-Preview (free) today
One GenMagic plan unlocks ERNIE-5.5-Flash-Preview (free) and every other model across text, image, audio, and video.