macrostack
Browse

The AI stack

Categories

Local & Sovereign AINotes & KnowledgeObservability & MonitoringPassword ManagersWeb AnalyticsTeam ChatSmart HomeNetworking & RoutersVideo ConferencingCloud Storage & SyncPhotos & MediaAPI DevelopmentImage EditingWorkflow Automation & iPaaSDeveloper Tools & ContainersOffice & Productivity SuitesNo-Code DatabasesCode Hosting & Git ForgesProject ManagementEmail Marketing & NewslettersScheduling & BookingError Tracking & Exception MonitoringLog Management & SIEMVPN & PrivacyEmail & Secure MailVector Databases & AI SearchLLM & Agent FrameworksDomains & Web HostingData Removal & PrivacyAuthentication & IdentityHelp Desk & Customer SupportCloud & VPSKubernetes & Container PlatformsEmbedding ModelsPDF & DocumentsAI Coding AssistantsAI Voice & SpeechLLM Observability & EvaluationLLM Gateways & RoutingCloud GPU & AI ComputeCI/CD & build automationData & pipeline orchestrationModel serving & inferenceAI agent frameworksBackend as a serviceSecrets managementFeature flags & experimentationProduct analyticsSearch infrastructureUptime & status monitoringAffiliate & partner platformsVisitor identification & personalisationWikis & internal docsIdentity & access managementData warehouses & analytics enginesCustomer data platformsCRMObject storageBI & dashboardsE-signatureWhiteboards & diagrammingIn-memory data stores & cachingPlatform as a serviceTransactional & bulk emailHeadless CMSDesign & prototypingE-commerce platformsInternal tools & admin panelsManaged databasesForms & surveysFine-Tuning & Model TrainingRAG & Retrieval PlatformsLLM Evaluation & TestingAI Guardrails & Content SafetySpeech Recognition & TranscriptionExperiment Tracking & ML OpsDocument AI & OCRCompliance automation & security posture

About

How we rank & score
Head-to-head · LLM Gateways & Routing

Helicone vs Portkey Gateway (self-hosted)

Both are alternatives to Portkey. Here's how they stack up — verified facts, no spin.

Also searched as Portkey Gateway (self-hosted) vs Helicone — same comparison, one verdict.

The short answer

Helicone and Portkey Gateway (self-hosted) are closely matched on ownership (88 vs 86) — this one comes down to pricing and to which trade-offs below you can live with.

88

Helicone

Apache-2.0 gateway in Rust, with observability built in rather than bolted on.

OPEN SOURCEApache-2.0SELF-HOSTLOCAL-FIRST

Helicone is an open-source AI gateway written in Rust, with logging, caching and cost tracking built into the routing layer rather than added alongside it — which is the practical difference from LiteLLM, where observability is thin and usually paired with something else. It is Apache-2.0 throughout, self-hostable, and also offered as a hosted service with a free tier. For teams who want one component instead of two, it is the tidier answer.

86

Portkey Gateway (self-hosted)

Portkey's own routing engine, MIT-licensed and running on your hardware.

OPEN SOURCEMITSELF-HOSTLOCAL-FIRST

Worth knowing before you buy the platform: Portkey publishes its gateway as open source under the MIT licence, so the routing engine — 250+ models, failover, load balancing, caching — can be self-hosted at no cost. What the subscription adds is the hosted control plane: dashboards, prompt management, guardrails, analytics and support. If your requirement is the routing and not the console, this is the same engine without the bill or the third-party data path.

Side by side

6 points of comparison, every one read from a verified field. Green marks the side that wins a row outright. A dash means we do not hold that fact — never that it is zero.

 HeliconePortkey Gateway (self-hosted)
Sovereignty ScoreOur transparent 0–100 composite for data ownership and exit cost.8886
Open sourceYesYes
Self-hostableYesYes
Local-first dataYesYes
LicenseApache-2.0MIT
PricingFree and self-hostable under Apache-2.0. The hosted service has a free tier of roughly 10,000 requests per month, with paid plans starting around $79/month.Free — the gateway is MIT-licensed. You pay only your model providers and your own hosting.
The verdict

Helicone edges it on the Sovereignty Score, but the right pick depends on the trade-offs below.

Helicone

Strengths

  • +Apache-2.0 with no enterprise-directory carve-out
  • +Routing and observability in one component — less to assemble
  • +Written in Rust; low latency overhead for a proxy
  • +Hosted option with a real free tier if you would rather not run it

Trade-offs

  • Smaller project and community than LiteLLM (about 6k stars)
  • Fewer providers supported than LiteLLM's 100+
  • The hosted tier means prompts transit a third party — the thing self-hosting avoided
  • Less mature budget and virtual-key tooling than LiteLLM

Portkey Gateway (self-hosted)

Strengths

  • +MIT licence on the full routing engine
  • +Same 250+ model coverage as the hosted product
  • +The lowest-friction exit from Portkey's paid tier — same engine, same config shape
  • +No third party in the request path when self-hosted

Trade-offs

  • You lose the dashboards, prompt management and guardrails that justify the subscription
  • Development cadence is slower than LiteLLM's
  • Smaller self-hosting community, so fewer worked examples when something breaks
  • You are self-hosting a vendor's open core — feature direction still follows their commercial product

Which one fits you

The trade-offs above, turned into a decision. Find the line that describes your team.

Choose Helicone

if a lower exit cost matters more to you than any single feature, and apache-2.0 with no enterprise-directory carve-out.

Choose Portkey Gateway (self-hosted)

if mIT licence on the full routing engine.

Neither, yet

if both carry a real cost you should weigh first — smaller project and community than LiteLLM (about 6k stars), and you lose the dashboards, prompt management and guardrails that justify the subscription. If either of those is a dealbreaker for your team, the shortlist is wrong rather than the choice.

Helicone vs Portkey Gateway (self-hosted) — common questions

Is Helicone a better fit than Portkey Gateway (self-hosted) for llm gateways & routing?

It depends on what you are optimising for, and the honest split is this: Helicone scores 88 to Portkey Gateway (self-hosted)'s 86 on data ownership and exit cost, so it is the safer choice if you care about being able to leave. Portkey Gateway (self-hosted) earns its place on a different axis — mIT licence on the full routing engine. Neither is a wrong answer for every team; the table above is the actual comparison.

What happens if we want to switch later?

Helicone keeps its data local or in open formats, so leaving is an export rather than a negotiation. Portkey Gateway (self-hosted) is still self-hostable, so the files stay on your server either way — but it is not local-first by design, so check what its export produces before you rely on it.

Can I self-host Helicone or Portkey Gateway (self-hosted)?

Both can be self-hosted. The difference is what it costs you in time rather than whether it is possible — see the setup and maintenance rows above.

Are Helicone and Portkey Gateway (self-hosted) both alternatives to Portkey?

Yes — both appear in our Portkey comparison, which is why they are worth putting side by side. People usually arrive here already having decided to move off Portkey and now choosing between the two replacements, which is a narrower and much easier question.

See all 4 Portkey alternatives →

Related alternative guides

Facts verified 2026-07-30. Licenses and pricing change — spotted something out of date? That's a correction we want.

The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.