Free-The-Ai/free-ai
소개
FreeTheAI: AI model marketplace with one OpenAI-compatible API. One key for GPT, Claude, Gemini, GLM, Kimi, and more, paid per token at api.freetheai.org/v1.
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDocs · Setup guides · Models · Providers · Status · Discord
FreeTheAI
FreeTheAI is an AI model marketplace with one OpenAI-compatible API. One account and one API key reach models from many providers, including GPT, Claude, Gemini, Grok, GLM, Kimi, and MiniMax, paid per token from one wallet at each provider's listed price. Streaming, tool calling, and web search with sourced answers work across them. Also searched as Free The AI, Free The Ai, and FreeTheAi.
[!NOTE] The free tier closed for most accounts on November 10, 2026. Read why it closed. Requests are now paid from your wallet.
[!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.
- Add funds to your wallet (from $5, crypto or card). Each request bills the tokens it used at the listed price; there is no subscription.
- Follow a provider on its page at freetheai.org/providers. A key uses the providers its account follows.
- Point your app at the base URL.
Base URL https://api.freetheai.org/v1
Auth Authorization: Bearer YOUR_API_KEY
Model IDs the model name, for example glm-5.3; <provider>/<model> picks one provider
curl https://api.freetheai.org/v1/chat/completions \
-H "Authorization: Bearer $FREETHEAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "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="glm-5.3",
messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)
Chat Completions, Responses, and Anthropic Messages are supported, with streaming and tool calls. Claude Code and the Anthropic SDK use the base URL https://api.freetheai.org. 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/.
Pricing
- Add funds to one FreeTheAI wallet, from $5, with crypto or a card.
- Each request bills the tokens it used at the provider's listed price. Prices for every provider are on the models page.
- No subscription, and no daily limit to wait out.
Models
The live list, with prices, context sizes, and every provider that serves each model, is at freetheai.org/models. A model ID is the model name, for example glm-5.3, and by default the request goes to the cheapest provider you follow. Write <provider>/<model> to pick one provider.
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.
관련 프로젝트 살펴보기
불러오는 중…
