⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
freetheai-api
Help AI agents connect apps, SDKs, coding tools, and chat clients to FreeTheAI, the free OpenAI-compatible API at https://api.freetheai.org/v1. Use this skill when a user wants a free AI API key, a custom OpenAI base URL, setup help for an AI client, or examples for chat, streaming, and tool calling.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
// README
FreeTheAI
FreeTheAI is a free, OpenAI-compatible AI API. One key and one base URL give you dozens of chat models with streaming, tool calling, web search with sourced answers, and image and video generation. Also searched as Free The AI, Free The Ai, and FreeTheAi.
[!IMPORTANT] FreeTheAI moved to freetheai.org. The old API at
api.freetheai.xyz, its keys, and the old Discord/signupand/checkincommands no longer work. Use the base URLhttps://api.freetheai.org/v1with a key from freetheai.org. Oldfreetheai.xyzlinks forward to their new pages.
Quick start
- Create an account at freetheai.org, confirm your email, and make a key under API keys.
- Do the daily check-in once a day to unlock the free models until 00:00 UTC.
- Point your app at the base URL.
Base URL https://api.freetheai.org/v1
Auth Authorization: Bearer YOUR_API_KEY
Model IDs fta/<provider>/<model>, for example fta/zai/glm-5.3
curl https://api.freetheai.org/v1/chat/completions \
-H "Authorization: Bearer $FREETHEAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "fta/zai/glm-5.3", "messages": [{"role": "user", "content": "Hello!"}]}'
from openai import OpenAI
client = OpenAI(base_url="https://api.freetheai.org/v1", api_key="YOUR_API_KEY")
reply = client.chat.completions.create(
model="fta/zai/glm-5.3",
messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)
Chat completions support streaming, tool calling, and the usual sampling settings. List the models your key can use with GET /v1/models. Every error carries an error ID (in the body and the X-Error-ID header); quote it when you ask for help.
SDKs and examples
| Language | Package | Repository |
|---|---|---|
| Python | pip install freetheai | freetheai-python |
| JavaScript and TypeScript | npm install freetheai | freetheai-js |
| Go | go get github.com/Free-The-Ai/freetheai-go | freetheai-go |
| Recipes for all of the above | freetheai-cookbook |
Code you can copy is in examples/.
Free tier
- 50 requests a day on the free models. The count resets at 00:00 UTC, and failed requests don't count.
- Free models need the daily check-in at freetheai.org/checkin.
- Paid plans are coming soon.
Models
The live list, with context sizes, is at freetheai.org/models. Model IDs start with a short tag:
| Prefix | What it holds |
|---|---|
fta/zai/* | GLM models, including glm-5.3 and glm-5.3-flash |
fta/kimi/* | Kimi K3 |
fta/mmx/* | MiniMax M3 |
fta/bbl/*, fta/vbk/*, fta/olm/*, fta/olf/*, fta/kai/*, fta/ocz/* | Chat, reasoning, and open-weight models, some with free tiers |
Apps and setup guides
Anything that speaks the OpenAI API works with FreeTheAI, including SillyTavern, JanitorAI, Open WebUI, Cline, LibreChat, and more. Step-by-step guides for each app are at freetheai.org/setup.
Privacy
Read the Terms and the Privacy Policy for what is collected and who is responsible for it.
For AI agents
SKILL.md teaches coding agents how to set up FreeTheAI in a user's tools without inventing keys, endpoints, or model IDs.
This repository
examples/holds copy-paste code for common SDKs.site/is the small Astro site that forwards the oldfreetheai.xyzlinks to freetheai.org. It deploys to GitHub Pages on every push tomaster.
Support and credits
FreeTheAI is built by Vibhek Soni (@vibheksoni). A tip on Buy Me a Coffee helps cover the servers. Starring the repo and sharing it helps too.
- Questions and help: Discord
- Security issues: [email protected]
License
MIT. See LICENSE.
// HOW IT'S BUILT
KEY FILES