Softwr

APIs · head to head

AWS API Gateway vs Hetzner Cloud

AWS API Gateway logo

AWS API Gateway

APIs

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

From
Free
Rated
-
Hetzner Cloud logo

Hetzner Cloud

Cloud

Affordable cloud servers in Europe

From
Free
Rated
-

The short version

  • Each has a real cost: 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; Hetzner Cloud cost-Optimized plans are shown as currently unavailable
  • They diverge on capability: AWS API Gateway covers REST APIs, Hetzner Cloud covers Cloud servers.
  • Prices and features above were last checked on 30 August 2026.

Where they differ

Only the attributes on which AWS API Gateway and Hetzner Cloud actually diverge.

Attributes where AWS API Gateway and Hetzner Cloud differ
AttributeAWS API GatewayHetzner Cloud
PlatformsAWS CloudWeb, Api, Cli
CategoryAPIsCloud
Founded20061997

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

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 API Gateway

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

Only in Hetzner Cloud

  • Cloud servers
  • Block storage
  • Object storage
  • Load balancers
  • Networks
  • Firewalls
  • Floating IPs
  • Backups

What people use each for

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

AWS API Gateway

  • Fronting Lambda functions with an HTTP endpointnot Hetzner Cloud
  • REST and HTTP API management with throttling and keysnot Hetzner Cloud
  • WebSocket APIs for real-time clientsnot Hetzner Cloud
  • Private APIs reachable only inside a VPCnot Hetzner Cloud
  • Publishing a developer portal for API consumersnot Hetzner Cloud

Hetzner Cloud

  • Low-cost virtual servers for development and testingnot AWS API Gateway
  • European hosting with data held in Germany or Finlandnot AWS API Gateway
  • Workloads with heavy egress, where included traffic mattersnot AWS API Gateway
  • Self-hosting applications away from the hyperscalersnot AWS API Gateway

Where each one falls short

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

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

Hetzner Cloud

  • Cost-Optimized plans are shown as currently unavailable
  • The shared-resource tiers are positioned for variable usage and development rather than sustained production workloads
  • Regions are limited to Germany, Finland, the United States and Singapore, so latency to other markets is a real constraint
  • The uptime guarantee is 99.9 percent, below what the large hyperscalers offer on comparable services
  • Support is 24/7 by email, without a phone channel

Pricing, plan by plan

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

Hetzner Cloud

Free
  • CX11$3.29/month
    • 1 vCPU
    • 1GB RAM
    • 25GB SSD
  • CX21$6.59/month
    • 2 vCPU
    • 4GB RAM
    • 40GB SSD

Which should you pick?

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.

Choose Hetzner Cloud if

  • You need cloud servers.
  • You want to start without paying.
  • You work on Web, Api, Cli.
  • You also want block storage.

Questions people ask

Is AWS API Gateway or Hetzner Cloud better?
Neither clearly leads. AWS API Gateway starts at Free and Hetzner Cloud at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
Which is cheaper, AWS API Gateway or Hetzner Cloud?
AWS API Gateway starts at Free and Hetzner Cloud at Free.
Does AWS API Gateway or Hetzner Cloud run on more platforms?
AWS API Gateway runs on AWS Cloud. Hetzner Cloud runs on Web, Api, Cli.
Can I use AWS API Gateway for free?
Both have a free tier, so you can try either at no cost before committing.
What is AWS API Gateway best used for?
AWS API Gateway is most often used for fronting lambda functions with an http endpoint, rest and http api management with throttling and keys, websocket apis for real-time clients, private apis reachable only inside a vpc. Of those, fronting lambda functions with an http endpoint and rest and http api management with throttling and keys are not what Hetzner Cloud is typically brought in for.
What can AWS API Gateway do that Hetzner Cloud cannot?
AWS API Gateway covers REST APIs, WebSocket APIs, HTTP APIs, Lambda. Hetzner Cloud covers Cloud servers, Block storage, Object storage, Load balancers.

Answered from the vendors’ own pages

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
Hetzner Cloud: What types of cloud plans does Hetzner Cloud offer?

Hetzner Cloud offers Shared Resource plans (Cost-Optimized and Regular Performance) for development and testing, and Dedicated Resource plans (General Purpose) for business applications. Plans are available with a price calculator on their website.

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
Hetzner Cloud: What is included with Hetzner Cloud servers?

Every cloud server comes with free one-click apps like Docker, WordPress, Nextcloud, and GitLab. All servers include stateful firewalls at no additional cost, networking capabilities, APIs, and CLI tools.

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
Hetzner Cloud: Where are Hetzner Cloud servers located?

Hetzner Cloud servers are available in Germany, Finland, Singapore, and the USA, with data centers in Falkenstein, Nuremberg, Helsinki, Hillsboro (Oregon), Ashburn (Virginia), and Singapore.

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
Hetzner Cloud: What uptime guarantee does Hetzner Cloud provide?

Hetzner Cloud provides an SLA with 99.9% guaranteed uptime and clearly defined credits in case of malfunction. They also offer 24/7 support by email for business-critical workloads.

Source
Share

Related pages

Other head to heads