
Product
Socket Now Protects the Firefox Extension Ecosystem
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.
@clervo/beacon
Advanced tools
Zero-config LLM router. Routes to the cheapest working model automatically. Clervo-powered.
Zero-config LLM router. Drop-in OpenAI base URL replacement that routes to the cheapest working model automatically.
npx @clervo/beacon
Then point any OpenAI SDK at it:
from openai import OpenAI
client = OpenAI(base_url="http://localhost:4000/v1", api_key="unused")
response = client.chat.completions.create(
model="gpt-4o", # Routes to best free model
messages=[{"role": "user", "content": "Hello"}]
)
gpt-4o routes to the best free model; clervo/code routes to Claude Sonnet 5--budget 5 limits USDC spend to $5npm install -g @clervo/beacon
# or run directly
npx @clervo/beacon
# Start with defaults (port 4000, free models only)
npx @clervo/beacon
# Custom port
npx @clervo/beacon --port 8080
# Allow paid models with $5 budget
npx @clervo/beacon --budget 5
# Verbose mode (see routing decisions)
npx @clervo/beacon --verbose
export OPENAI_BASE_URL=http://localhost:4000/v1
export OPENAI_API_KEY=unused
import OpenAI from 'openai';
const client = new OpenAI({ baseURL: 'http://localhost:4000/v1', apiKey: 'unused' });
const res = await client.chat.completions.create({
model: 'gpt-4o',
messages: [{ role: 'user', content: 'Hello' }]
});
from openai import OpenAI
client = OpenAI(base_url="http://localhost:4000/v1", api_key="unused")
curl http://localhost:4000/v1/chat/completions \
-H 'content-type: application/json' \
-d '{"model":"gpt-4o","messages":[{"role":"user","content":"Hello"}]}'
| You request | Beacon routes to | Speed | Cost |
|---|---|---|---|
gpt-4o-mini | clervo/fast (Llama 3.1 8B) | 170ms | Free |
gpt-4o | clervo/smart (Llama 3.3 70B) | 475ms | Free |
gpt-4 | clervo/smart (Llama 3.3 70B) | 475ms | Free |
claude-3-haiku | clervo/fast (Llama 3.1 8B) | 170ms | Free |
claude-3-sonnet | clervo/smart (Llama 3.3 70B) | 475ms | Free |
clervo/fast | groq/llama-3.1-8b-instant | 170ms | Free |
clervo/smart | groq/llama-3.3-70b | 475ms | Free |
clervo/deep | nvidia/nemotron-ultra-550b | ~1s | Free |
clervo/code | tongkhokr/claude-sonnet-5 | 2.6s | $0.015 |
Any provider/model format passes through directly to Clervo.
Free (13 models):
Paid ($0.002–$0.025 per call, USDC on Base):
No API keys needed. Free models require no payment. Paid models use x402 (USDC on Base mainnet, auto-settled).
| Feature | @clervo/beacon | LiteLLM | OpenRouter |
|---|---|---|---|
| Free models | 13 | 0 | 0 |
| Setup time | 0 (npx) | Config file | Account + key |
| Latency overhead | ~5ms | ~10ms | ~50ms |
| Payment | x402 (USDC) | API key | Credit card |
| Budget limits | Built-in | No | Soft limits |
MIT
FAQs
Zero-config LLM router. Routes to the cheapest working model automatically. Clervo-powered.
The npm package @clervo/beacon receives a total of 7 weekly downloads. As such, @clervo/beacon popularity was classified as not popular.
We found that @clervo/beacon demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket is bringing experimental protection to Firefox, scanning 97,000+ extensions in Mozilla's official directory for malware and risky updates.

Research
/Security News
Three compromised Rust crates pulled in a malicious dependency that downloaded and executed cross-platform malware during Cargo builds.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.