Meet LLMHarbor: One Gateway for Multiple AI Providers
Connect your own provider keys, manage models from a dashboard, and use an OpenAI-compatible endpoint across your AI apps and tools.
A self-hosted AI API gateway
LLMHarbor is a free, open-source gateway maintained by Zelvior Labs. It brings multiple AI providers behind one OpenAI-compatible API, giving you a single place to manage provider keys, models, routing, and fallback behavior.
Instead of configuring each compatible app separately for every provider, you can connect your providers to LLMHarbor and point your client at its local API endpoint.
LLMHarbor is a modified version of freellmapi by Tashfeen Ahmed.
Why use LLMHarbor?
Manage models and experiment with AI
The dashboard provides tools for managing provider keys, models, and fallback chains. It also includes analytics, logs, backups, and a playground.
The playground offers Chat, Agent, Coding, Research, and Compare modes. Depending on the selected tools and configured providers, agent modes can perform tasks such as working with files, searching the web, and generating supported media.
LLMHarbor playground screenshot from the project documentation.
From provider keys to one API endpoint
- Install or start LLMHarbor on a supported platform.
- Create the first dashboard account and sign in.
- Add your provider keys on the dashboard’s Keys page.
- Copy your unified API key from the dashboard.
- Connect a compatible app to the appropriate local API URL for your installation.
You can select a specific model or use routing options such as
auto. Available models and features depend on the
providers and keys you configure.
Models and routing in the LLMHarbor dashboard.
Where can you run LLMHarbor?
| Platform | Available options |
|---|---|
| Windows | Desktop builds, plus a legacy edition for Windows 7 SP1, Windows 8, and Windows 8.1. |
| Linux | Desktop builds for x64 and ARM64, plus Linux Legacy for x86 and x64. |
| macOS | Builds for Apple silicon and Intel; macOS 12 or later. |
| Android | APKs for supported architectures; Android 8.0 or later. |
| Docker and source | Self-host using the project’s Docker or source instructions. |
Check the current download page and release notes for the exact requirements and filenames before installing.
LLMHarbor on Windows 7 and 32-bit Linux
One useful feature for legacy-PC enthusiasts is the availability of separate builds intended for older Windows and Linux systems.
Windows 7 SP1, 8, and 8.1
The Windows legacy edition bundles its runtime, so a separate Node.js installation is not required just to launch that edition.
windows-legacy-x86 for 32-bit Windows 7—not the normal
windows-x86 file. File naming may change in later
releases, so always read the notes for the release you download.
The legacy Windows edition is a preview pending confirmation on real Windows 7, 8, and 8.1 installations. Compatibility should not be assumed for every machine or package.
Linux Legacy for x86 and x64
Linux Legacy runs the API server and opens its dashboard in a browser; it is not the Electron desktop app. It requires a working system installation of Node.js 18 or newer. For an x86 system, that means a suitable 32-bit Node.js installation.
The Linux Legacy downloads include .deb, AppImage, and
portable archive options. Follow the release notes for the file you
choose.
Use an OpenAI-compatible API
LLMHarbor offers an OpenAI-compatible /v1 API for
compatible clients. The project also documents Anthropic Messages,
Gemini, optional Ollama emulation, and an MCP endpoint.
The endpoint depends on how you run the application:
-
Desktop and Android apps:
http://127.0.0.1:31415/v1by default. -
Linux Legacy:
http://127.0.0.1:3001/v1by default. -
Source development setup:
http://localhost:3001/v1by default.
For example, a Python client can use the desktop endpoint after LLMHarbor is running and a provider key has been configured:
from openai import OpenAI
client = OpenAI(
base_url="http://127.0.0.1:31415/v1",
api_key="YOUR_LLMHARBOR_API_KEY"
)
response = client.chat.completions.create(
model="auto",
messages=[
{"role": "user", "content": "Explain what an API gateway does."}
]
)
print(response.choices[0].message.content)
Replace the example key with your own unified LLMHarbor key. For Linux
Legacy, change the port to 3001. Keep real API keys out
of public posts, screenshots, and source repositories.
For the complete API reference, visit the LLMHarbor API documentation .
Where are provider keys stored?
According to the project documentation, provider keys are stored in an SQLite database on your machine using AES-256-GCM encryption. Client applications can use a unified key or separately created client credentials instead of receiving your provider keys directly.
LLMHarbor is intended for personal use and trusted networks. Keep your API keys and backups private, leave LAN access off unless you need it, and do not expose the gateway directly to the public internet.
Get started with LLMHarbor
- Visit the LLMHarbor app page or GitHub Releases.
- Choose a build that matches your operating system and architecture.
- Compare the downloaded file’s SHA-256 checksum with the published checksum before running it.
- Install or extract the build, following the platform instructions.
- Start LLMHarbor, create your dashboard account, and add a provider key.
Frequently asked questions about LLMHarbor
Is LLMHarbor free?
LLMHarbor is free and open source under the MIT license, and the project has no paid plan. The AI providers you connect have their own quotas, pricing, and terms.
Does LLMHarbor provide free API keys?
You add your own keys from the providers you use. Provider free tiers and availability can change, so check each provider’s current terms.
Does LLMHarbor work with OpenAI-compatible applications?
It provides an OpenAI-compatible API. Individual client features and models still depend on your configuration and provider support.
Can I use LLMHarbor on Windows 7 32-bit?
A separate Windows legacy edition is available for Windows 7 SP1, including an x86 build. It is a preview and should be tested on the intended machine. Check the release notes carefully for the correct legacy filename.
Can I use LLMHarbor on 32-bit Linux?
A Linux Legacy x86 build is available. It uses the system’s Node.js installation and opens the dashboard in a browser.
Is LLMHarbor completely offline?
The gateway can run locally, but requests to external AI providers require a network connection and are sent to those providers.