Free AI API, ready in minutes.
Sign up in Discord, unlock your key with /checkin,
point the OpenAI SDK at FreeTheAi, send a chat completion. No
credit card. No waiting list.
Get a free API key
Join the FreeTheAi Discord, run /signup, and
complete the modal. You get an active key immediately.
- Join discord.gg/secrets
-
Run
/signupand answer the use-case + bot-disclosure + human challenge in the modal -
Lost your key later? Use
/resetkeyto rotate it
Unlock today with /checkin
FreeTheAi uses a daily /checkin in Discord to
keep automated bots and abuse off the free pool. You run
it once per UTC day with your existing key, solve a tiny
human challenge, and your key is unlocked for the next 24
hours.
-
Run
/checkinin Discord and paste your existing API key in the modal - Solve the randomized challenge - it's the same idea as a captcha, just lighter
-
Until you check in, requests return
403 daily_checkin_required. After check-in your key works normally for the rest of the UTC day.
Install the OpenAI SDK
FreeTheAi is OpenAI-compatible, so you can keep using the official SDK you already have.
pip install openai
npm install openai
Point base URL at FreeTheAi
Set base_url (or baseURL) to https://api.freetheai.xyz/v1 and pass your
FreeTheAi key as the API key.
Send your first request
Pick any alias from the model catalog. Pricing on the free tier stays $0.
from openai import OpenAI client = OpenAI( api_key="YOUR_FREETHEAI_KEY", base_url="https://api.freetheai.xyz/v1", ) response = client.chat.completions.create( model="bbg/deepseek-ai/DeepSeek-V3.2", messages=[{"role": "user", "content": "Reply with OK."}], ) print(response.choices[0].message.content)
import OpenAI from "openai"; const client = new OpenAI({ apiKey: process.env.FREETHEAI_API_KEY, baseURL: "https://api.freetheai.xyz/v1", }); const response = await client.chat.completions.create({ model: "bbg/deepseek-ai/DeepSeek-V3.2", messages: [{ role: "user", content: "Reply with OK." }], }); console.log(response.choices[0].message.content);
curl https://api.freetheai.xyz/v1/chat/completions \ -H "Authorization: Bearer $FREETHEAI_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "bbg/deepseek-ai/DeepSeek-V3.2", "messages": [{"role": "user", "content": "Reply with OK."}] }'