We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.
EssentialSession, security and preferences. Needed for the site to work.Always on
New here? See how it worksA 1-minute tour of the playground, models and your API key.
Context window of 1,024,000 tokens, enough for long documents and multi-turn conversations.
Supports tool (function) calling for agents and integrations.
Supports structured JSON output with a schema.
Supports reasoning effort control.
About Baidu: ERNIE-5.5-Flash-Preview (free)
ERNIE-5.5-Flash-Preview is a text foundation model from Baidu, part of the ERNIE family. It is the latest foundation model in that line, with improvements across coding, agentic capabilities, knowledge work, and deep research. The model is listed as having 280 billion total parameters. On api14 it is available under the model id baidu/ernie-5.5-flash-preview:free, in a free variant.
The model accepts text input and produces text output, so it works as a general purpose language model rather than a multimodal one. Its context window is 1,024,000 tokens, and the maximum output is 921,600 tokens. That combination of a very large input window and a very large output allowance means you can send long documents, codebases, or transcripts in a single request and still receive a substantial response. Reasoning is part of the model's feature set: the supported parameters include include_reasoning, reasoning, and reasoning_effort, which let you control whether and how much reasoning the model performs.
The stated strengths point to several practical uses. Coding work fits naturally, whether that is generating code, reviewing it, or working through a large repository that has to be read in full. Agentic capabilities make it a candidate for tool calling workflows, where the model decides which functions to invoke and chains steps together. Knowledge work covers drafting, summarising, and transforming long documents. Deep research suits tasks that require pulling together many sources or a large body of text and reasoning over it before answering. The large context window is what makes the document heavy and repository heavy versions of these tasks feasible in one pass.
You call the model through api14's OpenAI-compatible API using the model id baidu/ernie-5.5-flash-preview:free. Because the interface follows the OpenAI format, existing OpenAI client libraries and request shapes work with only the base URL and model id changed. The request parameters supported are include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, structured_outputs, temperature, tool_choice, tools, and top_p. Structured outputs and response_format are useful when you need the reply to conform to a schema, while tools and tool_choice cover function calling. Temperature and top_p control sampling, and max_tokens caps the generated length.
If your task does not need reasoning control, tool calling, or a context window of this size, a smaller or simpler text model may be a better fit and cheaper to run. The model is text only, so anything involving images, audio, or other input types falls outside what it accepts. It is also a preview release, which is worth weighing if you need long term stability from a model in production.
How much does the Baidu: ERNIE-5.5-Flash-Preview (free) API cost?
Baidu: ERNIE-5.5-Flash-Preview (free) is free to call ($0 per token), but it needs an active subscription. Any paid plan lets you use every free model at no charge, within your plan rate limit; upgrade at /pricing.
What is the context window of Baidu: ERNIE-5.5-Flash-Preview (free)?
Baidu: ERNIE-5.5-Flash-Preview (free) reads up to 1,024,000 tokens per request: prompt, history and documents together. It writes up to 921,600 output tokens per response.
What can Baidu: ERNIE-5.5-Flash-Preview (free) do?
Baidu: ERNIE-5.5-Flash-Preview (free) accepts text and returns text. It supports tool calling, structured JSON output, reasoning effort control.
How do I call Baidu: ERNIE-5.5-Flash-Preview (free) from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "baidu/ernie-5.5-flash-preview:free". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Baidu: ERNIE-5.5-Flash-Preview (free)?
Comparable Text models at a similar price: Recursive: Flint Latest (free), Recursive: Flint 1.1 (free), ScaleDown: Toolcall (free). Each runs through the same API key, so switching is one string.
This community has no topics yet. Open the first one about Baidu: ERNIE-5.5-Flash-Preview (free).
Written by an AI model from our catalog data and translated automatically. The prices and limits in the tables come straight from the catalog. How we make content
How to call the Baidu: ERNIE-5.5-Flash-Preview (free) API
Create an API key in your dashboard.
Install the official openai SDK for your language.
Set baseURL to https://api14.com/api/v1 and model to "baidu/ernie-5.5-flash-preview:free".
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api14.com/api/v1",
apiKey: process.env.API14_API_KEY,
});
const result = await client.chat.completions.create({
"model": "baidu/ernie-5.5-flash-preview:free",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
});
console.log(result.choices[0].message.content);
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api14.com/api/v1",
api_key=os.environ["API14_API_KEY"],
)
result = client.chat.completions.create(
model="baidu/ernie-5.5-flash-preview:free",
messages=[
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
],
)
print(result.choices[0].message.content)
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
public class Main {
public static void main(String[] args) throws Exception {
String body = """
{
"model": "baidu/ernie-5.5-flash-preview:free",
"messages": [
{
"role": "user",
"content": "Explain vector databases in two sentences."
}
]
}
""";
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://api14.com/api/v1/chat/completions"))
.header("Authorization", "Bearer " + System.getenv("API14_API_KEY"))
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
using OpenAI;
using OpenAI.Chat;
using System.ClientModel;
var client = new ChatClient(
model: "baidu/ernie-5.5-flash-preview:free",
credential: new ApiKeyCredential(Environment.GetEnvironmentVariable("API14_API_KEY")!),
options: new OpenAIClientOptions { Endpoint = new Uri("https://api14.com/api/v1") });
ChatCompletion completion = client.CompleteChat("Explain vector databases in two sentences.");
Console.WriteLine(completion.Content[0].Text);