DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to add a local model server beside the free tiers with Freellmapi

Register llama.cpp, LM Studio, vLLM, or Ollama as a custom provider in the same router.

Short answer: Start your local server (llama.cpp, LM Studio, vLLM, or Ollama) and note its OpenAI-compatible base URL; then install the router with curl -fsSL https://freellmapi.co/install.sh | bash or the local setup in docs/en/install/01-install.md; on the Keys page, add a custom provider with that base URL and select the chat, embedding, image, or audio models it serves. All steps.

Authorization notice. Freellmapi is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA developer who runs a local model on their own hardware and wants it to share the same endpoint and fallback chain as cloud free tiers.

The problemLocal model servers and cloud free tiers each need separate client configuration, so switching between them breaks existing apps.

The outcomeLocal and cloud models sit behind one /v1 endpoint, and the router can fall over between them under the same chain rules.

What you need first

  • Node 20 or newer, or Docker for the one-liner install
  • API keys from one or more free-tier providers (for example Google, Groq, Cerebras, Mistral, OpenRouter)
  • A machine that can run the router on localhost:3001

Steps

  1. Start your local server (llama.cpp, LM Studio, vLLM, or Ollama) and note its OpenAI-compatible base URL.
  2. Install the router with curl -fsSL https://freellmapi.co/install.sh | bash or the local setup in docs/en/install/01-install.md.
  3. On the Keys page, add a custom provider with that base URL and select the chat, embedding, image, or audio models it serves.
  4. Reorder the Fallback Chain so the local model sits where you want it.
  5. Send one request with the local model name and confirm the response comes from your server.

Prompt for your agent

In the freellmapi repo (tashfeenahmed/freellmapi), add a custom OpenAI-compatible provider pointing at <local-server-url> on the Keys page and route one chat request to it. Expected output: a completion generated by the local model. Verify that the router logs the request under the custom provider and not a cloud provider.

Caveat. The README lists llama.cpp, LM Studio, vLLM, and Ollama as examples of custom endpoints, but the exact setup steps for each server are not in the README, so check their docs.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for tashfeenahmed/freellmapi and "Add a local model server beside the free tiers"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer