TensaHub › Kilo AI Gateway

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

Kilo AI Gateway 提供的 baidu/ernie-5.5-flash-preview:free 模型 API,免费且无需密钥,上下文 1,024,000 token,中位响应 1150 毫秒。提供 curl、Python、JavaScript 示例及在线测试。

在目录中测试并评分

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

类型
模型
服务商
Kilo AI Gateway
模型 ID
baidu/ernie-5.5-flash-preview:free
价格
免费
无需密钥访问
是
Base URL(兼容 OpenAI)
https://ai-gateway.kilo.ai/api/v1
上下文
1,024,000 token
输入
文本
功能
推理, JSON 输出, 工具调用
响应时间
中位数 1150 ms · p95 2246 ms · 首个 token 995 ms · 成功率 100%(30 次测试)· 最近 2026-12-05T02:17:34.426Z
开发者评分
暂无评分
文档
https://kilo.ai
最近检查
2026-12-05T02:17:34.426Z

代码示例

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":"你好,请用一句话介绍你自己。"}]}'

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": "你好,请用一句话介绍你自己。"}],
)
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: '你好,请用一句话介绍你自己。' }],
})
console.log(r.choices[0].message.content)

生成集成代码 →

热门搜索

常见问题

Baidu: ERNIE-5.5-Flash-Preview (free) API 免费吗?

是的:Baidu: ERNIE-5.5-Flash-Preview (free) 可免费使用且无需 API 密钥,但受服务商的速率限制。

如何在代码中调用 Baidu: ERNIE-5.5-Flash-Preview (free)?

Baidu: ERNIE-5.5-Flash-Preview (free) 在 https://ai-gateway.kilo.ai/api/v1 提供兼容 OpenAI 的 API:使用任意 OpenAI SDK(Python、JavaScript 等)并设置该基础 URL 即可。 模型标识:baidu/ernie-5.5-flash-preview:free。 开发者工具箱中提供了即用代码(流式输出、JSON、重试)。

Baidu: ERNIE-5.5-Flash-Preview (free) 的速度如何?

TensaHub 实测:中位响应时间 1,150 毫秒,首个令牌 995 毫秒,最近 30 次检测成功率 100%。

Baidu: ERNIE-5.5-Flash-Preview (free) 的上下文窗口有多大?

Baidu: ERNIE-5.5-Flash-Preview (free) 最多支持 1,024,000 个令牌的上下文(提示词和历史记录)。

Baidu: ERNIE-5.5-Flash-Preview (free) 有哪些替代方案?

目录中的类似 API:Baidu: ERNIE-5.5-Flash-Preview (free), Baidu: ERNIE-Light-DT-1.0。

替代方案