About Portkey and why teams compare it
Portkey combines an open-source AI gateway (MIT) with a hosted platform: fallbacks, retries, load balancing, guardrails, caching, budgets and logs, plus an MCP gateway. Plans are sized by recorded logs, from a free Developer plan to Production at $49 per month and custom Enterprise. Teams compare it with Swfte when they want agents and workflows on the same platform as the gateway, or a different pricing shape. This page compares the two on published facts, including where Portkey is ahead, and says who should pick which.
Portkey sits in the AI gateway and LLMOps platform category. In short: A blazing fast AI Gateway with integrated guardrails. Pricing as published is Open source (self-host); Developer free (10k recorded logs/month); Production $49/month; Enterprise custom. It is best for Teams that want a gateway with built-in guardrails and observability, hosted or self-hosted.
Swfte vs Portkey at a glance
| Capability | Swfte | Portkey | Checked at |
|---|---|---|---|
| Category | Managed gateway, part of one platform (Connect, with Studio and Nexus) | AI gateway with integrated guardrails; open-source gateway plus a hosted platform | GitHub |
| Pricing model | Free (pay as you use); Pro 5% platform fee; Scale 3-4% platform fee; Enterprise negotiable | Open source (self-host); Developer free; Production $49/month; Enterprise custom. Plans are sized by recorded logs | Pricing |
| Plan limits | Free tier has daily rate limits; Pro and Scale carry a platform fee on usage (see pricing) | Developer: 10k recorded logs per month. Production: 100k, with $9 per additional 100k requests. Going over does not block requests; extra logs go unrecorded | Pricing |
| OpenAI-compatible API | Yes. OpenAI-style chat completions at api.swfte.com/agents/v2/gateway; model IDs are provider:model | Use the OpenAI client with the Portkey gateway URL and Portkey headers (provider and Portkey API key); REST at api.portkey.ai/v1/chat/completions | Docs |
| Model catalog | 50+ providers. The pricing page lists 300+ models on Pro and 25+ models on Free | Docs state over 250 models (the README tagline says 1,600+) | Docs |
| Routing and fallback | Smart routing and automatic failover | Fallbacks, retries and weighted load balancing across keys or providers | GitHub |
| Caching | Semantic caching | Simple caching on Developer; simple and semantic on Production. The README marks semantic caching as hosted and enterprise only | Pricing |
| Budgets and rate limits | Cost tracking with budgets and alerts (per the Connect page) | Gateway docs describe budget limits and hourly, daily and per-minute rate limits; granular budgets and rate limits are listed on Enterprise | Gateway docs |
| Guardrails | Agent policy and approvals live in Nexus (a separate product); the gateway has audit logs and rate limiting | Deterministic guardrails on Developer, LLM and partner guardrails on Production, custom hooks on Enterprise | Pricing |
| Logging and observability | Cost analytics and observability, plus audit logs and rate limiting | Logs and metrics; retention is 3 days of logs on Developer and 30 days on Production; alerts on Production | Pricing |
| Deployment | Managed service; customer data at rest in AWS Ireland. Dedicated or private deployment is designed for and scoped with you as an engagement, not self-serve | Hosted, self-hosted open-source gateway, or private cloud / VPC hosting for enterprises | GitHub |
| SSO and RBAC | SAML SSO and SCIM are in development | RBAC on Production; RBAC and SSO listed on Enterprise | Pricing |
| MCP gateway | Not listed among Connect’s features on this site; see our MCP gateway guide | MCP gateway with auth, access control and observability for MCP servers | GitHub |
| Compliance attestations | No SOC 2 report or ISO 27001 certificate is held and no HIPAA BAA is signed today; a SOC 2 Type I audit is in preparation (see the trust page). The exact posture depends on your use case, jurisdiction and deployment | Docs state SOC 2, ISO 27001, GDPR and HIPAA compliance; the pricing page lists SOC 2 Type 2, GDPR, HIPAA and custom BAAs under Enterprise | Docs |
Portkey values were checked against the vendor's own pages on October 6, 2026. Plans, prices and limits change; confirm on the vendor's page before you decide. Where a cell is blank or says "not verified", we could not confirm it from a primary source and chose not to guess.
Who should pick which
Pick Portkey if
- You want guardrails, including partner guardrails, built into the gateway, with plan tiers for deterministic, LLM and custom-hook checks.
- You want guardrails (including partner guardrails) and detailed logs built into the gateway.
- You want an open-source gateway you can self-host, with a hosted platform as an option.
- You want an MCP gateway for MCP servers across your organization.
Pick Swfte if
- You want the gateway, an agent and workflow builder (Studio) and agent governance (Nexus) on one platform.
- You would rather pay a platform fee on usage than size a plan by recorded logs.
- You want to talk about a dedicated or private deployment scoped with the vendor.
- You are comfortable with Swfte’s current gaps: SAML SSO and SCIM are in development, and dedicated or private deployment is scoped as an engagement, not self-serve.
What Portkey does well
- Open-source gateway (MIT) plus a hosted platform with a free Developer plan
- Fallbacks, retries and weighted load balancing, with budget limits and rate limits described in its gateway docs
- Guardrails on every plan (deterministic on Developer, LLM and partner guardrails on Production, custom hooks on Enterprise); simple and semantic caching on Production
- States SOC 2, ISO 27001, GDPR and HIPAA compliance in its docs, and lists custom BAAs on Enterprise
- Offers an MCP gateway with auth, access control and observability for MCP servers
Trade-offs to weigh
- Pricing is tied to recorded logs: Developer includes 10k per month, Production ($49/month) 100k with $9 per additional 100k requests; log retention is 3 days on Developer and 30 on Production
- Semantic caching in the open-source gateway is marked as available only in the hosted and enterprise versions
- Its pricing page currently carries a notice that Portkey is now Prisma AIRS AI Gateway for enterprises, so confirm current plans and terms
When Swfte is the better choice
When you want the gateway, agent builder and workflows on one platform. If you rely on the guardrail tiers of Portkey or its open-source gateway, Portkey is built for that.
Swfte Connect is a managed gateway. It routes with automatic failover, applies semantic caching, tracks cost with budgets and alerts, and keeps audit logs. It shares a platform with Studio for agents and workflows and Nexus for agent governance.
Portkey is ahead on built-in guardrail tiers and an open-source gateway you can self-host, and it has an MCP gateway. Swfte is earlier on enterprise identity: SAML SSO and SCIM are in development.
Where Swfte fits
How to migrate from Portkey to Swfte
- Export your Portkey configuration
Note the providers, fallback and load-balancing configs, guardrails, budgets and rate limits you use. There is no import path for Portkey configs or virtual keys, so treat this as a checklist. Swfte gateway IDs are provider:model; each model page in the directory shows the ID.
- Create a Connect key
Sign up for the free Connect tier and create an API key. Add your own provider keys if you want to keep billing with your providers, or use pooled access.
- Send one request
Confirm the endpoint, key and model ID with one call.
code
curl https://api.swfte.com/agents/v2/gateway/chat/completions \ -H "Authorization: Bearer $SWFTE_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "openai:gpt-4o", "messages": [{"role": "user", "content": "Hello"}] }' - Switch one service
Portkey adds its own headers on top of the OpenAI client. With Swfte you remove them and use the base URL, key and model ID. The base URL below is the endpoint above without /chat/completions; use the endpoint shown in your Connect dashboard if it differs.
code
from openai import OpenAI import os client = OpenAI( base_url="https://api.swfte.com/agents/v2/gateway", # was the Portkey gateway URL (plus x-portkey-* headers) api_key=os.environ["SWFTE_API_KEY"], # was your Portkey API key ) reply = client.chat.completions.create( model="openai:gpt-4o", # provider:model messages=[{"role": "user", "content": "Hello"}], ) print(reply.choices[0].message.content) - Re-create guardrails and limits
Decide which Portkey guardrails you rely on and where each will live afterwards: gateway settings in Connect, or agent policy and approvals in Nexus. Compare both setups on real traffic before cutting over.
- Cut over
Move workloads one at a time, keep Portkey as a fallback during the comparison, and cancel the plan only when nothing depends on it. Check Portkey’s current plan terms, since its pricing page carries a notice about Prisma AIRS AI Gateway.
How Portkey compares to other alternatives
Other gateways to consider are OpenRouter (hosted, very wide model menu) and LiteLLM (open source, self-hosted). Each has its own page in the alternatives index.
For a full cross-comparison see the alternatives index and the head-to-head comparisons grouped by category.
Sources
Portkey facts on this page come from the vendor's own documentation and pricing pages. Swfte facts come from our pricing and product pages. See something out of date? Tell us at sales@swfte.com and we will correct it.
Frequently asked questions about Portkey alternatives
Is Portkey open source?
Portkey publishes an open-source AI gateway under the MIT license that you can run locally or host yourself. Its README marks semantic caching as available only in the hosted and enterprise versions. The hosted platform has Developer, Production and Enterprise plans.
How does pricing compare?
Portkey’s Developer plan is free with 10k recorded logs per month, Production is $49 per month with 100k recorded logs and $9 per additional 100k requests, and Enterprise is custom. Swfte lists Free (pay as you use), a 5% platform fee on Pro and 3-4% on Scale. The models differ, so compare on your own volume.
Do Swfte and Portkey hold the same compliance attestations?
Both cover SOC 2, ISO 27001 and HIPAA in some form. Portkey states SOC 2, ISO 27001, GDPR and HIPAA compliance. Swfte does not hold a SOC 2 report or an ISO 27001 certificate and does not sign HIPAA BAAs today; a SOC 2 Type I audit is in preparation, and the trust page has the current status. Ask each vendor for its reports and BAA terms, and confirm scope for your use case.
Can I keep using the OpenAI SDK?
Yes. Change the base URL, the API key and the model ID, and remove any Portkey-specific headers.
What should I check before switching?
List the guardrails, caching and rate limits you actually use and where each will live afterwards. Portkey’s pricing page currently carries a notice that Portkey is now Prisma AIRS AI Gateway for enterprises, so confirm current plans and terms with the vendor.
Try one workload on Swfte Connect
Create a free key, send one request, and compare cost, latency and output on your own prompts before you move anything.
Free tier · OpenAI-compatible API
