FreeLLMAPI Windows setup and Cline connection

Learn to set up FreeLLMAPI in Windows PowerShell, add provider keys, and connect Cline through an OpenAI-compatible API on port 3001.

Player not loading? Watch on YouTube

This tutorial walks through running FreeLLMAPI on Windows and connecting it to Cline in VS Code. The project is described as an open source API gateway that brings several AI providers into one OpenAI-compatible interface. The self-hosted component is the gateway; the demonstration uses external model providers rather than showing how to run models locally.

The setup requires Node.js and Git. The presenter clones the repository, installs dependencies with npm, creates a .env file with an encryption key, and starts the development server. The supplied PowerShell commands set the backend port to 3001. After registering an account in the local interface, the presenter adds provider API keys and tests a prompt in the playground.

Provider checks do not all succeed. OpenRouter responds, while Gemini reports an error that the presenter suspects is related to connectivity. The presenter also describes automatic fallback between models, but the walkthrough does not establish that this prevents every limit or service interruption.

The final section connects the Cline coding assistant through its OpenAI-compatible provider setting, using the gateway's base URL and general API key. A project-directory reading request demonstrates the connection. Docker is mentioned as another installation route, but the tutorial follows the PowerShell setup.