@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 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">&nbsp;
12
12
  <img src="https://img.shields.io/badge/๐Ÿ”‘_No_Account_Needed-blue?style=for-the-badge" alt="No account">&nbsp;
13
- <img src="https://img.shields.io/badge/๐Ÿค–_40+_Models-yellow?style=for-the-badge" alt="40+ models">&nbsp;
13
+ <img src="https://img.shields.io/badge/๐Ÿค–_50+_Models-yellow?style=for-the-badge" alt="50+ models">&nbsp;
14
14
  <img src="https://img.shields.io/badge/๐Ÿ’ฐ_Pay_Per_Use-purple?style=for-the-badge" alt="Pay per use">&nbsp;
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 40+ 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.
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) | **40+ (auto or manual)** |
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 40+ models, no rate limits.
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 deepseek # Direct DeepSeek
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/gpt-oss-20b
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
- ... (31 models total)
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/gpt-oss-120b # Free model
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/gpt-oss-120b
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/gpt-oss-120b
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
- anthropic/claude-sonnet-4.6
325
+ your-selected-model
292
326
  โ†“ (if 429/500/502/503/504)
293
- google/gemini-2.5-pro
327
+ blockrun/auto (smart routing)
294
328
  โ†“
295
- deepseek/deepseek-chat
329
+ blockrun/eco (cheapest capable)
296
330
  โ†“
297
- xai/grok-4-fast
331
+ deepseek/deepseek-chat
298
332
  โ†“
299
- nvidia/gpt-oss-120b (free, always available)
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 ยท 40+ models โ”‚
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 30+ others work through Claude Code via brcc.
405
+ Yes. GPT-5, Gemini, DeepSeek, Grok, and 50+ others work through Claude Code via brcc.
372
406
 
373
407
  ---
374
408
 
@@ -264,19 +264,18 @@ export function createProxy(options) {
264
264
  res.end(JSON.stringify(fakeResponse));
265
265
  return;
266
266
  }
267
- // Apply model override only if:
268
- // 1. User specified --model on CLI (options.modelOverride)
269
- // 2. User switched model in-session (currentModel set by "use X" command)
270
- // 3. Request has no model specified
271
- if (options.modelOverride && currentModel) {
272
- // CLI --model flag: always use this
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/cc",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "description": "Run Claude Code with any model โ€” no rate limits, no account locks, no phone verification. Pay per use with USDC.",
5
5
  "type": "module",
6
6
  "bin": {