https://api.freetheai.xyz/v1Drop-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_KEYGET /v1/models or https://freetheai.xyz/modelsBuilt 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, and Responses 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 frontendsSillyTavernPower-user roleplay frontend with deep prompt control.
Open guide ->Coding agentsClineVSCode autonomous coding agent.
Open guide ->Roleplay & chat frontendsJanitor AIRoleplay site that connects through a reverse proxy.
Open guide ->General chat clientsLibreChatSelf-hosted multi-model chat UI.
Open guide ->General chat clientsOpen 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.