Softwr

APIs · head to head

AWS CloudFormation vs Portkey

AWS CloudFormation logo

AWS CloudFormation

APIs

Declarative infrastructure as code for AWS, free for AWS resources

From
Free
Free plan
Yes
Portkey logo

Portkey

APIs

Observe, govern, and secure every AI interaction across your enterprise

From
On request
Free plan
No

The short version

  • AWS CloudFormation is free; Portkey prices on request.
  • Where AWS CloudFormation falls short: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it.

How do AWS CloudFormation and Portkey differ?

AWS CloudFormation and Portkey differ on starting price (Free against On request), free tier (Yes against No) and platforms. Only the attributes on which AWS CloudFormation and Portkey actually diverge.

Attributes where AWS CloudFormation and Portkey differ
AttributeAWS CloudFormationPortkey
Starting priceFreeOn request
Free tierYesNo
PlatformsWeb, Linux, macOS, WindowsWeb

Not yet recorded: pricing model for Portkey, category for AWS CloudFormation.

Which features does each one have?

They share no listed features; 6 appear only for AWS CloudFormation. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in AWS CloudFormation

  • Stacks and templates
  • Change sets
  • Drift detection
  • StackSets
  • Rollback
  • Registry extensions

Only in Portkey

Nothing recorded that AWS CloudFormation does not also cover.

What is each one used for?

AWS CloudFormation is most often brought in for recreating identical dev, staging and production environments on AWS; Portkey for accessing 1,600+ language models through unified API gateway. The jobs each tool is most often brought in to do.

AWS CloudFormation

  • Recreating identical dev, staging and production environments on AWSnot Portkey
  • Deploying one baseline of security resources across many accounts with StackSetsnot Portkey
  • Serverless applications packaged with AWS SAMnot Portkey
  • Previewing and auditing infrastructure changes through change setsnot Portkey

Portkey

  • Accessing 1,600+ language models through unified API gatewaynot AWS CloudFormation
  • Monitoring and observing LLM behavior in production environmentsnot AWS CloudFormation
  • Managing costs and setting budget limits for AI spendingnot AWS CloudFormation
  • Implementing guardrails and PII redaction for secure AI interactionsnot AWS CloudFormation

Where do AWS CloudFormation and Portkey fall short?

AWS CloudFormation's most cited limit: it only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS CloudFormation

  • It only manages AWS, so multi-cloud estates need Terraform or Pulumi alongside it
  • Raw templates are verbose and hard to reuse, which is why many teams add CDK on top
  • A failed update can leave a stack in a stuck state such as UPDATE_ROLLBACK_FAILED that needs manual intervention
  • New AWS features sometimes arrive in CloudFormation after the console and API, so you wait or script around the gap
  • Deleting a stack deletes its resources, so a mistaken delete of a stack with data needs DeletionPolicy discipline

Portkey

  • The free Developer tier records only 10,000 logs per month with 3 day log retention; the $49 per month Production tier raises that to 100,000 logs with $9 per additional 100,000 requests, as of August 2026
  • The product is now sold to enterprises as Palo Alto Networks' Prisma AIRS AI Gateway, and the old pricing page redirects to Palo Alto content

How much do AWS CloudFormation and Portkey cost?

AWS CloudFormation is free to use. Plan by plan below, from each vendor's own pricing page.

AWS CloudFormation

Free
  • AWS resource typesFree
    • No additional charge for using CloudFormation with AWS resources
    • You pay for the resources the stack creates
  • Third-party extensionsOn request
    • $0.0009 per handler operation, first 1,000 per month free
    • $0.00008 per second of handler duration beyond 30 seconds

Portkey

On request

No published plan breakdown. See the Portkey review.

Which should you pick?

Choose AWS CloudFormation if

  • You need stacks and templates.
  • You want to start without paying.
  • You work on Web, Linux, macOS, Windows.
  • You also want change sets.

Choose Portkey if

Nothing in the data separates Portkey from AWS CloudFormation on the points above - pick on price and on how each one feels to use.

Questions people ask

Is AWS CloudFormation or Portkey better?
It depends on the job. AWS CloudFormation fits recreating identical dev, staging and production environments on AWS; Portkey fits accessing 1,600+ language models through unified API gateway. AWS CloudFormation starts at Free and Portkey at On request.
Which is cheaper, AWS CloudFormation or Portkey?
AWS CloudFormation has a free tier; the other does not. Paid plans start at Free for AWS CloudFormation and On request for Portkey.
Does AWS CloudFormation or Portkey run on more platforms?
AWS CloudFormation runs on Web, Linux, macOS, Windows. Portkey runs on Web.
Can I use AWS CloudFormation for free?
Yes. AWS CloudFormation has a free tier, so you can try it without paying. Portkey starts at On request.
What is AWS CloudFormation best used for?
AWS CloudFormation is most often used for recreating identical dev, staging and production environments on aws, deploying one baseline of security resources across many accounts with stacksets, serverless applications packaged with aws sam, previewing and auditing infrastructure changes through change sets. Of those, recreating identical dev, staging and production environments on aws and deploying one baseline of security resources across many accounts with stacksets are not what Portkey is typically brought in for.
What can AWS CloudFormation do that Portkey cannot?
AWS CloudFormation covers Stacks and templates, Change sets, Drift detection, StackSets.

Answered from the vendors’ own pages

AWS CloudFormation: Does CloudFormation cost money?

Not for AWS resource types. You pay for the resources it creates; third-party extensions are billed at $0.0009 per handler operation after 1,000 free.

Portkey: What happens if I exceed my Portkey plan's request limit?

Production tier ($49/month) charges $9 per additional 100,000 requests beyond the included 100,000. Enterprise customers have custom limits determined through their service agreement. Source: https://portkey.ai/pricing

Source
AWS CloudFormation: CloudFormation or Terraform?

CloudFormation is AWS-only with state managed by AWS; Terraform spans many providers and keeps its own state.

Portkey: Can I self-host Portkey to avoid per-request billing?

Yes. Portkey offers an Open Source self-hosted version with unlimited requests at no cost, including universal API, routing, guardrails, and load balancing features. Source: https://portkey.ai/pricing

Source
AWS CloudFormation: How does CDK relate?

CDK lets you write infrastructure in a programming language and synthesises CloudFormation templates.

Portkey: How long does Portkey retain my logs and metrics?

Free Developer tier retains logs 3 days and metrics 30 days. Production tier retains logs 30 days and metrics 90 days. Enterprise tier offers custom retention periods. Source: https://portkey.ai/pricing

Source
Portkey: What compliance features are included in the Enterprise plan?

Enterprise tier includes SOC2 Type 2 certification, GDPR compliance, HIPAA compliance, VPC hosting, SSO, advanced guardrails, and dedicated support. Custom pricing required. Source: https://portkey.ai/pricing

Source
Share

Related pages

Other head to heads