https://api.freetheai.xyz/v1 Drop-in OpenAI-compatible API access.
If your app, SDK, or AI client lets you set an OpenAI-compatible base URL, it can usually talk to FreeTheAi. Change the base URL, use your FreeTheAi key, and pick an exact model alias from the catalog.
Use the same FreeTheAi gateway everywhere.
Developers, students, hobby projects, Discord bots, AI clients, and agent frameworks.
Authorization: Bearer YOUR_FREETHEAI_KEY GET /v1/models or https://freetheai.xyz/models Built for real clients, not just docs.
Drop-in SDK support
Use standard OpenAI SDK configuration with a custom base URL and your FreeTheAi key.
Multiple compatibility routes
Chat Completions, Messages, Responses, image generation, and image editing share one public gateway.
No card to start
The free tier starts from Discord signup and daily check-in. Optional paid slots are separate.
Pick the route your client expects.
POST /v1/chat/completions
OpenAI-compatible chat endpoint with streaming and tool calling where supported by the selected model.
POST /v1/messages
Anthropic-style Messages route for Claude-style clients and frameworks.
POST /v1/responses
Responses-compatible route for newer OpenAI-style integrations.
Start with one of these guides.
Each guide includes the right URL format, model field, and common client-specific gotchas.
Pair-programming agent with a config-driven provider list.
Open guide -> Roleplay & chat frontends SillyTavernPower-user roleplay frontend with deep prompt control.
Open guide -> Coding agents ClineVSCode autonomous coding agent.
Open guide -> Roleplay & chat frontends Janitor AIRoleplay site that connects through a reverse proxy.
Open guide -> General chat clients LibreChatSelf-hosted multi-model chat UI.
Open guide -> General chat clients Open WebUISelf-hosted ChatGPT-style UI with native OpenAI connections.
Open guide ->Fast answers.
Is FreeTheAi OpenAI-compatible?
Yes. Use https://api.freetheai.xyz/v1 as the base URL with your FreeTheAi API key and exact model aliases from the catalog.
Does the free API require a credit card?
No. Users get a free key in Discord with /signup and unlock it daily with /checkin.
Which endpoint should I use first?
Use POST /v1/chat/completions first. Use /v1/messages or /v1/responses only when your client expects those protocols.