Back to comparisons

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

CapabilitySpendplanePortkey
Prompt-Body StorageZero prompt-body storage (metadata-only)Logs full prompts/responses by default
Pre-Egress PII & Secret ScrubbingBuilt-in inline tokenization before egressRequires separate guardrail plugins
Hybrid Local Runner (Ollama / vLLM)Native local + cloud routing with offload %Cloud-first gateway focus
Free-Model Coder & MCP ServerBuilt-in :free pool + MCP draftingNot included
Token Markup (BYOK)0% markup pass-throughSeat / request-tier pricing
Session Savings & PDF Reports10-min session tracker + A4 PDF exportUsage dashboards & CSV
Enterprise SAML SSOBuilt-in SAML SSO & workspace RBACEnterprise 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.

Drop-In Switch: change one base URL
// 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.