← Back to directory

pi-model-switch

Pi coding agent extension that gives the agent the ability to switch models on its own

ModelsVerified with notes★ 81MIT

Safety notes

Verified with notes
Tool for listing/searching/switching Pi models from inside the agent.

Static scan findings

This is a first-pass static screen, not a formal audit. It flags patterns worth reading before install.

MEDIUM · token_access
index.ts
  • maxTokens: number;
  • const costText = `$${model.cost.input.toFixed(2)}/$${model.cost.output.toFixed(2)} per 1M tokens (in/out)`;
  • return `${model.provider}/${model.id}${marker}${capabilityText}\n ${model.name} | ctx: ${model.contextWindow.toLocaleString()} | max: ${model.maxTokens.toLocaleString()}\n ${cost

Package scripts captured

No package scripts captured.