Pollinations 提供的 openai 模型 API,免费且无需密钥,中位响应 231 毫秒。提供 curl、Python、JavaScript 示例及在线测试。
Keyless text access, rate limits not guaranteed.
- 类型
- 模型
- 服务商
- Pollinations
- 模型 ID
openai- 价格
- 免费
- 无需密钥访问
- 是
- Base URL(兼容 OpenAI)
https://text.pollinations.ai/openai- 输入
- 文本
- 响应时间
- 中位数 231 ms · p95 39425 ms · 首个 token 231 ms · 成功率 100%(27 次测试)· 最近 2026-12-04T23:12:24.446Z
- 开发者评分
- 暂无评分
- 文档
- https://pollinations.ai
- 最近检查
- 2026-12-04T23:12:24.446Z
代码示例
cURL
curl https://text.pollinations.ai/openai \
-H "Content-Type: application/json" \
-d '{"model":"openai","messages":[{"role":"user","content":"你好,请用一句话介绍你自己。"}]}'Python
import requests
r = requests.post("https://text.pollinations.ai/openai", json={
"model": "openai",
"messages": [{"role": "user", "content": "你好,请用一句话介绍你自己。"}],
}, timeout=60)
print(r.json()["choices"][0]["message"]["content"])JavaScript
const r = await fetch('https://text.pollinations.ai/openai', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ model: 'openai', messages: [{ role: 'user', content: '你好,请用一句话介绍你自己。' }] }),
})
console.log((await r.json()).choices[0].message.content)
热门搜索
常见问题
Pollinations · openai API 免费吗?
是的:Pollinations · openai 可免费使用且无需 API 密钥,但受服务商的速率限制。
如何在代码中调用 Pollinations · openai?
Pollinations · openai 在 https://text.pollinations.ai/openai 提供兼容 OpenAI 的 API:使用任意 OpenAI SDK(Python、JavaScript 等)并设置该基础 URL 即可。 模型标识:openai。 开发者工具箱中提供了即用代码(流式输出、JSON、重试)。
Pollinations · openai 的速度如何?
TensaHub 实测:中位响应时间 231 毫秒,首个令牌 231 毫秒,最近 27 次检测成功率 100%。