友情提示:API Key 每10-15天更新一次

dxnt/free
免费智能路由

一行代码接入AI,系统自动优选最优免费模型
兼容 OpenAI API 格式,每天100次免费调用

-可用模型
100每日次数
完全免费
调用示例
# 使用 dxnt/free 免费路由
curl https://www.dxnt.com/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_FREE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "dxnt/free", "messages": [{"role": "user", "content": "Hello!"}]}'
加载中...

三步开始使用

1

登录获取 Key

登录后在本页面获取当前有效的免费 API Key,Key 每10-15天自动轮换

2

配置接入点

将 Base URL 设为 https://www.dxnt.com/api/v1,填入获取的 Key

3

指定模型

model 填写 dxnt/free,系统自动分配当前最优免费模型

代码示例

Python SDK
from openai import OpenAI

client = OpenAI(
    base_url="https://www.dxnt.com/api/v1",
    api_key="YOUR_FREE_KEY"
)

response = client.chat.completions.create(
    model="dxnt/free",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
cURL
curl https://www.dxnt.com/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_FREE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"dxnt/free","messages":[{"role":"user","content":"Hello!"}]}'