Skip to content

FreeTheAI documentation

A free, OpenAI-compatible API for GLM 5.3, Kimi K3, MiniMax M3, and dozens more models. Keep the OpenAI or Anthropic client you already use, change the base URL and key, and start sending requests.

bash
curl https://api.freetheai.org/v1/chat/completions \
  -H "Authorization: Bearer $FTAI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "fta/zai/glm-5.3",
    "messages": [
      {"role": "user", "content": "Hello!"}
    ]
  }'
python
import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.freetheai.org/v1",
    api_key=os.environ["FTAI_KEY"],
)

reply = client.chat.completions.create(
    model="fta/zai/glm-5.3",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)
ts
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.freetheai.org/v1',
  apiKey: process.env.FTAI_KEY,
})

const reply = await client.chat.completions.create({
  model: 'fta/zai/glm-5.3',
  messages: [{ role: 'user', content: 'Hello!' }],
})
console.log(reply.choices[0].message.content)
Base URL
https://api.freetheai.org/v1OpenAI SDKs and most apps
Anthropic base URL
https://api.freetheai.orgClaude Code and the Anthropic SDK
Auth header
Authorization: Bearer ftai_...
Free tier
50 requests a day, reset 00:00 UTC+50 a day for linking Discord. One request at a time, plus a short daily check-in.

Paid models and plans are coming soon. Nobody needs to pay to use the free tier, and FreeTheAI does not store your prompts or replies.

FreeTheAI documentation. Paid models and plans are coming soon; the free tier has daily limits.