@blockrun/clawrouter 0.12.297 → 0.12.299
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 +155 -181
- package/dist/cli.js +237 -81
- package/dist/index.js +153 -80
- package/docs/anthropic-cost-savings.md +1 -1
- package/docs/anthropic-third-party-harness-changes.md +2 -2
- package/docs/clawrouter-vs-openrouter-llm-routing-comparison.md +3 -3
- package/openclaw.plugin.json +1 -1
- package/package.json +2 -2
- package/skills/clawrouter/SKILL.md +40 -30
- package/skills/imagegen/SKILL.md +17 -15
- package/skills/surf/SKILL.md +0 -274
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ Or neither — <!-- br:models.free -->7<!-- /br:models.free --> models are free,
|
|
|
36
36
|
|
|
37
37
|
</div>
|
|
38
38
|
|
|
39
|
-
> **ClawRouter** is an open-source smart LLM router that reduces AI API costs by up to <!-- br:savings.autoVsBaselinePct -->84<!-- /br:savings.autoVsBaselinePct -->%. It analyzes each request across <!-- br:clawrouter.dimensions -->15<!-- /br:clawrouter.dimensions --> dimensions and routes to the cheapest capable model in under 1ms, entirely locally. It is the only LLM router that an autonomous agent can pay for by itself — a wallet signature is the account, and USDC micropayments over the x402 protocol are the billing — and it takes an ordinary credit card too: sign up at [user.blockrun.ai](https://user.blockrun.ai), top up, and run the same router on an API key. <!-- br:models.chatVisible -->
|
|
39
|
+
> **ClawRouter** is an open-source smart LLM router that reduces AI API costs by up to <!-- br:savings.autoVsBaselinePct -->84<!-- /br:savings.autoVsBaselinePct -->%. It analyzes each request across <!-- br:clawrouter.dimensions -->15<!-- /br:clawrouter.dimensions --> dimensions and routes to the cheapest capable model in under 1ms, entirely locally. It is the only LLM router that an autonomous agent can pay for by itself — a wallet signature is the account, and USDC micropayments over the x402 protocol are the billing — and it takes an ordinary credit card too: sign up at [user.blockrun.ai](https://user.blockrun.ai), top up, and run the same router on an API key. <!-- br:models.chatVisible -->90<!-- /br:models.chatVisible --> models from OpenAI, Anthropic, Google, xAI, DeepSeek, and more. MIT licensed.
|
|
40
40
|
|
|
41
41
|
---
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ Not a seat, not a subscription, not a monthly minimum you keep paying while the
|
|
|
48
48
|
|
|
49
49
|
| | |
|
|
50
50
|
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
51
|
-
| **Every LLM** | <!-- br:models.chatVisible -->
|
|
51
|
+
| **Every LLM** | <!-- br:models.chatVisible -->90<!-- /br:models.chatVisible --> chat models across 9 providers, behind one endpoint and one balance |
|
|
52
52
|
| **Every tool** | <!-- br:models.image -->12<!-- /br:models.image --> image models, <!-- br:models.video -->8<!-- /br:models.video --> video models, music, <!-- br:models.speech -->5<!-- /br:models.speech --> voices, img2img editing, and outbound phone calls that come back as transcripts |
|
|
53
53
|
| **Every data source** | web, news and neural search; prediction markets; live crypto and equity quotes; on-chain SQL over 100M+ labeled wallets; DEX routing; RPC across <!-- br:chains.rpc -->40<!-- /br:chains.rpc --> chains |
|
|
54
54
|
| **Best value per dollar** | <!-- br:clawrouter.dimensions -->15<!-- /br:clawrouter.dimensions -->-dimension local routing sends each request to the cheapest model that can actually do it — <!-- br:savings.autoVsBaselinePct -->84<!-- /br:savings.autoVsBaselinePct -->% below pinning Claude Opus 5 on the same traffic, computed from a published workload mix rather than estimated |
|
|
@@ -76,7 +76,7 @@ This is the stack that lets agents operate autonomously: **x402 + USDC + local r
|
|
|
76
76
|
|
|
77
77
|
### …and if you are a human, not an agent
|
|
78
78
|
|
|
79
|
-
Every "no X needed" above is a capability, not a restriction. **ClawRouter takes a credit card too.** Sign up at **[user.blockrun.ai](https://user.blockrun.ai)**, top up, mint an API key, and run `clawrouter login brk_live_…`. Same router, same <!-- br:models.chatVisible -->
|
|
79
|
+
Every "no X needed" above is a capability, not a restriction. **ClawRouter takes a credit card too.** Sign up at **[user.blockrun.ai](https://user.blockrun.ai)**, top up, mint an API key, and run `clawrouter login brk_live_…`. Same router, same <!-- br:models.chatVisible -->90<!-- /br:models.chatVisible --> models, same local routing — calls go to `api.blockrun.ai` on a bearer token and bill your account credit. No crypto, no gas, no seed phrase.
|
|
80
80
|
|
|
81
81
|
| You are | Pay with | Setup |
|
|
82
82
|
| ------------------- | --------------------------------------- | ------------------------------------------------------------------------------------------- |
|
|
@@ -92,7 +92,7 @@ Full walkthrough: [Paying with a credit card](#paying-with-a-credit-card-api-key
|
|
|
92
92
|
|
|
93
93
|
| | OpenRouter | LiteLLM | Martian | Portkey | **ClawRouter** |
|
|
94
94
|
| ---------------- | ----------------- | ---------------- | ----------------- | ----------------- | ---------------------------------------------------------------------- |
|
|
95
|
-
| **Models** | 200+ | 100+ | Smart routing | Gateway | **<!-- br:models.chatVisible -->
|
|
95
|
+
| **Models** | 200+ | 100+ | Smart routing | Gateway | **<!-- br:models.chatVisible -->90<!-- /br:models.chatVisible -->** |
|
|
96
96
|
| **Free tier** | Rate-limited | BYO keys | No | No | **<!-- br:models.free -->7<!-- /br:models.free --> models, no signup** |
|
|
97
97
|
| **Routing** | Manual selection | Manual selection | Smart (closed) | Observability | **Smart (open source)** |
|
|
98
98
|
| **Auth** | Account + API key | Your API keys | Account + API key | Account + API key | **Wallet signature _or_ API key** |
|
|
@@ -127,7 +127,7 @@ is all it takes to switch and `clawrouter logout` is all it takes to switch back
|
|
|
127
127
|
|
|
128
128
|
> **Where do I sign up?** [**user.blockrun.ai**](https://user.blockrun.ai) — sign in with
|
|
129
129
|
> Google, add credit with a card under **Credits**, mint a key under **API Keys**. That
|
|
130
|
-
> one key covers all <!-- br:models.chatVisible -->
|
|
130
|
+
> one key covers all <!-- br:models.chatVisible -->90<!-- /br:models.chatVisible --> chat models
|
|
131
131
|
> plus images, video, speech and the live-data APIs. No wallet, no crypto, no seed phrase.
|
|
132
132
|
|
|
133
133
|
### Desktop control plane (macOS)
|
|
@@ -165,13 +165,24 @@ clawrouter setup # finishes OpenClaw integration — REQUIRED
|
|
|
165
165
|
openclaw gateway restart
|
|
166
166
|
```
|
|
167
167
|
|
|
168
|
+
Once installed, future updates are one command:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
clawrouter update
|
|
172
|
+
openclaw gateway restart
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
`clawrouter update` refreshes both copies of ClawRouter — the OpenClaw-managed plugin and the
|
|
176
|
+
global `clawrouter` CLI — so they can't drift apart (a bare `npm install -g` only updates the CLI).
|
|
177
|
+
It backs up the wallet and OpenClaw integration state first and rolls back the plugin if anything fails.
|
|
178
|
+
|
|
168
179
|
> ⚠️ **Skipping `clawrouter setup` will leave you broken.** Bare `npm install -g` only puts the package on disk; it does NOT register the plugin with OpenClaw, sync the models allowlist, or write the auth profile. Symptom: `/models` in your bot shows only OpenClaw's defaults instead of the 55 BlockRun models. Run `clawrouter setup` to repair, or use path A1 to begin with.
|
|
169
180
|
|
|
170
181
|
### Option B — Standalone (continue.dev, Cursor, VS Code, any OpenAI-compatible client)
|
|
171
182
|
|
|
172
183
|
> **Using Claude Code?** Check out [BRCC](https://github.com/BlockRunAI/brcc) — it's purpose-built for Claude Code with the same smart routing and x402 payments.
|
|
173
184
|
>
|
|
174
|
-
> **Using NousResearch Hermes?** See [ClawRouter-Hermes](https://github.com/BlockRunAI/ClawRouter-Hermes) — a Python plugin that wires Hermes into the ClawRouter proxy. Same wallet, same <!-- br:models.chatVisible -->
|
|
185
|
+
> **Using NousResearch Hermes?** See [ClawRouter-Hermes](https://github.com/BlockRunAI/ClawRouter-Hermes) — a Python plugin that wires Hermes into the ClawRouter proxy. Same wallet, same <!-- br:models.chatVisible -->90<!-- /br:models.chatVisible --> models, same x402 USDC settlement on Solana & Base.
|
|
175
186
|
|
|
176
187
|
No OpenClaw required. ClawRouter runs as a local proxy on port 8402.
|
|
177
188
|
|
|
@@ -281,12 +292,12 @@ Request → 15-dimension scorer → tier + task shape
|
|
|
281
292
|
3. **Rank** — survivors are scored on task quality, capability, estimated cost, speed and reliability, with per-profile weights (`eco` leans on cost, `premium` on quality and reliability).
|
|
282
293
|
4. **Recover** — the whole ranked list rides along as the fallback chain, so a provider timeout or 5xx costs a retry, not the task.
|
|
283
294
|
|
|
284
|
-
| Tier | ECO Model | AUTO Model
|
|
285
|
-
| --------- | --------------------------------- |
|
|
286
|
-
| SIMPLE | nemotron-3.5-lightning (**FREE**) | gemini-2.5-flash
|
|
287
|
-
| MEDIUM | glm-5.3-flash
|
|
288
|
-
| COMPLEX | glm-5.3-flash
|
|
289
|
-
| REASONING | deepseek-reasoner
|
|
295
|
+
| Tier | ECO Model | AUTO Model | PREMIUM Model | AGENTIC Model ‡ |
|
|
296
|
+
| --------- | --------------------------------- | ----------------- | ---------------- | --------------- |
|
|
297
|
+
| SIMPLE | nemotron-3.5-lightning (**FREE**) | gemini-2.5-flash | gemini-3.5-flash | gpt-4o-mini |
|
|
298
|
+
| MEDIUM | glm-5.3-flash | gemini-3.5-flash | gpt-5.3-codex | gpt-5-mini |
|
|
299
|
+
| COMPLEX | glm-5.3-flash | gemini-3.1-pro | claude-fable-5 | claude-sonnet-5 |
|
|
300
|
+
| REASONING | deepseek-reasoner | deepseek-reasoner | claude-sonnet-5 | claude-sonnet-5 |
|
|
290
301
|
|
|
291
302
|
† Withheld from `/v1/models` — since Router Core V3.5 no chain names such a model: every primary and every fallback rung above is a model you can find on the public pricing page. [savings-mix.json](https://github.com/BlockRunAI/blockrun/blob/main/src/brand/savings-mix.json) prices the published savings claim on the same visible models.
|
|
292
303
|
‡ Auto-selected in any profile when the turn actually needs its attached tools; prefers models that keep going instead of stopping to ask.
|
|
@@ -318,20 +329,22 @@ Generate images directly from chat with `/cr-imagegen`:
|
|
|
318
329
|
|
|
319
330
|
> The slash command is `/cr-imagegen` to avoid colliding with Telegram channel commands. Typing `/imagegen` in chat still works for backward compatibility.
|
|
320
331
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
|
324
|
-
|
|
|
325
|
-
| `banana
|
|
326
|
-
| `
|
|
327
|
-
| `
|
|
328
|
-
| `
|
|
329
|
-
| `
|
|
330
|
-
| `
|
|
331
|
-
| `
|
|
332
|
-
| `
|
|
333
|
-
| `xai/grok-imagine-image
|
|
334
|
-
| `
|
|
332
|
+
Live per-model prices: [blockrun.ai/pricing](https://blockrun.ai/pricing) (agents: `GET https://blockrun.ai/api/v1/models`). Prices are not copied here, so this page never goes stale on a reprice.
|
|
333
|
+
|
|
334
|
+
| Model | Provider | Max Size |
|
|
335
|
+
| ---------------------------- | ----------------------------- | --------- |
|
|
336
|
+
| `nano-banana` | Google Gemini Flash | 1024x1024 |
|
|
337
|
+
| `banana-2` | Google Nano Banana 2 | 1024x1024 |
|
|
338
|
+
| `banana-pro` | Google Gemini Pro | 4096x4096 |
|
|
339
|
+
| `gpt-image` | OpenAI GPT Image 1 | 1536x1024 |
|
|
340
|
+
| `gpt-image-2` | OpenAI GPT Image 2 | 1536x1024 |
|
|
341
|
+
| `flare` | OpenAI GPT Image 2.5 Flare | 1536x1024 |
|
|
342
|
+
| `sunburst` | OpenAI GPT Image 2.5 Sunburst | 1536x1024 |
|
|
343
|
+
| `seedream` | ByteDance Seedream 5 | 2848x1600 |
|
|
344
|
+
| `xai/grok-imagine-image` | xAI Grok Imagine | 1024x1024 |
|
|
345
|
+
| `grok-imagine-2` | xAI Grok Imagine 2.0 | 1024x1024 |
|
|
346
|
+
| `xai/grok-imagine-image-pro` | xAI Grok Imagine Pro | 1024x1024 |
|
|
347
|
+
| `zai/cogview-4` | Zhipu CogView-4 | 1440x1440 |
|
|
335
348
|
|
|
336
349
|
## Video Generation
|
|
337
350
|
|
|
@@ -351,13 +364,15 @@ curl -X POST http://localhost:8402/v1/videos/generations \
|
|
|
351
364
|
-d '{"model":"bytedance/seedance-2.0-fast","prompt":"a red apple slowly spinning","duration_seconds":5}'
|
|
352
365
|
```
|
|
353
366
|
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
|
357
|
-
|
|
|
358
|
-
| `bytedance/seedance-
|
|
359
|
-
| `
|
|
360
|
-
| `
|
|
367
|
+
Live per-model prices: [blockrun.ai/pricing](https://blockrun.ai/pricing) (agents: `GET https://blockrun.ai/api/v1/models`). Prices are not copied here, so this page never goes stale on a reprice.
|
|
368
|
+
|
|
369
|
+
| Model | Provider | Duration |
|
|
370
|
+
| ----------------------------- | ------------------- | --------------------- |
|
|
371
|
+
| `bytedance/seedance-1.5-pro` | ByteDance Seedance | 5s default, up to 10s |
|
|
372
|
+
| `bytedance/seedance-2.0-fast` | ByteDance Seedance | 5s default, up to 10s |
|
|
373
|
+
| `bytedance/seedance-2.0` | ByteDance Seedance | 5s default, up to 10s |
|
|
374
|
+
| `azure/sora-2` | OpenAI Sora (Azure) | 4s default; 4/8/12s |
|
|
375
|
+
| `xai/grok-imagine-video` | xAI Grok Imagine | 8s default |
|
|
361
376
|
|
|
362
377
|
Seedance is **token-priced upstream** at ~20,256 tokens/sec — the blockrun videos route now defaults Seedance to `resolution=720p` with `generate_audio=true` for text-to-video (2× the per-second token count of the older 480p baseline; audio is included in that rate). The quote is `duration × tokens/sec × $/1M tokens × 1.05 margin`. Image-to-video is priced the same as text-to-video (the earlier ~40% i2v discount was removed upstream on 2026-06-01; only video-to-video remains cheaper). Sora 2 is flat-priced at $0.10/sec for both t2v and i2v — note it rejects human faces in reference images (use Seedance + RealFace for real people). Calls block for 30–120s while the upstream polls the job. Seedance 2.0 Fast typically returns in 60–80s; 2.0 Pro trades latency for quality.
|
|
363
378
|
|
|
@@ -441,150 +456,110 @@ LLM agents discover all eight operations as `blockrun_phone_*` / `blockrun_voice
|
|
|
441
456
|
|
|
442
457
|
---
|
|
443
458
|
|
|
444
|
-
## Crypto Data (Surf)
|
|
445
|
-
|
|
446
|
-
Surf is BlockRun's unified crypto data API — **84 endpoints across 13 domains**: CEX/DEX markets, on-chain SQL over 80+ ClickHouse tables (Ethereum, Base, Arbitrum, BSC, TRON, HyperEVM, Tempo), 100M+ labeled wallets, prediction markets (Polymarket + Kalshi), social/CT mindshare, news, project/DeFi metrics, token analytics, unified search, VC fund intelligence. The killer feature is ad-hoc `POST /surf/onchain/sql` — agents query the warehouse directly without running an indexer.
|
|
447
|
-
|
|
448
|
-
ClawRouter ships Surf as a **skill, not as typed wrappers**. The proxy whitelists `/v1/surf/*` so any call through the local proxy is paid x402 from the same wallet; the agent reads `skills/surf/SKILL.md` for the endpoint catalog and crafts the HTTP call. No `blockrun_surf_*` tool definitions to maintain; a new Surf endpoint requires zero ClawRouter release.
|
|
449
|
-
|
|
450
|
-
**Flat per-call pricing** — every Surf endpoint costs the same. The old
|
|
451
|
-
$0.001/$0.005/$0.020 tiers no longer apply; upstream prices all three tiers
|
|
452
|
-
identically, and the tier now describes only endpoint weight.
|
|
453
|
-
|
|
454
|
-
| Rail | Price per call |
|
|
455
|
-
| --------------------------- | ---------------------------------- |
|
|
456
|
-
| API key (`api.blockrun.ai`) | **$0.0075** (base rate, no tx fee) |
|
|
457
|
-
| Wallet — Solana | **$0.0075** |
|
|
458
|
-
| Wallet — Base | **$0.0085** |
|
|
459
|
-
|
|
460
|
-
Measured 2026-09-05: the API-key rate from the account ledger, the wallet rates
|
|
461
|
-
from the x402 challenge, which quotes the price before anything is signed. That
|
|
462
|
-
quote is authoritative for the rail that issued it — the key rail issues no 402,
|
|
463
|
-
and the wallet quote includes a transaction fee account credit does not pay, so
|
|
464
|
-
the two are not interchangeable. Solana being cheaper than Base is deliberate
|
|
465
|
-
(the $0.001 is Base's transaction fee), not drift.
|
|
466
|
-
|
|
467
|
-
**Usage (HTTP):**
|
|
468
|
-
|
|
469
|
-
```bash
|
|
470
|
-
# Aggregated BTC spot price (Tier 1, $0.001)
|
|
471
|
-
curl 'http://localhost:8402/v1/surf/market/price?symbol=BTC'
|
|
472
|
-
|
|
473
|
-
# Bulk wallet labels over 100M+ labeled wallets (Tier 2, $0.005)
|
|
474
|
-
curl 'http://localhost:8402/v1/surf/wallet/labels/batch?addresses=0xabc,0xdef,0x123'
|
|
475
|
-
|
|
476
|
-
# Ad-hoc on-chain SQL (Tier 3, $0.020)
|
|
477
|
-
curl -X POST 'http://localhost:8402/v1/surf/onchain/sql' \
|
|
478
|
-
-H 'content-type: application/json' \
|
|
479
|
-
-d '{"sql":"SELECT count() FROM ethereum.transactions WHERE block_timestamp >= now() - INTERVAL 1 HOUR"}'
|
|
480
|
-
```
|
|
481
|
-
|
|
482
|
-
No Surf account, no API key — settles directly to Surf's Base treasury in USDC via the same wallet as LLM calls. Full endpoint reference: [`skills/surf/SKILL.md`](skills/surf/SKILL.md). Upstream marketplace: <https://blockrun.ai/marketplace/surf>.
|
|
483
|
-
|
|
484
|
-
---
|
|
485
|
-
|
|
486
459
|
## Models & Pricing
|
|
487
460
|
|
|
488
|
-
<!-- br:models.chatVisible -->
|
|
489
|
-
|
|
490
|
-
>
|
|
491
|
-
|
|
492
|
-
### Budget Models
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
|
497
|
-
|
|
|
498
|
-
| free/
|
|
499
|
-
| free/
|
|
500
|
-
| free/
|
|
501
|
-
| free/
|
|
502
|
-
| free/
|
|
503
|
-
|
|
|
504
|
-
|
|
|
505
|
-
|
|
|
506
|
-
|
|
|
507
|
-
| openai/gpt-
|
|
508
|
-
|
|
|
509
|
-
| openai/gpt-
|
|
510
|
-
|
|
|
511
|
-
| openai/gpt-
|
|
512
|
-
|
|
|
513
|
-
| openai/gpt-5-
|
|
514
|
-
|
|
|
515
|
-
|
|
|
516
|
-
|
|
|
517
|
-
| deepseek/deepseek-
|
|
518
|
-
|
|
|
519
|
-
|
|
|
520
|
-
|
|
|
521
|
-
|
|
|
522
|
-
|
|
|
523
|
-
|
|
|
524
|
-
|
|
|
525
|
-
| google/gemini-3-flash-
|
|
526
|
-
|
|
|
527
|
-
|
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
|
534
|
-
|
|
|
535
|
-
|
|
|
536
|
-
|
|
|
537
|
-
|
|
|
538
|
-
|
|
|
539
|
-
| openai/
|
|
540
|
-
|
|
|
541
|
-
|
|
|
542
|
-
|
|
|
543
|
-
|
|
|
544
|
-
|
|
|
545
|
-
|
|
|
546
|
-
|
|
|
547
|
-
|
|
|
548
|
-
|
|
|
549
|
-
| google/gemini-
|
|
550
|
-
| google/gemini-3.
|
|
551
|
-
|
|
|
552
|
-
|
|
|
553
|
-
| xai/grok-4.
|
|
554
|
-
| xai/grok-
|
|
555
|
-
|
|
|
556
|
-
|
|
|
557
|
-
| openai/gpt-5.
|
|
558
|
-
| openai/gpt-
|
|
559
|
-
| openai/
|
|
560
|
-
|
|
|
561
|
-
| openai/
|
|
562
|
-
|
|
|
563
|
-
| openai/gpt-
|
|
564
|
-
| openai/gpt-
|
|
565
|
-
| openai/gpt-6
|
|
566
|
-
|
|
|
567
|
-
|
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
|
574
|
-
|
|
|
575
|
-
| anthropic/claude-
|
|
576
|
-
| anthropic/claude-opus-
|
|
577
|
-
|
|
|
578
|
-
|
|
|
579
|
-
| openai/gpt-5.
|
|
580
|
-
| openai/gpt-6-
|
|
581
|
-
|
|
|
582
|
-
|
|
|
583
|
-
|
|
|
584
|
-
|
|
|
585
|
-
| openai/
|
|
586
|
-
| openai/
|
|
587
|
-
| openai/gpt-5.
|
|
461
|
+
<!-- br:models.chatVisible -->90<!-- /br:models.chatVisible --> models across 9 providers, one wallet. **<!-- br:models.free -->7<!-- /br:models.free --> models are $0 — paid models start at fractions of a cent.**
|
|
462
|
+
|
|
463
|
+
> **💡** Models are grouped by typical cost of a chat message (~500 input + 500 output tokens). Paid requests also carry a flat **$0.001/tx settlement fee** (covers on-chain gas; already included in the price the gateway quotes). Free models never pay it.
|
|
464
|
+
|
|
465
|
+
### Budget Models
|
|
466
|
+
|
|
467
|
+
Live per-model prices: [blockrun.ai/pricing](https://blockrun.ai/pricing) (agents: `GET https://blockrun.ai/api/v1/models`). Prices are not copied here, so this page never goes stale on a reprice.
|
|
468
|
+
|
|
469
|
+
| Model | Context | Features |
|
|
470
|
+
| ------------------------------------------- | ------- | --------------------------------------------------- |
|
|
471
|
+
| free/nemotron-3.5-lightning | 1M | reasoning (thinking mode) — the free default |
|
|
472
|
+
| free/laguna-xs-2.1 | 131K | coding (Poolside, ~161 tok/s) |
|
|
473
|
+
| free/north-mini-code | 256K | coding (Cohere, sub-second) |
|
|
474
|
+
| free/nemotron-3-nano-omni-30b-a3b-reasoning | 256K | reasoning (text only — see note) |
|
|
475
|
+
| free/nemotron-3-ultra-550b | 1M | largest free model (550B/55B MoE) |
|
|
476
|
+
| free/llama-3.2-11b-vision | 128K | Meta Llama (text only — see note) |
|
|
477
|
+
| free/muse-glimmer-30b | 131K | reasoning (Meta Muse, text only) |
|
|
478
|
+
| qwen/qwen3.7-flash | 1M | reasoning, tools (fastest Qwen tier) |
|
|
479
|
+
| poolside/laguna-s-2.1 | 1M | coding (paid sibling of laguna-xs) |
|
|
480
|
+
| openai/gpt-5-nano | 128K | tools |
|
|
481
|
+
| openai/gpt-5.6-luna-pro | 1M | reasoning, vision, agentic, tools |
|
|
482
|
+
| openai/gpt-4.1-nano | 128K | tools |
|
|
483
|
+
| google/gemini-2.5-flash-lite | 1M | tools |
|
|
484
|
+
| openai/gpt-4o-mini | 128K | tools |
|
|
485
|
+
| openai/gpt-6-luna | 1M | reasoning, vision, agentic, tools (GPT-6 fast tier) |
|
|
486
|
+
| openai/gpt-5.6-luna | 1M | vision, agentic, tools |
|
|
487
|
+
| xai/grok-4-1-fast | 131K | tools |
|
|
488
|
+
| openai/gpt-5-mini | 200K | tools |
|
|
489
|
+
| qwen/qwen3.7-plus | 1M | reasoning, agentic, tools (balanced Qwen) |
|
|
490
|
+
| deepseek/deepseek-v4.1-flash | 1M | tools (V4.1 Flash, non-thinking) |
|
|
491
|
+
| deepseek/deepseek-chat | 1M | tools (V4.1 Flash chat) |
|
|
492
|
+
| deepseek/deepseek-reasoner | 1M | reasoning, tools (V4.1 Flash thinking) |
|
|
493
|
+
| xiaomi/mimo-v2.5-pro | 1M | reasoning (Xiaomi MiMo-V2.5 Pro) |
|
|
494
|
+
| zai/glm-5-turbo | 200K | tools |
|
|
495
|
+
| minimax/minimax-m3 | 1M | reasoning, agentic, tools |
|
|
496
|
+
| minimax/minimax-m2.7 | 205K | reasoning, agentic, tools |
|
|
497
|
+
| google/gemini-2.5-flash | 1M | vision, tools |
|
|
498
|
+
| google/gemini-3.5-flash-lite | 1M | reasoning, tools (thinking built-in) |
|
|
499
|
+
| openai/gpt-4.1-mini | 128K | tools |
|
|
500
|
+
| google/gemini-3-flash-preview | 1M | vision |
|
|
501
|
+
| moonshot/kimi-k2.5 | 262K | reasoning, vision, agentic, tools |
|
|
502
|
+
| moonshot/kimi-k2.7 | 262K | reasoning, vision, agentic, tools |
|
|
503
|
+
|
|
504
|
+
### Mid-Range Models
|
|
505
|
+
|
|
506
|
+
| Model | Context | Features |
|
|
507
|
+
| --------------------------- | ------- | ------------------------------------------- |
|
|
508
|
+
| anthropic/claude-haiku-4.5 | 200K | vision, agentic, tools |
|
|
509
|
+
| zai/glm-5 | 200K | reasoning, tools |
|
|
510
|
+
| mistral/mistral-large-4 | 512K | reasoning, vision, tools |
|
|
511
|
+
| tencent/hy4-preview | 1M | reasoning (Tencent Hy4, 770B MoE) |
|
|
512
|
+
| openai/gpt-5.6-terra-pro | 1M | reasoning, vision, agentic, tools |
|
|
513
|
+
| openai/o3-mini | 128K | reasoning, tools |
|
|
514
|
+
| openai/o4-mini | 128K | reasoning, tools |
|
|
515
|
+
| google/gemini-2.5-pro | 1M | reasoning, vision, tools |
|
|
516
|
+
| zai/glm-5.2 | 1M | reasoning, coding, tools (flagship) |
|
|
517
|
+
| zai/glm-5.1 | 200K | reasoning, tools (promo ended 2026-06-05) |
|
|
518
|
+
| deepseek/deepseek-v4-pro | 1M | reasoning, agentic, tools (V4 flagship) |
|
|
519
|
+
| qwen/qwen3.7-max | 1M | reasoning, agentic, tools (Qwen flagship) |
|
|
520
|
+
| qwen/qwen3.8-max | 1M | reasoning (Qwen 3.8 flagship) |
|
|
521
|
+
| xai/grok-4.3 | 1M | reasoning, vision, agentic, tools |
|
|
522
|
+
| google/gemini-4-argon | 1M | reasoning, vision, tools (Google frontier) |
|
|
523
|
+
| google/gemini-3.8-flash | 1M | reasoning, vision, tools (newest Flash) |
|
|
524
|
+
| google/gemini-3.6-flash | 1M | reasoning, vision, tools (thinking mode) |
|
|
525
|
+
| google/gemini-3.5-flash | 1M | reasoning, vision, tools (thinking) |
|
|
526
|
+
| xai/grok-4.5 | 500K | reasoning, vision, agentic, tools |
|
|
527
|
+
| xai/grok-4.7 | 500K | reasoning, vision, agentic, tools |
|
|
528
|
+
| xai/grok-4.6 | 500K | reasoning, vision, agentic, tools |
|
|
529
|
+
| xai/grok-build-0.1 | 256K | agentic coding, tools |
|
|
530
|
+
| openai/gpt-5.2 | 400K | reasoning, vision, agentic, tools |
|
|
531
|
+
| openai/gpt-5.3-codex | 400K | agentic, tools |
|
|
532
|
+
| openai/gpt-5.1 | 400K | reasoning, vision, agentic, tools |
|
|
533
|
+
| openai/gpt-4.1 | 128K | vision, tools |
|
|
534
|
+
| openai/o3 | 200K | reasoning, tools |
|
|
535
|
+
| google/gemini-3.1-pro | 1M | reasoning, vision, tools |
|
|
536
|
+
| openai/gpt-4o | 128K | vision, agentic, tools |
|
|
537
|
+
| openai/gpt-5.4 | 1M | reasoning, vision, agentic, tools |
|
|
538
|
+
| openai/gpt-5.6-terra | 1M | reasoning, vision, agentic, tools |
|
|
539
|
+
| openai/gpt-6-sol | 1M | reasoning, vision, agentic, tools (GPT-6) |
|
|
540
|
+
| openai/gpt-6.1-sol | 1M | reasoning, vision, agentic, tools (GPT-6.1) |
|
|
541
|
+
| anthropic/claude-sonnet-5.5 | 1M | reasoning, vision, agentic, tools |
|
|
542
|
+
| anthropic/claude-sonnet-5 | 1M | reasoning, vision, agentic, tools |
|
|
543
|
+
|
|
544
|
+
### Premium Models
|
|
545
|
+
|
|
546
|
+
| Model | Context | Features |
|
|
547
|
+
| --------------------------- | ------- | ------------------------------------------------------ |
|
|
548
|
+
| anthropic/claude-sonnet-4.6 | 1M | reasoning, vision, agentic, tools |
|
|
549
|
+
| anthropic/claude-opus-5.5 | 1M | reasoning, vision, agentic, tools |
|
|
550
|
+
| anthropic/claude-opus-5 | 1M | reasoning, vision, agentic, tools |
|
|
551
|
+
| anthropic/claude-opus-4.8 | 1M | reasoning, vision, agentic, tools |
|
|
552
|
+
| openai/gpt-5.6-sol | 1M | reasoning, vision, agentic, tools |
|
|
553
|
+
| openai/gpt-5.6-sol-pro | 1M | reasoning, vision, agentic, tools |
|
|
554
|
+
| openai/gpt-5.5 | 1M | reasoning, vision, agentic, tools |
|
|
555
|
+
| openai/gpt-6-astra | 1M | reasoning, vision, agentic, tools (GPT-6 flagship) |
|
|
556
|
+
| anthropic/claude-fable-5.1 | 1M | reasoning, vision, agentic, tools (always-on thinking) |
|
|
557
|
+
| moonshot/kimi-k3 | 1M | reasoning, vision, agentic, tools |
|
|
558
|
+
| openai/chat-latest | 128K | vision, tools |
|
|
559
|
+
| openai/o1 | 200K | reasoning, tools |
|
|
560
|
+
| openai/gpt-5.2-pro | 400K | reasoning, tools |
|
|
561
|
+
| openai/gpt-5.4-pro | 1M | reasoning, tools |
|
|
562
|
+
| openai/gpt-5.5-pro | 1M | reasoning, vision, tools |
|
|
588
563
|
|
|
589
564
|
> **Free tier:** <!-- br:models.free -->7<!-- /br:models.free --> open-weight models cost nothing — `/model free` pins the free default (`nemotron-3.5-lightning`, with the other five as fallbacks), `/model eco` opens on it, or pick one directly (e.g., `/model lightning` for 1M-context reasoning, `/model north-mini` or `/model laguna` for fast coding).
|
|
590
565
|
>
|
|
@@ -734,8 +709,7 @@ chains, the response cache and the local spend controls.
|
|
|
734
709
|
- **One key covers nearly everything.** Verified live against `api.blockrun.ai`
|
|
735
710
|
on 2026-09-05: chat completions (`/v1/chat/completions`), the Anthropic-shaped
|
|
736
711
|
`/v1/messages`, `/v1/models`, image generation, speech, video, and the partner
|
|
737
|
-
APIs —
|
|
738
|
-
fraud checks.
|
|
712
|
+
APIs — Exa search, prediction markets, and phone lookup and fraud checks.
|
|
739
713
|
- **The wallet-only exceptions** are the routes that bind a lease or a position
|
|
740
714
|
to a payer address, because there is no address to bind to without a wallet:
|
|
741
715
|
buying, renewing, listing and releasing **phone numbers** (the gateway answers
|
|
@@ -883,7 +857,7 @@ npm test
|
|
|
883
857
|
|
|
884
858
|
**The LLM router built for autonomous agents**
|
|
885
859
|
|
|
886
|
-
You're here. <!-- br:models.chatVisible -->
|
|
860
|
+
You're here. <!-- br:models.chatVisible -->90<!-- /br:models.chatVisible --> models, local smart routing, and two ways to pay — a credit-card-funded API key, or x402 USDC from a wallet, which is what lets an agent operate independently.
|
|
887
861
|
|
|
888
862
|
`curl -fsSL https://blockrun.ai/ClawRouter-update | bash`
|
|
889
863
|
|
|
@@ -894,7 +868,7 @@ You're here. <!-- br:models.chatVisible -->88<!-- /br:models.chatVisible --> mod
|
|
|
894
868
|
|
|
895
869
|
**BlockRun for Claude Code**
|
|
896
870
|
|
|
897
|
-
Run Claude Code with <!-- br:models.chatVisible -->
|
|
871
|
+
Run Claude Code with <!-- br:models.chatVisible -->90<!-- /br:models.chatVisible --> models, no rate limits, no Anthropic account, no phone verification. Pay per request with USDC — your wallet is your identity.
|
|
898
872
|
|
|
899
873
|
`curl -fsSL https://blockrun.ai/brcc-install | bash`
|
|
900
874
|
|
|
@@ -907,7 +881,7 @@ Run Claude Code with <!-- br:models.chatVisible -->88<!-- /br:models.chatVisible
|
|
|
907
881
|
|
|
908
882
|
**ClawRouter for NousResearch Hermes**
|
|
909
883
|
|
|
910
|
-
Python plugin that wraps the ClawRouter proxy for `hermes-agent`. Same <!-- br:models.chatVisible -->
|
|
884
|
+
Python plugin that wraps the ClawRouter proxy for `hermes-agent`. Same <!-- br:models.chatVisible -->90<!-- /br:models.chatVisible --> models, same x402 USDC payments on Solana & Base, native Hermes ergonomics.
|
|
911
885
|
|
|
912
886
|
`pip install hermes-plugin-clawrouter`
|
|
913
887
|
|
|
@@ -951,7 +925,7 @@ Python plugin that wraps the ClawRouter proxy for `hermes-agent`. Same <!-- br:m
|
|
|
951
925
|
|
|
952
926
|
### What is BlockRun?
|
|
953
927
|
|
|
954
|
-
BlockRun lets agents pay for the outcome — every LLM, tool and data source, best value per dollar. One endpoint and one balance covering <!-- br:models.chatVisible -->
|
|
928
|
+
BlockRun lets agents pay for the outcome — every LLM, tool and data source, best value per dollar. One endpoint and one balance covering <!-- br:models.chatVisible -->90<!-- /br:models.chatVisible --> chat models plus image, video, music and speech generation, search, market data and multi-chain RPC, billed per call with USDC over [x402](https://x402.org) or a credit-card-funded API key — no seat, no subscription, no minimum. ClawRouter is the open-source local router agents use to reach it.
|
|
955
929
|
|
|
956
930
|
### What is ClawRouter?
|
|
957
931
|
|