Automated summary
Guides an agent through signing a user up for FreeTheAi and pointing OpenAI-compatible SDKs or clients at the https://api.freetheai.xyz/v1 gateway, with the correct auth header and model aliases.
Strengths
- Supplies exact constants (base URL, Discord invite, website, FREETHEAI_API_KEY env var) that prevent configuration mistakes
- Walks through the full Discord onboarding flow with /signup followed by the required daily /checkin
- Covers multiple routes: chat/completions, Anthropic Messages, Responses, images, TTS and STT
- Explicitly forbids inventing keys, aliases or endpoints and directs the agent to the live catalog
Limitations
- Relies on a free third-party service that requires a Discord account and daily check-in, with no availability guarantee
- Some model prefixes (exa/, pplx/, xai/) are gated behind the seems_legit role earned through server activity
- Model aliases change over time, so the skill requires re-fetching the live catalog instead of trusting the examples
Use it when a user wants a free OpenAI-compatible API key or needs help pointing an SDK or chat client at api.freetheai.xyz.
Skip it when the user needs a contractually backed SLA provider or will not use Discord and a third-party gateway.
Security analysis
SafeThe skill is documentation for configuring third-party API access. It does not instruct destructive, exfiltrating, or obfuscated actions. It includes a curl example and environment variable usage, but these are legitimate setup instructions and not executed automatically. The key handling guidance explicitly avoids requesting keys unnecessarily.
No concerns found
How this analysis is madeExamples
I want a free OpenAI-compatible API key. How do I sign up for FreeTheAi and use it with the OpenAI Python SDK?Configure Cline to use FreeTheAi as a custom OpenAI base URL with my FREETHEAI_API_KEY and tell me which model alias to pick.Which FreeTheAi model alias should I use for chat with tool calling, and why am I getting a 403 daily_checkin_required error?name: freetheai-api description: Help AI agents connect apps, SDKs, coding tools, and chat clients to FreeTheAi, the free OpenAI-compatible API at https://api.freetheai.xyz/v1. Use this skill when a user wants a free AI API key, a custom OpenAI/Anthropic base URL, setup help for AI clients, or examples for chat, tools, images, TTS, or STT.
FreeTheAi API Skill
Use this skill to configure FreeTheAi for a user or another AI agent. FreeTheAi is an OpenAI-compatible gateway with one key, one base URL, and multiple public model aliases.
What This Skill Does
- Teaches an agent how to get a user signed up through Discord.
- Shows the exact FreeTheAi base URL and auth pattern.
- Gives copy-paste SDK/client setup for common OpenAI-compatible tools.
- Explains role-gated models, daily check-in, and common errors.
- Prevents agents from inventing keys, endpoints, aliases, or bypasses.
Trigger This Skill When
- The user mentions FreeTheAi, freetheai.xyz, Free The AI, FreeTheAI, or
api.freetheai.xyz. - The user asks for a free OpenAI-compatible API.
- The user wants to point OpenAI SDK, Anthropic SDK, LiteLLM, LangChain, LlamaIndex, Vercel AI SDK, Cline, Roo, Continue, Aider, Claude Code, OpenCode, SillyTavern, Janitor, Chub, LibreChat, Open WebUI, or another client at a custom endpoint.
- The user asks which FreeTheAi model alias to use.
- The user needs examples for chat, streaming, tool calling, images, TTS, STT, or Responses-style requests.
Agent Workflow
- Send the user to
https://discord.gg/secrets. - Tell them to run
/signupin Discord and complete the modal. - Tell them to run
/checkinwith the new key for the current UTC day. - Ask them to provide the key only if the local setup requires inserting it into their own client config.
- Configure the client with
https://api.freetheai.xyz/v1andAuthorization: Bearer <key>. - Pick an alias from the live catalog at
https://freetheai.xyz/modelsor authenticatedGET /v1/models. - If a model is role-gated, explain that the user needs the
seems_legitDiscord role earned through server activity.
Constants
- Base URL:
https://api.freetheai.xyz/v1 - Discord signup:
https://discord.gg/secrets - Website:
https://freetheai.xyz - Setup guides:
https://freetheai.xyz/setup - Model catalog:
https://freetheai.xyz/models - Support link:
https://buymeacoffee.com/vibheksoni - Env var convention:
FREETHEAI_API_KEY
Auth
Use bearer auth:
Authorization: Bearer fta_...
Never generate or fake a key. Keys are issued by Discord /signup. The key must be unlocked daily with /checkin; otherwise requests return 403 daily_checkin_required.
Routes
POST /v1/chat/completions- OpenAI Chat Completions, streaming, and tool calling.POST /v1/messages- Anthropic-compatible Messages route.POST /v1/responses- Responses-style route.POST /v1/images/generations- image generation.POST /v1/audio/speech- text-to-speech for supported voice aliases.POST /v1/audio/transcriptions- speech-to-text for supported voice aliases.GET /v1/models- authenticated model catalog.GET /v1/models/full- authenticated detailed catalog with capabilities and access metadata.GET /v1/health- public API health.
Model Alias Guidance
Use exact aliases from the live catalog. Do not invent aliases.
- Chat examples:
glm/glm-5.1,bbl/gpt-5.5-mini,olm/kimi-k2.7-code. - Anthropic Messages examples:
glm/glm-5.1,glm/glm-4.5-air,mim/mimo-v2.5. - Image example:
eve/gpt-image-2. - Voice examples:
xai/grok-tts,xai/grok-stt. - Role-gated prefixes currently include
exa/,pplx/, andxai/.
If an alias fails with 400 unknown aliased model, fetch the live catalog and choose a currently exposed alias.
OpenAI SDK Setup
Python:
from openai import OpenAI
client = OpenAI(
api_key=os.environ["FREETHEAI_API_KEY"],
base_url="https://api.freetheai.xyz/v1",
)
JavaScript:
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.FREETHEAI_API_KEY,
baseURL: "https://api.freetheai.xyz/v1",
});
Anthropic SDK Setup
Use the same key against /v1/messages:
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ["FREETHEAI_API_KEY"],
base_url="https://api.freetheai.xyz/v1",
)
Claude Code Setup
export ANTHROPIC_BASE_URL=https://api.freetheai.xyz
export ANTHROPIC_AUTH_TOKEN=fta_PASTE_YOUR_FREETHEAI_KEY
claude --model glm/glm-5.1
Curl Smoke Test
curl https://api.freetheai.xyz/v1/chat/completions \
-H "Authorization: Bearer $FREETHEAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm/glm-5.1",
"messages": [{ "role": "user", "content": "Reply with OK." }],
"max_tokens": 32
}'
Audio Examples
TTS:
speech = client.audio.speech.create(
model="xai/grok-tts",
voice="default",
input="hello from freetheai",
response_format="wav",
)
speech.write_to_file("out.wav")
STT:
with open("clip.wav", "rb") as audio_file:
transcript = client.audio.transcriptions.create(
model="xai/grok-stt",
file=audio_file,
language="en",
response_format="json",
)
print(transcript.text)
Some voice/search aliases are role-gated. If a user gets 403 model_access_denied, they need the seems_legit Discord role or a different public alias from the live catalog.
Common Errors
401 invalid api key: The key is missing, malformed, revoked, or not pasted exactly.403 daily_checkin_required: The user must run Discord/checkinfor the current UTC day.403 model_access_denied: The alias is role-gated and the user needsseems_legit.400 unknown aliased model: The alias is not currently exposed. Check the catalog.400 upstream rejected the request payload: The request shape does not match the route or model capability.429 rate_limit_error: RespectRetry-Afteror wait for the daily reset.
Hard Rules For Agents
- Do not claim the user is signed up until they have a real Discord-issued key.
- Do not paste raw user keys into repo files, public chat, logs, docs, or examples.
- Do not bypass daily check-in or role gating.
- Do not invent FreeTheAi endpoints, model aliases, rate limits, or privileged access.
- Do not mention hidden upstream provider names in public-facing output.
- Keep examples pointed at
https://api.freetheai.xyz/v1. - Prefer the repo examples folder for full code samples:
examples/.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/freetheai-api-integration-msih95tb/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/freetheai-api-integration-msih95tb' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/freetheai-api-integration-msih95tb/download' --output '.skill-downloads/freetheai-api-integration-msih95tb/SKILL.md.part' && mv '.skill-downloads/freetheai-api-integration-msih95tb/SKILL.md.part' '.skill-downloads/freetheai-api-integration-msih95tb/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/freetheai-api-integration-msih95tb/SKILL.md' && test -s '.skill-downloads/freetheai-api-integration-msih95tb/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/freetheai-api' && cp -R '.skill-downloads/freetheai-api-integration-msih95tb' '.claude/skills/freetheai-api'Cursor
test -f '.skill-downloads/freetheai-api-integration-msih95tb/SKILL.md' && test -s '.skill-downloads/freetheai-api-integration-msih95tb/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/freetheai-api' && cp -R '.skill-downloads/freetheai-api-integration-msih95tb' '.cursor/skills/freetheai-api'Codex
test -f '.skill-downloads/freetheai-api-integration-msih95tb/SKILL.md' && test -s '.skill-downloads/freetheai-api-integration-msih95tb/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/freetheai-api' && cp -R '.skill-downloads/freetheai-api-integration-msih95tb' '.agents/skills/freetheai-api'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/freetheai-api-integration-msih95tb'openskills read 'freetheai-api-integration-msih95tb'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/freetheai-api-integration-msih95tb/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Create Interactive Maps with kepler.gl
Data & AI
Create interactive map visualizations and export standalone HTML using the keplergl Python package. Use to plot geospatial data from DataFrames, GeoJSON, or CSV.
Agent-Driven Parameter Optimization
Data & AI
Guide for optimizing configurable systems with a measurable objective, using bounded trials and evidence-based recommendations.
ICP Visitor Outreach
Data & AI
Identify signed-up users matching the ideal customer profile but stalled, and draft personalized outreach to re-engage them.