Softwr

Cloud · head to head

AWS (Amazon Web Services) vs AWS API Gateway

AWS (Amazon Web Services) logo

AWS (Amazon Web Services)

Cloud

The leading cloud computing platform

From
Free
Rated
-
AWS API Gateway logo

AWS API Gateway

APIs

Fully managed API gateway service for creating and managing APIs at scale

From
Free
Rated
-

The short version

  • Each has a real cost: AWS (Amazon Web Services) data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills; AWS API Gateway rEST APIs cost $3.50 per million calls against $1.00 for HTTP APIs, so the older and more featureful type is three and a half times dearer
  • They diverge on capability: AWS (Amazon Web Services) covers EC2 - Virtual Servers, AWS API Gateway covers REST APIs.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

Only the attributes on which AWS (Amazon Web Services) and AWS API Gateway actually diverge.

Attributes where AWS (Amazon Web Services) and AWS API Gateway differ
AttributeAWS (Amazon Web Services)AWS API Gateway
PlatformsWeb, Api, Cli, MobileAWS Cloud
CategoryCloudAPIs

Identical on both: starting price (Free), pricing model (usage-based), free tier (Yes), user rating (Not yet rated), founded (2006).

What each one covers

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 (Amazon Web Services)

  • EC2 - Virtual Servers
  • S3 - Object Storage
  • RDS - Managed Database
  • Lambda - Serverless Computing
  • CloudFront - CDN
  • VPC - Virtual Network
  • IAM - Access Management
  • CloudWatch - Monitoring

Only in AWS API Gateway

  • REST APIs
  • WebSocket APIs
  • HTTP APIs
  • Lambda
  • EC2
  • DynamoDB
  • CloudWatch
  • IAM

What people use each for

The jobs each tool is most often brought in to do.

AWS (Amazon Web Services)

  • Web hostingnot AWS API Gateway
  • Data storagenot AWS API Gateway
  • Machine learningnot AWS API Gateway
  • Big data analyticsnot AWS API Gateway
  • Application developmentnot AWS API Gateway

AWS API Gateway

  • Fronting Lambda functions with an HTTP endpointnot AWS (Amazon Web Services)
  • REST and HTTP API management with throttling and keysnot AWS (Amazon Web Services)
  • WebSocket APIs for real-time clientsnot AWS (Amazon Web Services)
  • Private APIs reachable only inside a VPCnot AWS (Amazon Web Services)
  • Publishing a developer portal for API consumersnot AWS (Amazon Web Services)

Where each one falls short

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

AWS (Amazon Web Services)

  • Data transfer in is free and data transfer out is charged, which is the standard source of unexpected bills
  • Discounts require one or three year Savings Plan commitments rather than being automatic
  • Every service is priced separately, so a working architecture has no single published cost
  • The free tier is a promotional allowance rather than an ongoing free plan

AWS API Gateway

  • REST APIs cost $3.50 per million calls against $1.00 for HTTP APIs, so the older and more featureful type is three and a half times dearer
  • Data transfer out is charged at $0.09 per GB on top of request pricing
  • WebSocket APIs bill connection minutes as well as messages, at $0.25 per million minutes
  • Private APIs avoid data transfer charges but incur AWS PrivateLink costs instead
  • The developer portal is $125 a month, with additional portal products at $12.50 each
  • The free tier lasts 12 months rather than being ongoing

Pricing, plan by plan

AWS (Amazon Web Services)

Free
  • AWS Free TierFree
    • EC2 750 hours/month
    • 5GB S3 storage
    • 20GB data transfer
  • Pay-As-You-GoFree
    • No upfront payment
    • No long-term commitments
    • Pay only for what you use

AWS API Gateway

Free
  • Free Tier (12 months)Free
    • 1M REST API calls per month
    • 1M HTTP API calls per month
    • 1M WebSocket messages plus 750K connection minutes per month
  • HTTP APIs$1/per million requests (first 300M)
    • First 300M: $1.00 per million
    • Next 132M: $0.90 per million
    • Data transfer varies by volume
  • REST APIs$3.5/per million API calls
    • Edge Optimized and Regional: $3.50 per million (first tier)
    • Higher volumes: $2.80 then $2.38 per million
    • Data transfer: $0.09 per GB
  • WebSocket APIs$1/per million messages
    • Messages: $1.00 per million
    • Connection minutes: $0.25 per million minutes

Which should you pick?

Choose AWS (Amazon Web Services) if

  • You need ec2 - virtual servers.
  • You want to start without paying.
  • You work on Web, Api, Cli, Mobile.
  • You also want s3 - object storage.

Choose AWS API Gateway if

  • You need rest apis.
  • You want to start without paying.
  • You work on AWS Cloud.
  • You also want websocket apis.

Questions people ask

Is AWS (Amazon Web Services) or AWS API Gateway better?
Neither clearly leads. AWS (Amazon Web Services) starts at Free and AWS API Gateway at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, AWS (Amazon Web Services) or AWS API Gateway?
AWS (Amazon Web Services) starts at Free and AWS API Gateway at Free.
Does AWS (Amazon Web Services) or AWS API Gateway run on more platforms?
AWS (Amazon Web Services) runs on Web, Api, Cli, Mobile. AWS API Gateway runs on AWS Cloud.
Can I use AWS (Amazon Web Services) for free?
Both have a free tier, so you can try either at no cost before committing.
What is AWS (Amazon Web Services) best used for?
AWS (Amazon Web Services) is most often used for web hosting, data storage, machine learning, big data analytics. Of those, web hosting and data storage are not what AWS API Gateway is typically brought in for.
What can AWS (Amazon Web Services) do that AWS API Gateway cannot?
AWS (Amazon Web Services) covers EC2 - Virtual Servers, S3 - Object Storage, RDS - Managed Database, Lambda - Serverless Computing. AWS API Gateway covers REST APIs, WebSocket APIs, HTTP APIs, Lambda.

Answered from the vendors’ own pages

AWS (Amazon Web Services): What are AWS's payment options and pricing models?

AWS offers four pricing approaches: pay-as-you-go (you pay only for what you use), flat-rate plans combining multiple services into one monthly price without overages, Savings Plans offering discounts on compute and machine learning with 1- or 3-year commitments, and volume-based tiered pricing where costs decrease as usage increases.

Source
AWS API Gateway: How much does AWS API Gateway cost?

AWS API Gateway pricing varies by API type. HTTP APIs cost $1.00 per million requests for the first 300M monthly, then $0.90 per million. REST APIs cost $3.50 per million, and WebSocket APIs cost $1.00 per million messages plus $0.25 per million connection minutes. Data transfer charges ($0.09 per GB) apply separately.

Source
AWS (Amazon Web Services): Are there contracts, termination fees, or commitments required for AWS?

No long-term contracts are required for AWS services. No termination fees apply once you stop using the service. Savings Plans provide optional 1- or 3-year commitments with discounted hourly rates, but you can revert to pay-as-you-go pricing anytime.

Source
AWS API Gateway: Is AWS API Gateway free?

New AWS customers receive 12 months of free tier access including 1 million REST API calls, 1 million HTTP API calls, and 1 million WebSocket messages plus 750,000 connection minutes per month. Starting July 15, 2025, new customers receive up to $200 in AWS Free Tier credits.

Source
AWS (Amazon Web Services): Does AWS offer a free tier?

AWS provides a free tier that offers hands-on experience with AWS products at no charge. The free tier allows new customers to try eligible services before committing to paid usage.

Source
AWS API Gateway: What is the price difference between HTTP and REST APIs?

HTTP APIs are significantly cheaper at $1.00 per million requests compared to REST APIs at $3.50 per million (first tier). REST API pricing decreases to $2.80 and $2.38 per million for higher volumes, while HTTP API pricing drops to $0.90 per million after 300M monthly requests.

Source
AWS (Amazon Web Services): How do I estimate my AWS costs?

AWS provides the AWS Pricing Calculator and Cost Explorer tool to estimate costs for single or multiple services. AWS also offers cost optimization recommendations, performance reporting, and budget alerts to help track and control spending.

Source
AWS API Gateway: How much does an API Gateway Portal cost?

API Gateway Portals require a base fee of $125 per month (includes 10 PortalProducts with 40 endpoints each) plus $12.50 per month for each additional PortalProduct beyond the included 10.

Source
Share

Related pages

Other head to heads