https://api.freetheai.xyz/v1 One endpoint for coding agents and editor tools.
FreeTheAi works with coding agents that support custom OpenAI-compatible providers. Add the base URL, paste your key, choose a model alias, and let the client handle streaming and tools.
Use the same FreeTheAi gateway everywhere.
OpenCode, Cline, Roo Code, Kilo Code, Zed, Continue.dev, Aider, and editor-agent users.
OpenAI Compatible Use an exact alias from https://freetheai.xyz/models Built for real clients, not just docs.
Tool-friendly routes
Chat completions, Messages, and Responses compatibility cover the common surfaces used by coding agents.
Exact setup guides
The setup pages include copy-paste config blocks for editor agents instead of generic SDK advice.
Model metadata
The site catalog exposes public context, output, and capability fields so clients can be configured accurately.
Pick the route your client expects.
POST /v1/chat/completions
Default route for OpenAI-compatible editor integrations and many agent tools.
POST /v1/messages
Anthropic-style compatibility route for clients that speak Messages format.
POST /v1/responses
Responses-style compatibility route for clients and SDKs moving toward the newer OpenAI surface.
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 -> Coding agents ClineVSCode autonomous coding agent.
Open guide -> Coding agents Roo CodeMulti-agent VSCode dev team forked from Cline.
Open guide -> Coding agents Kilo CodeVSCode coding agent with one-click custom providers.
Open guide -> Coding agents Zed IDENative editor with first-class agent support.
Open guide -> Coding agents Continue.devOpen-source assistant for VSCode and JetBrains.
Open guide -> CLI & scripting AiderAI pair-programming CLI driven by LiteLLM.
Open guide ->Fast answers.
Can Cline use FreeTheAi?
Yes. Pick OpenAI Compatible in Cline, set Base URL to https://api.freetheai.xyz/v1, paste your key, and type an exact model alias.
Can OpenCode use FreeTheAi?
Yes. Add a custom provider with @ai-sdk/openai-compatible and baseURL https://api.freetheai.xyz/v1, then list the aliases you want in opencode.json.
Do coding agents need a paid plan?
The free API works for compatible clients, but optional paid plans provide separate higher-power model access and plan limits for heavier use.