# REST APIs Used Where HTTP APIs Suffice in API Gateway

Canonical: https://www.pointfive.co/efficiency-hub/inefficiencies/rest-apis-used-where-http-apis-suffice-in-api-gateway

Amazon API Gateway offers two RESTful API products. REST APIs carry the full feature set, while HTTP APIs are, in AWS's own words, designed with...

By: PointFive

Updated: 2026-09-28

[Cloud Efficiency Hub](https://www.pointfive.co/efficiency-hub) 

The short version

Amazon API Gateway offers two RESTful API products.

PointFive Research

Cloud cost research at PointFive

AWS service

[AWS API Gateway](https://www.pointfive.co/efficiency-hub/cloud-services/aws-api-gateway)

Category

[Networking](https://www.pointfive.co/efficiency-hub/service-category/networking)

Reference

CER-0355

Type

Suboptimal Tier or SKU

## Explanation

Why the waste happens and who it affects.

REST APIs carry the full feature set, while HTTP APIs are, in AWS's own words, designed with minimal features so they can be offered at a lower price. Many teams still create REST APIs by default, often because older tutorials, frameworks and IaC templates predate HTTP APIs, and then front simple Lambda proxy or HTTP proxy backends with them without using any REST-only capability.

The cost gap scales with request volume. AWS pricing examples show REST API calls at $3.50 per million for the first 333 million requests a month (US East, N. Virginia) and HTTP API calls at $1.00 per million for the first 300 million, so a high-volume API that only needs routing, authorization and CORS pays about 3.5 times more per request than it has to.

## Billing model

The pricing dimensions that drive this cost.

Both products bill per API call received plus data transferred out, with no hourly charge for the API itself.

REST API requests

Billed per million API calls received, in volume tiers, at a higher per-request rate than HTTP APIs

HTTP API requests

Billed per million API calls received at a lower rate, with each request metered in 512 KB increments

REST API cache

Optional cache billed per hour by provisioned cache size, available only on REST APIs

Data transfer out

Billed per GB at EC2 data transfer rates for both products

## How to detect

4 checks to find it in your estate.

- List REST APIs with apigateway get-rest-apis and rank them by the CloudWatch Count metric (AWS/ApiGateway namespace, ApiName and Stage dimensions) to find the highest-volume APIs

- For each high-volume REST API, check whether it uses any feature HTTP APIs lack: API keys and usage plans, per-client throttling, AWS WAF, resource policies, private or edge-optimized endpoints, request validation, request body transformation, caching, mock integrations, response streaming, canary deployments, execution logs or X-Ray tracing

- Flag APIs whose integrations are all Lambda proxy or HTTP proxy and whose authorization is IAM, a Lambda authorizer or Cognito, since these map directly to HTTP API features

- Review API Gateway spend in Cost Explorer grouped by usage type to see how much of the bill comes from REST API request charges

## How to fix

5 ways to remove the waste.

- Export the eligible REST API as an OpenAPI 3.0 definition and import it as an HTTP API with apigatewayv2 import-api, then review the import info and warnings for properties HTTP APIs ignore

- Replace REST-only constructs where equivalents exist, for example use a JWT authorizer for Cognito or OIDC tokens and parameter mapping instead of simple request parameter transformations

- Move the custom domain API mapping to the new HTTP API, run both in parallel while you compare errors and latency, then delete the old REST API stage

- Keep REST APIs where a REST-only feature is a real requirement, such as private APIs, WAF on the API, usage plans with API keys, or response caching, and document the reason so the choice is not revisited each review

- Default new serverless APIs to HTTP APIs in templates and IaC modules unless a REST-only feature is needed

## Documentation

Vendor references for pricing and configuration.

- [Amazon API Gateway Pricing  aws.amazon.com](https://aws.amazon.com/api-gateway/pricing/)

- [Choose between REST APIs and HTTP APIs  docs.aws.amazon.com](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html)

- [Use OpenAPI definitions for HTTP APIs in API Gateway  docs.aws.amazon.com](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-open-api.html)

- [Amazon API Gateway dimensions and metrics  docs.aws.amazon.com](https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-metrics-and-dimensions.html)

## Related inefficiencies

[Browse the library](https://www.pointfive.co/efficiency-hub)

- AWS CloudFront  CER-0352

### [CloudFront Price Class Broader Than the Audience](https://www.pointfive.co/efficiency-hub/inefficiencies/cloudfront-price-class-broader-than-the-audience)

By default, a CloudFront distribution delivers content from its entire global network of edge locations, which is Price Class All. CloudFront pay-as-you-go rates depend on the geography of the edge that serves the request, and data...

Networking

- AWS NAT Gateway  CER-0325

### [Excessive NAT Gateway Data Processing Charges from Unoptimized Traffic Routing](https://www.pointfive.co/efficiency-hub/inefficiencies/excessive-nat-gateway-data-processing-charges-from-unoptimized-traffic-routing)

NAT Gateway charges a per-gigabyte data processing fee on all traffic that passes through it - in either direction - regardless of whether the destination is the public internet or another AWS service in the same region. This per-GB charge...

Networking

- AWS ELB  CER-0187

### [Elastic Load Balancer with Only One EC2 Instance](https://www.pointfive.co/efficiency-hub/inefficiencies/elastic-load-balancer-with-only-one-ec2-instance)

An ELB with only one registered EC2 instance does not achieve its core purpose-distributing traffic across multiple backends. In this configuration, the ELB adds complexity and cost without improving availability, scalability, or fault...

Networking

---
Source: the public page above. Product screenshots and illustrative interfaces are examples, not live customer data.

