freebench 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -2
- package/data/seed-snapshot.json +1403 -0
- package/dist/freebench-mcp.mjs +41369 -0
- package/dist/freebench.mjs +42731 -0
- package/package.json +32 -4
package/README.md
CHANGED
|
@@ -1,3 +1,43 @@
|
|
|
1
|
-
#
|
|
1
|
+
# freebench
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
CLI, MCP server, and zero-config local OpenAI-compatible 429 failover proxy powered by [FreeBench](https://freebench.org).
|
|
4
|
+
|
|
5
|
+
## Local Failover Proxy (`freebench proxy`)
|
|
6
|
+
|
|
7
|
+
**Zero-key out-of-the-box:** Pollinations and Kilo Gateway (`:free` models) work anonymously with no API keys required. Add free keys (`GROQ_API_KEY`, `OPENROUTER_API_KEY`, `GOOGLE_AI_API_KEY`, `CEREBRAS_API_KEY`, `NVIDIA_API_KEY`, `MISTRAL_API_KEY`) for deep multi-provider 429 failover behind `http://127.0.0.1:4141/v1`:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx freebench proxy --task=agentic-coding --always-free --zero-training
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
- **Live Status Dashboard:** Open `http://127.0.0.1:4141/ui` to inspect active routes, 429 cooldown timers, failover logs, and estimated \$ saved.
|
|
14
|
+
- **Opt-in 429 Alerts:** Pass `--report-429` (or set `FREEBENCH_REPORT_429=1`) to anonymously report upstream 429 rate limits back to FreeBench.
|
|
15
|
+
|
|
16
|
+
Point **Cursor, Cline, Aider, OpenCode, or the OpenAI SDK** at:
|
|
17
|
+
|
|
18
|
+
- **Base URL:** `http://127.0.0.1:4141/v1`
|
|
19
|
+
- **API Key:** `freebench-local`
|
|
20
|
+
- **Model:** `freebench/auto` (or `freebench/coding`, `freebench/reasoning`, `freebench/math`, `freebench/tools`)
|
|
21
|
+
|
|
22
|
+
Point **Claude Code** at the built-in Anthropic `/v1/messages` adapter:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
export ANTHROPIC_BASE_URL="http://127.0.0.1:4141"
|
|
26
|
+
export ANTHROPIC_API_KEY="freebench-local"
|
|
27
|
+
claude --model freebench/agentic-coding
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## CLI Routing & Rankings
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
npx freebench route agentic-coding --always-free --zero-training
|
|
34
|
+
npx freebench best coding --limit=10
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## MCP Server (`freebench-mcp`)
|
|
38
|
+
|
|
39
|
+
Expose live free LLM rankings and routing directly inside Claude Code, Cursor, or OpenCode via stdio MCP:
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
npx freebench-mcp
|
|
43
|
+
```
|