@blockrun/cc 0.9.3 โ 0.9.4
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 +52 -18
- package/dist/proxy/server.js +8 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ You're paying $200/month and still can't work.<br><br>
|
|
|
10
10
|
|
|
11
11
|
<img src="https://img.shields.io/badge/๐_No_Rate_Limits-black?style=for-the-badge" alt="No rate limits">
|
|
12
12
|
<img src="https://img.shields.io/badge/๐_No_Account_Needed-blue?style=for-the-badge" alt="No account">
|
|
13
|
-
<img src="https://img.shields.io/badge/๐ค
|
|
13
|
+
<img src="https://img.shields.io/badge/๐ค_50+_Models-yellow?style=for-the-badge" alt="50+ models">
|
|
14
14
|
<img src="https://img.shields.io/badge/๐ฐ_Pay_Per_Use-purple?style=for-the-badge" alt="Pay per use">
|
|
15
15
|
<img src="https://img.shields.io/badge/โ_Base_+_Solana-green?style=for-the-badge" alt="Base + Solana">
|
|
16
16
|
|
|
@@ -28,7 +28,7 @@ You're paying $200/month and still can't work.<br><br>
|
|
|
28
28
|
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
|
-
> **brcc** is a local proxy that lets you run Claude Code with any LLM model โ GPT-5, Claude, Gemini, DeepSeek, Grok, and
|
|
31
|
+
> **brcc** is a local proxy that lets you run Claude Code with any LLM model โ GPT-5, Claude, Gemini, DeepSeek, Grok, and 50+ more โ without rate limits, without an Anthropic account, and without phone verification. You pay per request with USDC via the [x402](https://x402.org) protocol. Your wallet is your identity. Your private key never leaves your machine.
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
|
|
@@ -62,7 +62,7 @@ brcc eliminates all of these problems:
|
|
|
62
62
|
|--|---------------------|------------|----------|
|
|
63
63
|
| **Rate limits** | Constantly hit | Per-model limits | **None** |
|
|
64
64
|
| **Account required** | Yes + phone | Yes + email | **No** |
|
|
65
|
-
| **Models** | Claude only | 200+ (manual select) | **
|
|
65
|
+
| **Models** | Claude only | 200+ (manual select) | **50+ (auto or manual)** |
|
|
66
66
|
| **Payment** | Credit card, subscription | Credit card, pre-pay | **USDC per-request** |
|
|
67
67
|
| **Auth** | OAuth + API key conflicts | API key | **Wallet signature** |
|
|
68
68
|
| **Pricing** | Opaque | Transparent | **Transparent** |
|
|
@@ -101,7 +101,7 @@ brcc setup solana # Solana chain
|
|
|
101
101
|
brcc start
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
-
That's it. Claude Code opens with access to
|
|
104
|
+
That's it. Claude Code opens with access to 50+ models, no rate limits.
|
|
105
105
|
|
|
106
106
|
---
|
|
107
107
|
|
|
@@ -144,7 +144,21 @@ use eco # Switch to cheapest
|
|
|
144
144
|
use premium # Switch to best quality
|
|
145
145
|
use free # Switch to free models
|
|
146
146
|
use sonnet # Direct Claude Sonnet
|
|
147
|
-
use
|
|
147
|
+
use gpt # GPT-5.4
|
|
148
|
+
use codex # GPT-5.3 Codex
|
|
149
|
+
use o3 # OpenAI o3
|
|
150
|
+
use gemini # Gemini 2.5 Pro
|
|
151
|
+
use flash # Gemini 2.5 Flash
|
|
152
|
+
use grok # Grok 3
|
|
153
|
+
use grok-4 # Grok 4
|
|
154
|
+
use deepseek # DeepSeek Chat
|
|
155
|
+
use r1 # DeepSeek Reasoner
|
|
156
|
+
use minimax # Minimax M2.7
|
|
157
|
+
use kimi # Kimi K2.5
|
|
158
|
+
use free # Nemotron Ultra 253B (free)
|
|
159
|
+
use nemotron # Nemotron Ultra 253B (free)
|
|
160
|
+
use devstral # Devstral 2 123B (free)
|
|
161
|
+
use qwen-coder # Qwen3 Coder 480B (free)
|
|
148
162
|
```
|
|
149
163
|
|
|
150
164
|
### Inside Claude Code
|
|
@@ -165,18 +179,34 @@ $ brcc models
|
|
|
165
179
|
|
|
166
180
|
Free Models (no USDC needed)
|
|
167
181
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
182
|
+
nvidia/nemotron-ultra-253b
|
|
168
183
|
nvidia/gpt-oss-120b
|
|
169
|
-
nvidia/
|
|
184
|
+
nvidia/deepseek-v3.2
|
|
185
|
+
nvidia/mistral-large-3-675b
|
|
186
|
+
nvidia/qwen3-coder-480b
|
|
187
|
+
nvidia/devstral-2-123b
|
|
188
|
+
nvidia/llama-4-maverick
|
|
189
|
+
nvidia/glm-4.7
|
|
190
|
+
... (11 free models)
|
|
170
191
|
|
|
171
192
|
Paid Models
|
|
172
193
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
173
194
|
Model Input Output
|
|
195
|
+
openai/gpt-5-nano $0.05/M $0.40/M
|
|
196
|
+
xai/grok-4-1-fast-reasoning $0.20/M $0.50/M
|
|
174
197
|
deepseek/deepseek-chat $0.28/M $0.42/M
|
|
198
|
+
minimax/minimax-m2.7 $0.30/M $1.20/M
|
|
199
|
+
google/gemini-2.5-flash $0.30/M $2.50/M
|
|
200
|
+
moonshot/kimi-k2.5 $0.60/M $3.00/M
|
|
175
201
|
anthropic/claude-haiku-4.5 $1.00/M $5.00/M
|
|
202
|
+
openai/gpt-5.3-codex $1.75/M $14.00/M
|
|
203
|
+
google/gemini-2.5-pro $1.25/M $10.00/M
|
|
204
|
+
google/gemini-3.1-pro $2.00/M $12.00/M
|
|
176
205
|
openai/gpt-5.4 $2.50/M $15.00/M
|
|
177
206
|
anthropic/claude-sonnet-4.6 $3.00/M $15.00/M
|
|
178
207
|
anthropic/claude-opus-4.6 $5.00/M $25.00/M
|
|
179
|
-
|
|
208
|
+
openai/gpt-5.4-pro $30.00/M $180.00/M
|
|
209
|
+
... (50+ models total)
|
|
180
210
|
```
|
|
181
211
|
|
|
182
212
|
---
|
|
@@ -185,12 +215,16 @@ Paid Models
|
|
|
185
215
|
|
|
186
216
|
| Model | ~Requests per $5 | Best For |
|
|
187
217
|
|-------|-------------------|----------|
|
|
218
|
+
| Nemotron Ultra 253B | **Unlimited** | Free tier |
|
|
219
|
+
| Grok 4.1 Fast | ~3,500 | Fast reasoning (budget) |
|
|
188
220
|
| DeepSeek V3 | ~5,000 | Budget coding |
|
|
221
|
+
| Gemini 2.5 Flash | ~1,200 | Balanced speed/cost |
|
|
222
|
+
| Kimi K2.5 | ~800 | Mid-range coding |
|
|
189
223
|
| Claude Haiku 4.5 | ~500 | Fast tasks |
|
|
224
|
+
| GPT-5.3 Codex | ~180 | Code generation |
|
|
190
225
|
| Claude Sonnet 4.6 | ~100 | General coding |
|
|
191
226
|
| GPT-5.4 | ~80 | Reasoning |
|
|
192
227
|
| Claude Opus 4.6 | ~50 | Most capable |
|
|
193
|
-
| GPT-OSS 120B | **Unlimited** | Free tier |
|
|
194
228
|
|
|
195
229
|
---
|
|
196
230
|
|
|
@@ -220,7 +254,7 @@ Your wallet is saved to `~/.blockrun/` and shared with all BlockRun tools.
|
|
|
220
254
|
|
|
221
255
|
```bash
|
|
222
256
|
brcc start # Default model
|
|
223
|
-
brcc start --model nvidia/
|
|
257
|
+
brcc start --model nvidia/nemotron-ultra-253b # Free model
|
|
224
258
|
brcc start --model openai/gpt-5.4 # Specific model
|
|
225
259
|
brcc start --no-launch # Proxy only mode
|
|
226
260
|
brcc start --no-fallback # Disable auto-fallback
|
|
@@ -254,7 +288,7 @@ $ brcc stats
|
|
|
254
288
|
deepseek/deepseek-chat
|
|
255
289
|
620 req ยท $0.8901 (19.5%) ยท 180ms avg
|
|
256
290
|
โณ 12 fallback recoveries
|
|
257
|
-
nvidia/
|
|
291
|
+
nvidia/nemotron-ultra-253b
|
|
258
292
|
164 req ยท $0.0000 (0%) ยท 320ms avg
|
|
259
293
|
|
|
260
294
|
๐ฐ Savings vs Claude Opus
|
|
@@ -273,7 +307,7 @@ $ brcc stats --json # Output as JSON (for scripts)
|
|
|
273
307
|
### `brcc config`
|
|
274
308
|
|
|
275
309
|
```bash
|
|
276
|
-
brcc config set default-model nvidia/
|
|
310
|
+
brcc config set default-model nvidia/nemotron-ultra-253b
|
|
277
311
|
brcc config set sonnet-model openai/gpt-5.4
|
|
278
312
|
brcc config set opus-model anthropic/claude-opus-4.6
|
|
279
313
|
brcc config set haiku-model deepseek/deepseek-chat
|
|
@@ -288,15 +322,15 @@ When a model returns an error (429 rate limit, 500+ server error), brcc automati
|
|
|
288
322
|
|
|
289
323
|
**Default fallback chain:**
|
|
290
324
|
```
|
|
291
|
-
|
|
325
|
+
your-selected-model
|
|
292
326
|
โ (if 429/500/502/503/504)
|
|
293
|
-
|
|
327
|
+
blockrun/auto (smart routing)
|
|
294
328
|
โ
|
|
295
|
-
|
|
329
|
+
blockrun/eco (cheapest capable)
|
|
296
330
|
โ
|
|
297
|
-
|
|
331
|
+
deepseek/deepseek-chat
|
|
298
332
|
โ
|
|
299
|
-
nvidia/
|
|
333
|
+
nvidia/nemotron-ultra-253b (free, always available)
|
|
300
334
|
```
|
|
301
335
|
|
|
302
336
|
**How it looks:**
|
|
@@ -336,7 +370,7 @@ brcc start --no-fallback
|
|
|
336
370
|
โ BlockRun API (blockrun.ai or sol.blockrun.ai) โ
|
|
337
371
|
โ โ
|
|
338
372
|
โ Routes to: GPT-5 ยท Claude ยท Gemini ยท DeepSeek ยท Grok ยท โ
|
|
339
|
-
โ NVIDIA ยท MiniMax ยท Moonshot ยท
|
|
373
|
+
โ NVIDIA ยท MiniMax ยท Moonshot ยท 50+ models โ
|
|
340
374
|
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
341
375
|
```
|
|
342
376
|
|
|
@@ -368,7 +402,7 @@ Typical cost: **$0.001โ$0.05 per interaction**. $5 lasts most developers a wee
|
|
|
368
402
|
No. brcc connects Claude Code to BlockRun instead of Anthropic.
|
|
369
403
|
|
|
370
404
|
**Can I use non-Claude models?**
|
|
371
|
-
Yes. GPT-5, Gemini, DeepSeek, Grok, and
|
|
405
|
+
Yes. GPT-5, Gemini, DeepSeek, Grok, and 50+ others work through Claude Code via brcc.
|
|
372
406
|
|
|
373
407
|
---
|
|
374
408
|
|
package/dist/proxy/server.js
CHANGED
|
@@ -264,19 +264,18 @@ export function createProxy(options) {
|
|
|
264
264
|
res.end(JSON.stringify(fakeResponse));
|
|
265
265
|
return;
|
|
266
266
|
}
|
|
267
|
-
//
|
|
268
|
-
//
|
|
269
|
-
//
|
|
270
|
-
//
|
|
271
|
-
|
|
272
|
-
|
|
267
|
+
// Model override logic:
|
|
268
|
+
// - Claude Code sends native Anthropic IDs (e.g. "claude-sonnet-4-6-20250514")
|
|
269
|
+
// which don't contain "/" โ these MUST be replaced with currentModel.
|
|
270
|
+
// - BlockRun model IDs always contain "/" (e.g. "blockrun/auto", "nvidia/nemotron-ultra-253b")
|
|
271
|
+
// โ these should be passed through as-is.
|
|
272
|
+
// - If --model CLI flag is set, always override regardless.
|
|
273
|
+
if (options.modelOverride) {
|
|
273
274
|
parsed.model = currentModel;
|
|
274
275
|
}
|
|
275
|
-
else if (!parsed.model) {
|
|
276
|
-
// No model in request: use default
|
|
276
|
+
else if (!parsed.model || !parsed.model.includes('/')) {
|
|
277
277
|
parsed.model = currentModel || DEFAULT_MODEL;
|
|
278
278
|
}
|
|
279
|
-
// Otherwise: use the model from the request as-is
|
|
280
279
|
requestModel = parsed.model || DEFAULT_MODEL;
|
|
281
280
|
// Smart routing: if model is a routing profile, classify and route
|
|
282
281
|
const routingProfile = parseRoutingProfile(requestModel);
|