Dummy token accepted on the free tier; free token for higher limits,已收录 74 个模型。提供 curl、Python、JavaScript 示例及在线测试。
- 类型
- 服务商
- 服务商
- LLM7
- 价格
- 免费
- 无需密钥访问
- 是
- Base URL(兼容 OpenAI)
https://api.llm7.io/v1- 输入
- 文本
- 开发者评分
- 暂无评分
- 文档
- https://llm7.io
- 获取密钥
- https://token.llm7.io
- 最近检查
- 2026-12-04T20:20:29+00:00
代码示例
cURL
curl https://api.llm7.io/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer unused" \
-d '{"model":"default","messages":[{"role":"user","content":"你好,请用一句话介绍你自己。"}]}'Python
# pip install openai
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.llm7.io/v1", api_key="unused")
r = client.chat.completions.create(
model="default",
messages=[{"role": "user", "content": "你好,请用一句话介绍你自己。"}],
)
print(r.choices[0].message.content)JavaScript
// npm install openai
import OpenAI from 'openai'
const client = new OpenAI({ baseURL: 'https://api.llm7.io/v1', apiKey: 'unused' })
const r = await client.chat.completions.create({
model: 'default',
messages: [{ role: 'user', content: '你好,请用一句话介绍你自己。' }],
})
console.log(r.choices[0].message.content)
热门搜索
常见问题
LLM7 API 免费吗?
是的:LLM7 可免费使用且无需 API 密钥,但受服务商的速率限制。
如何在代码中调用 LLM7?
LLM7 在 https://api.llm7.io/v1 提供兼容 OpenAI 的 API:使用任意 OpenAI SDK(Python、JavaScript 等)并设置该基础 URL 即可。 开发者工具箱中提供了即用代码(流式输出、JSON、重试)。
替代方案
- LLM7 · default — 免费, 无需密钥
- LLM7 · Inkling-Small — 付费
- LLM7 · Qwen3.8-Flash — 付费
- LLM7 · XiaomiMiMo/MiMo-V2.6-Flash — 付费
- LLM7 · XiaomiMiMo/MiMo-V2.6-Pro — 付费
- LLM7 · anthropic/claude-opus-4-6 — 付费
- LLM7 · anthropic/claude-opus-4-7 — 付费
- LLM7 · anthropic/claude-opus-4-8 — 付费
- LLM7 · anthropic/claude-sonnet-4-6 — 付费
- LLM7 · anthropic/claude-sonnet-5 — 付费
- LLM7 · anthropic/claude-sonnet-5-5 — 付费
- LLM7 · claude-fable-5 — 付费