Portkey Alternative · Spendplane vs. Portkey
Zero prompt body storage and hybrid local execution built in.
Portkey focuses on cloud observability, prompt management, and hosted AI gateway routing. Spendplane acts as a Data VPN Firewall—scrubbing PII before egress, storing zero prompt bodies, masking customer data for AI agents through its MCP firewall, and routing boilerplate coding drafts to free models.
Side-by-Side
Spendplane vs. Portkey at a glance
| Capability | Spendplane | Portkey |
|---|---|---|
| Prompt-Body Storage | Zero prompt-body storage (metadata-only) | Logs full prompts/responses by default |
| Pre-Egress PII & Secret Scrubbing | Built-in inline tokenization before egress | Requires separate guardrail plugins |
| Hybrid Local Runner (Ollama / vLLM) | Native local + cloud routing with offload % | Cloud-first gateway focus |
| Free-Model Coder & MCP Server | Built-in :free pool + MCP drafting | Not included |
| Token Markup (BYOK) | 0% markup pass-through | Seat / request-tier pricing |
| Session Savings & PDF Reports | 10-min session tracker + A4 PDF export | Usage dashboards & CSV |
| Enterprise SAML SSO | Built-in SAML SSO & workspace RBAC | Enterprise tier |
Where Portkey fits
- Teams that want full request/response prompt logs stored in a hosted observability UI.
- Prompt template versioning and A/B playground workflows inside a cloud-only gateway.
- Standard cloud fallback chains without an MCP firewall or browser-level protection.
Where Spendplane wins
- Strict zero prompt-body storage: only structured telemetry (tokens, model, cost, redaction counts) is persisted.
- Pre-egress PII & credential tokenization ([EMAIL_1], [API_KEY_1]) before any prompt leaves your boundary.
- Hybrid routing into local Ollama, LM Studio, and vLLM runners alongside OpenAI, Anthropic, and OpenRouter.
- Built-in Free-Model Coder MCP + session-level savings & audit PDF reports.
Hybrid Stack
Can you use Spendplane with Portkey?
If you rely on Portkey's prompt versioning in staging, you can still put Spendplane in front of production keys or developer IDEs (Cursor, Antigravity, VS Code) to guarantee PII scrubbing, hard spend caps, and local/free-model cost savings.
// Replace your OpenAI / Portkey base URL with Spendplane
const client = new OpenAI({
baseURL: "https://api.spendplane.com/v1/openai",
apiKey: process.env.SPENDPLANE_API_KEY, // sp_...
});FAQ
Common questions
Does Spendplane store my raw prompts like an observability tool?
No. Spendplane enforces zero prompt-body storage—only structured metadata (model, token counts, latency, cost saved, and redacted entity types) is saved for billing and audit logs.
How fast is the switch from Portkey?
Less than a minute: swap your client baseURL to https://api.spendplane.com/v1/openai and pass your sp_... workspace key.
Can I route sensitive tasks locally instead of cloud?
Yes. Connect your local Ollama or vLLM runner in Routing and Spendplane automatically offloads eligible requests locally.