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

How to point an OpenAI SDK app at one free-tier endpoint with Freellmapi

Route any OpenAI client library across many free providers through a single local /v1 URL.

Short answer: Run curl -fsSL https://freellmapi.co/install.sh | bash (Docker required) or follow the local setup in docs/en/install/01-install.md; then open http://localhost:3001, add your provider keys on the Keys page, and reorder the Fallback Chain if you want a preference; copy the unified API key from the Keys page header. All steps.

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

Account pooling. Spreading traffic across several free-tier keys and providers may conflict with each provider's terms, so check those terms before relying on it.

Remote script. The one-line installer pipes a remote script into bash, so read the script first, as the README suggests.

Who it is forA developer building a prototype or side project who already uses the OpenAI SDK and wants to avoid paying for tokens while experimenting.

The problemEach free provider has its own SDK, rate limits, and failure modes, so stacking them by hand means many integrations and manual retries.

The outcomeThe app sends normal OpenAI-style requests to one local endpoint, and the router picks a model and falls over to another provider when one is rate-limited.

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. Run curl -fsSL https://freellmapi.co/install.sh | bash (Docker required) or follow the local setup in docs/en/install/01-install.md.
  2. Open http://localhost:3001, add your provider keys on the Keys page, and reorder the Fallback Chain if you want a preference.
  3. Copy the unified API key from the Keys page header.
  4. Set your OpenAI client base URL to http://localhost:3001/v1 and use the unified key as the API key.
  5. Send a chat request from your app and confirm a normal completion comes back.

Prompt for your agent

In the freellmapi repo (tashfeenahmed/freellmapi), start the router locally and set the OpenAI SDK base URL in <project-path> to http://localhost:3001/v1 with the unified key from the Keys page. Expected output: a successful chat completion from the app. Verify that the response includes a model name and that the router dashboard shows one request logged.

Caveat. The README describes the project as for personal experimentation only, so do not treat it as production infrastructure.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for tashfeenahmed/freellmapi and "Point an OpenAI SDK app at one free-tier endpoint"

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