npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

freellm

v1.0.2

Published

One OpenAI-compatible endpoint for 15+ free LLM providers. Smart routing, failover, encrypted keys. Run with npx freellm.

Readme

FreeLLM

One OpenAI-compatible endpoint. 15+ free LLM providers. No billing.

Aggregate the free tiers from Google, Groq, Cerebras, Mistral, OpenRouter, GitHub Models, Cohere, Cloudflare Workers AI, HuggingFace, Ollama, Pollinations, LLM7, OVH AI Endpoints — behind a single /v1 API. Smart routing, automatic failover, encrypted key storage, web dashboard. All features free.

Quick start

npx freellm

That's it. Opens a dashboard at http://localhost:3000.

What it does

  1. Add your free API keys on the Keys page (Google, Groq, etc.)
  2. Copy your unified key from the dashboard
  3. Point any OpenAI client at http://localhost:3000/v1:
from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:3000/v1",
    api_key="freellm-your-unified-key",
)

resp = client.chat.completions.create(
    model="auto",   # smart routing picks the best available provider
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)
print("Routed via:", resp.headers.get("x-routed-via"))
curl http://localhost:3000/v1/chat/completions \
  -H "Authorization: Bearer freellm-your-unified-key" \
  -H "Content-Type: application/json" \
  -d '{"model": "auto", "messages": [{"role": "user", "content": "hi"}]}'

Supported providers (all free tiers)

| Provider | Free models | Key needed | |---|---|---| | Google Gemini | Gemini 2.5 Flash, 2.0 Flash, 1.5 Flash | Yes (aistudio.google.com) | | Groq | Llama 3.3 70B, 3.1 8B, Gemma 2 9B | Yes (console.groq.com) | | Cerebras | Llama 3.3 70B, 3.1 8B | Yes (cloud.cerebras.ai) | | Mistral | Mistral Small, Nemo, Codestral | Yes (console.mistral.ai) | | OpenRouter | 20+ free models (:free suffix) | Yes (openrouter.ai) | | GitHub Models | GPT-4o, GPT-4o Mini | Yes (github.com) | | Cohere | Command R+, Command R | Yes (dashboard.cohere.com) | | Cloudflare | Llama 3.1 8B, Gemma 7B | Yes (ACCOUNT_ID:TOKEN) | | HuggingFace | Llama 3 8B, Mistral 7B | Yes (huggingface.co) | | Ollama | Any local model | No | | Pollinations | GPT-OSS, Mistral | No | | LLM7 | GPT-4o Mini, Llama 70B | No | | OVH AI Endpoints | Llama 3.3 70B, Mistral 7B | No |

Features

  • OpenAI-compatible/v1/chat/completions, /v1/models, streaming, tool calling, vision
  • Smart routing — picks highest-priority healthy model for each request
  • Automatic failover — on 429/5xx, skips to next provider in chain (up to 20 attempts)
  • Rate limit tracking — in-memory per-provider counters, no key is sent over its limits
  • Encrypted storage — API keys are AES-256-GCM encrypted at rest in SQLite
  • Web dashboard — manage keys, reorder fallback chain, playground, analytics
  • No billing — all features free, forever

Options

npx freellm --port 8080      # custom port (default: 3000)
npx freellm --no-open        # don't open browser automatically

Data storage

All data (database + encryption key) is stored in ~/.freellm/.

Requirements

  • Node.js 22.5+ (uses built-in node:sqlite)

License

MIT