t3code icon indicating copy to clipboard operation
t3code copied to clipboard

[Feature]: Dedicated Mistral Vibe provider driver (vibe-app-server) to unlock the Vibe & Studio allowance in T3

Open rzukic opened this issue 5 days ago • 0 comments

Problem / use case

Mistral changed how paid plans bill in late November 2026: each plan now has two separate monthly allowances — "Vibe & Studio" and "API" — and per Mistral's own docs (screenshot below, from docs.mistral.ai/admin/billing-usage/subscriptions):

"Usage made through non-Mistral products, such as third-party coding tools and harnesses, counts toward the API monthly usage."

Mistral docs Subscription page, "Included monthly usage" section

The two pools are wildly different in size on the main paid plan:

Monthly allowance Pro ($14.99/mo) Education Pro ($5.99/mo)
Vibe & Studio (Mistral's own products) ~$300/mo (≈ €255 in the EU) $150/mo
API (third-party tools & harnesses bill here) $25.50/mo (published on the pricing page until 2026-11-20) $15/mo

That's roughly 12x more allowance in the Vibe & Studio pool than the API pool on Pro. Before this change, the big Vibe pool was reachable from third-party harnesses via the Vibe API key; the November change cut that off.

T3 Code is a third-party product. Today, Mistral models in T3 run through the generic ACP Registry driver (acpRegistry + mistral-vibe), which authenticates with a plain API key — so every token T3 uses bills to the small API allowance ($25.50/mo on Pro), then prepaid pay-as-you-go credits. The ~$300 Vibe & Studio allowance cannot be spent in T3 at all, and T3 shows no Mistral budget/usage bar.

Proposed solution

A maintainer-owned dedicated Vibe provider driver, built on the native headless vibe-app-server (newline-delimited JSON-RPC 2.0 over stdio; ships inside the standalone Vibe.app at Contents/Resources/bin/vibe-app-server and as a standalone binary). A working implementation already exists in #31881:

  • Sign in with the Mistral account (browser sign-in / OIDC, keyring shared with the desktop Vibe app; the app-server protocol's initialize.account carries the account into headless connections) — no API key. Model calls then run on the account's plan and draw the Vibe & Studio allowance (~$300/mo on Pro).
  • Surface account/read (/v1/billing/subscription + /v1/billing/budget) as native usage limits in T3 (monthly window, used%, resetsAt); classify -31001 as usage_limit.
  • Model picker from config/read, sessions run in the thread's checkout, T3's MCP server connected over HTTP.

Why this matters

The point of this issue, directly: get T3 users access to the much bigger Vibe & Studio allowance. Today T3 is the most expensive way to use Mistral models for plan holders — a $14.99 Pro subscription gives ~$300/mo of Vibe usage in Mistral's own tools, but only $25.50/mo of API usage in T3, after which T3 bills prepaid credits. That makes T3 cost ~12x more per token than Vibe itself for the same plan.

Smallest useful scope

A built-in "Vibe" provider (Early Access badge) as in #31881: account sign-in, model picker, billing budget shown as usage limits, MCP over HTTP. The ACP Registry entry can stay for users who prefer it.

Alternatives considered

  • Stay on the ACP Registry driver only — it cannot do account browser sign-in or read Mistral billing, so usage always bills the small API allowance and no budget is shown.
  • Users configure an API key manually — same outcome: always the API allowance, no Vibe budget display.

Risks / tradeoffs

  • A dedicated driver is only added when a maintainer decides to own it — this issue makes that case.
  • vibe-app-server protocol versions need pinning/policy (cf. #26531).

References

  • Screenshot above: docs.mistral.ai/admin/billing-usage/subscriptions, "Included monthly usage" section.
  • Allowance amounts: mistral.ai/pricing plan cards (API allowance published as $25.50/mo on Pro until 2026-11-20) and Mistral's published plan descriptions (Pro Vibe & Studio usage ≈ $300/mo, ≈ €255 in the EU; Education $150/mo).
  • #31881 — working vibe-app-server-based driver (supersedes #4720); #1356 — original "Integrate Mistral Vibe" request.

rzukic avatar Nov 29 '26 18:11 rzukic