pi-cache-optimizer
Improve Pi prompt/KV cache hit rates with stable prompts, OpenAI-compatible cache keys, proxy compat warnings, and footer cache stats.
6.2k listings for pi · 0 reviewed by us
29 results
Improve Pi prompt/KV cache hit rates with stable prompts, OpenAI-compatible cache keys, proxy compat warnings, and footer cache stats.
Automatic token-saving router for the Pi CLI using Pi's openai-codex provider, with visible local usage and quality evidence.
Automatic per-prompt model and thinking-level routing for pi
pi extension that registers Kimi, MiniMax, Xiaomi MiMo, and CrofAI providers with cache fix, Anthropic OAuth adapter, and native web search with provider-override support. Search backends include ZAI MCP, Google, OpenAI, xAI, Anthropic, Claude Code, and C
StarRouter is a focused model-routing extension for Pi. It chooses the best available model and thinking level for each prompt using a deterministic heuristic prompt profiler, Artificial Analysis benchmark data, provider-scoped model pools, strict model i
Prompt caching for Pi's OpenCode Go provider (kimi, deepseek, mimo, qwen, minimax). Stamps prompt_cache_key, 24h retention, and cache_control breakpoints on every request — beyond what pi-ai or opencode CLI do by default.
Gemini ACP chat, prompt, search, and research provider for Pi.
Kimi K3 prefix-cache optimizer extension for pi-agent (dual-channel, zero-fork)
StreamLake AI custom provider extension for pi. Registers two provider entries (streamlake-coding / streamlake-payg) with baked-in base URLs, no redundant billing prompt, and dynamic model list fetch from the API.
Shows prompt processing progress from llama.cpp's SSE stream
Dev tool: on every provider request, dump the exact payload pi sends (final system prompt plus messages) to a file so you can see precisely what the model receives.
Build multi-option slash commands from plain prompts — variable expansion, arg collection & interactive selectors for Pi
Drop-in tool-schema and tool-result compression for the Pi coding-agent. Built on TSCG by Furkan Sakizli (SKZL-AI) — wraps @tscg/core and adds tool-result compression plus provider-aware prompt-cache awareness (Anthropic/OpenAI/Ollama). Provider-agnostic,
Screenshot picker extension for pi coding agent - quickly select and attach screenshots to your prompts
Pi extension: preview next-turn model/thinking cost with hit, cold, and cache-tax estimates before switching
Pi extension: dual cache-breakpoint strategy for Anthropic models — marks both the last assistant tool_use block and the last user message block with cache_control, dramatically improving cache hit rates on MiniMax, Kimi, and other Anthropic-compatible pr
Pi extension: bidirectional zh<->en translation to save tokens. Translates user Chinese input to English before sending to the model, and translates the model's English response back to Chinese. All-in-one replacement for pi-prompt-translate (input side)
Pi provider package for OpenAI-compatible Responses APIs that sends system prompts via instructions and uses a stable prompt_cache_key.
Deterministic tool-call guardrails for pi — enforce rules with before-tool hooks instead of prompts. Zero token cost, 100% reliability.
Auto-retry Pi extension — automatically recovers from transient provider errors (400, 5xx, rate limits, connection failures) mid-conversation by sending a continuation prompt with exponential backoff
Tracks time usage, prompts, turns, and tool calls in a session.
Agentic engineering toolkit. Token estimation, cost, patterns, templates.
Track complete prompts sent to the LLM gateway — system prompt, tools, messages, responses, and usage
Provider-informed, harness-neutral native prompting guidance for Pi Coding Agent.
Minimax M3 token usage, cost, prompt-cache savings, and 5h/weekly subscription quota in the Pi status line
Pi extension that adds prompt_cache_key to OpenAI Responses API requests for better prompt caching.
Auto Mode Router extension for Pi: route prompts between frontend, logic, and terminal models with optional mid-turn domain switching.
Dynamically switch the Anthropic prompt-cache TTL between 5m and 1h mid-conversation in the pi coding agent
Pi extension that uses an LLM to route new prompts into the most relevant existing session before continuing