From 27430224b9bd7004a8eb96c80c4f62871687c83d Mon Sep 17 00:00:00 2001 From: VickyXAI <115643921+VickyXAI@users.noreply.github.com> Date: Fri, 27 Nov 2026 17:12:31 -0600 Subject: [PATCH 1/2] =?UTF-8?q?fix(chat):=20drop=20the=20gpt-4.1-nano=20pr?= =?UTF-8?q?ice=20row=20=E2=80=94=20it=20under-reserves=20Solana's=20redire?= =?UTF-8?q?ct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Solana has answered openai/gpt-4.1-nano with gpt-4.1-mini ($0.4/$1.6) since 2026-11-03 (live 402 on 2026-11-27: "GPT-4.1 Mini API call"), so the $0.1/$0.4 row under-reserved a pinned call there about 4x. Base answers it with gpt-5-nano ($0.05/$0.4); arc still serves it at $0.1/$0.4. Unlisted, it reserves the $5/$30 default, which covers every rail (the o3-mini rule). Split out of #234 so it ships now instead of on 2026-12-11. --- src/utils/constants.ts | 6 +++++- test/retired-models.test.ts | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 2e2119d..15deb62 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -575,7 +575,11 @@ export const CHAT_PRICE_PER_MTOKEN: Record { + // Base -> gpt-5-nano ($0.05/$0.4) until 2027-02-09; Solana -> gpt-4.1-mini + // ($0.4/$1.6) since 2026-11-03; arc serves it at $0.1/$0.4. The default + // covers every rail. + assert.equal(Object.hasOwn(CHAT_PRICE_PER_MTOKEN, "openai/gpt-4.1-nano"), false); + for (const target of ["openai/gpt-5-nano", "openai/gpt-4.1-mini"]) { + const t = rateFor(target); + const r = rateFor("openai/gpt-4.1-nano"); + assert.ok(r.input >= t.input && r.output >= t.output, `gpt-4.1-nano under-reserves ${target}`); + for (const chars of [1_000, 100_000, 700_000]) { + const pinned = estimateChatCost(1024, undefined, "openai/gpt-4.1-nano", undefined, chars); + const served = estimateChatCost(1024, undefined, target, undefined, chars); + assert.ok(pinned >= served, `gpt-4.1-nano at ${chars} chars reserves ${pinned} < ${served} for ${target}`); + } + } +}); From f7ea32f7ff07b0949a669923632a3ece243eb353 Mon Sep 17 00:00:00 2001 From: VickyXAI <115643921+VickyXAI@users.noreply.github.com> Date: Fri, 27 Nov 2026 17:13:52 -0600 Subject: [PATCH 2/2] =?UTF-8?q?0.56.3=20=E2=80=94=20pinned=20gpt-4.1-nano?= =?UTF-8?q?=20reserves=20enough=20on=20Solana?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Release for the gpt-4.1-nano price-row fix. 1525 tests, build, verify:prices (0 under-reserved on Base and Solana) and the stdio smoke test (19 tools) pass. --- CHANGELOG.md | 10 ++++++++++ VERSION | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a19eb5..dac7ba9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 0.56.3 + +### Fixed — pinned `gpt-4.1-nano` reserves enough on Solana + +- The `openai/gpt-4.1-nano` price row is gone. Since 2026-11-03 the Solana + gateway has answered that model with `openai/gpt-4.1-mini`, which costs + about 4x more, so a pinned call reserved too little there. Base answers it + with `openai/gpt-5-nano`, and arc still serves it. The paid default now + covers all three. + ## 0.56.2 ### Changed — retired models leave the routing tiers diff --git a/VERSION b/VERSION index 4425c37..8685bfe 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.56.2 +0.56.3 diff --git a/package-lock.json b/package-lock.json index 7a51fcb..dd08c6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@blockrun/mcp", - "version": "0.56.2", + "version": "0.56.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@blockrun/mcp", - "version": "0.56.2", + "version": "0.56.3", "license": "MIT", "dependencies": { "@anthropic-ai/sdk": "^0.123.0", diff --git a/package.json b/package.json index 5984762..02480d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@blockrun/mcp", - "version": "0.56.2", + "version": "0.56.3", "mcpName": "io.github.BlockRunAI/blockrun-mcp", "description": "BlockRun MCP Server - Give your AI agent web search, deep research, prediction markets, and crypto data. Pay per call from a USDC wallet (Solana or Base) or a BlockRun API key.", "type": "module",