Skip to content

feat(chat): add deepseek/deepseek-v4.1-flash beside deepseek-chat - #182

Merged
VickyXAI merged 1 commit into
mainfrom
feat/deepseek-v4.1-flash
Oct 20, 2026
Merged

VickyXAI merged 1 commit into
mainfrom
feat/deepseek-v4.1-flash

Conversation

@VickyXAI

Copy link
Copy Markdown
Contributor

What changes

  • CHAT_PRICE_PER_MTOKEN gets a new row: deepseek/deepseek-v4.1-flash at $0.14/$0.28, the same as deepseek/deepseek-chat.
  • MODEL_TIERS.fast and MODEL_TIERS.cheap: the new model is inserted right after deepseek/deepseek-chat. deepseek-chat stays where it was. No other tier lists deepseek-chat.
  • blockrun_chat description: the mode:"cheap" line still named Tencent Hy3, which was retired and is not in the tier. It now lists the real cheap tier.
  • The vendor comment block in constants.ts is updated, and a test pins the price row and where the model sits in each tier.
  • README and docs/mcp-schema-overhead.md: profile token rows updated because the description changed (full 14,335 → 14,348, research 2,727 → 2,740, chat 2,082 → 2,095). The badge (14.3K) and the 62% saving are unchanged.

Sources (2026-10-20)

  • GET https://blockrun.ai/api/v1/models lists deepseek/deepseek-v4.1-flash as available and paid: $0.14 input, $0.28 output, $0.028 cache read, 1M context.
  • The account sheet (blockrun.ai/api/pricing) shows the same $0.14/$0.28.
  • Solana does not list it. An unpaid POST to sol.blockrun.ai returns 400 Unknown model, before any payment. Base returns a 402 quote.
    • The model is placed after deepseek-chat, so on Solana it is only tried if deepseek-chat has already failed. Its 400 then falls through to the next tier member at no cost.

Checks

  • npm run typecheck: clean
  • npm test: all pass
  • npm run build: ok
  • npm run verify:prices: exit 0, 0 under-reserving. Catalogue sweep: Base checks 89 chat models (including the new one) with 0 gaps. Solana and the account sheet also have 0 gaps.

package.json is untouched.

Base GET /v1/models and the account sheet list it at $0.14/$0.28 (cache
read $0.028), the same as deepseek-chat. Added a price row and placed it
right after deepseek-chat in the fast and cheap tiers (deepseek-chat is kept).
Solana does not serve it yet (400 Unknown model, before any payment), so on
that chain the tier falls through to the next member. Also corrects the
cheap-mode description, which still named the retired Tencent Hy3.
@VickyXAI
VickyXAI merged commit b3dcf4a into main Oct 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant