TensaHub › Kilo AI Gateway

Baidu: ERNIE-5.5-Flash-Preview (free)

API for the model baidu/ernie-5.5-flash-preview:free at Kilo AI Gateway, free and keyless, context 1,024,000 tokens, median response 1278 ms. curl, Python and JavaScript samples, live testing.

Test and rate in the catalog

ERNIE 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...

Type
Model
Provider
Kilo AI Gateway
Model ID
baidu/ernie-5.5-flash-preview:free
Pricing
Free
Keyless access
Yes
Base URL (OpenAI-compatible)
https://ai-gateway.kilo.ai/api/v1
Context
1,024,000 tokens
Inputs
Text
Features
Reasoning, JSON output, Tool calling
Response time
Median 1278 ms · p95 2246 ms · first token 995 ms · success 100% over 30 test(s) · last 2026-12-04T23:10:42.657Z
Developer rating
Not rated yet
Documentation
https://kilo.ai
Last check
2026-12-04T23:10:42.657Z

Code samples

cURL

curl https://ai-gateway.kilo.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"baidu/ernie-5.5-flash-preview:free","messages":[{"role":"user","content":"Hello, introduce yourself in one sentence."}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://ai-gateway.kilo.ai/api/v1", api_key="unused")
r = client.chat.completions.create(
    model="baidu/ernie-5.5-flash-preview:free",
    messages=[{"role": "user", "content": "Hello, introduce yourself in one sentence."}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://ai-gateway.kilo.ai/api/v1', apiKey: 'unused' })
const r = await client.chat.completions.create({
  model: 'baidu/ernie-5.5-flash-preview:free',
  messages: [{ role: 'user', content: 'Hello, introduce yourself in one sentence.' }],
})
console.log(r.choices[0].message.content)

Generate the integration code →

Popular searches

Frequently asked questions

Is the Baidu: ERNIE-5.5-Flash-Preview (free) API free?

Yes: Baidu: ERNIE-5.5-Flash-Preview (free) can be used for free and without an API key, within the provider’s rate limits.

How do I call Baidu: ERNIE-5.5-Flash-Preview (free) from my code?

Baidu: ERNIE-5.5-Flash-Preview (free) exposes an OpenAI-compatible API at https://ai-gateway.kilo.ai/api/v1: use any OpenAI SDK (Python, JavaScript…) with this base URL. Model identifier: baidu/ernie-5.5-flash-preview:free. Ready-to-use code (streaming, JSON, retries) is available in the developer toolkit.

How fast is Baidu: ERNIE-5.5-Flash-Preview (free)?

Measured by TensaHub: median response time 1,278 ms, first token after 995 ms, 100 % success over the last 30 checks.

What is the context window of Baidu: ERNIE-5.5-Flash-Preview (free)?

Baidu: ERNIE-5.5-Flash-Preview (free) accepts up to 1,024,000 tokens of context (prompt and history).

What are the alternatives to Baidu: ERNIE-5.5-Flash-Preview (free)?

Similar APIs listed in the catalog: Baidu: ERNIE-5.5-Flash-Preview (free), Baidu: ERNIE-Light-DT-1.0.

Alternatives