Skip to main content

G8 vs AWS API Gateway: your own hosts or a managed service

Where G8 and Amazon API Gateway run, how each is licensed, and what each does for environments, identity, audit, AI traffic and MCP, from AWS documentation.

Facts read from Amazon Web Services's own documentation on
In short

G8 or AWS API Gateway: the short answer

G8 installs in your own infrastructure, on OpenShift, Kubernetes, Docker or virtual machines, with the console beside its gateway clusters, Active Directory sign-in and no vendor connection. Amazon API Gateway is a fully managed service in AWS Regions. Choose G8 when the gateway must run on your hosts, offline if needed, with LDAP, SAML and AI traffic rules built in. Choose Amazon API Gateway when your APIs and callers are in AWS and nobody should run a gateway.

Side by side

What each product does, as its vendor documents it

The AWS API Gateway column repeats what Amazon Web Services publishes, with the page it comes from; where the vendor does not say, the cell says so. The G8 column links to the article where each point was done on a real install, with screenshots. Tell us if something has changed.

DimensionG8AWS API Gateway
Control plane The console, its management API and its PostgreSQL database run in your network beside the gateway clusters they manage; no vendor-hosted part, no account with a vendor, nothing sent out.seen on a real install (G8 article with screenshots) An AWS service run by AWS in AWS Regions; the vendor calls it a fully managed service. No self-managed or on-premises edition is documented.aws.amazon.com (source, opens in a new tab)
Air-gapped operation Yes, by design: the images come from your registry, the license is a signed file checked locally, and the server never calls home; the OpenShift install is documented step by step.seen on a real install (G8 article with screenshots) Not stated by vendor. API Gateway is not among the services AWS lists as running locally on AWS Outposts, and Outposts connect to their AWS Region through a service link.aws.amazon.com (source, opens in a new tab)
Where it installs OpenShift and OKD from one Helm chart under the default restricted profile, Kubernetes (tested with k3s), Docker Compose, Linux virtual machines; one install, however many Environments.seen on a real install (G8 article with screenshots) Not installed by the customer; it runs in AWS Regions. Private REST APIs are callable only from an Amazon VPC through interface VPC endpoints, and from on-premises networks over Direct Connect.docs.aws.amazon.com (source, opens in a new tab)
Licensing and price list Enterprise is licensed per gateway node and node type on a quote, support included; no public price list. Community manages one Environment with no fee and no node count.seen on a real install (G8 article with screenshots) Pay per use: REST and HTTP APIs per API call received plus data transferred out, WebSocket APIs per message and per connection minute, an optional REST cache charged per hour by cache size. Public price list: yes.aws.amazon.com (source, opens in a new tab)
Free edition and open source The Community edition is free, obtained from the G8 team, and manages one Environment with the same console. G8 is not open source.seen on a real install (G8 article with screenshots) A Free Tier for new AWS customers of one million REST calls, one million HTTP calls and one million WebSocket messages a month for 12 months; accounts created from 15 July 2025 get the credit-based AWS Free Tier instead. Open source: not stated by vendor.aws.amazon.com (source, opens in a new tab)
Audit of configuration changes Every change passes a role check and is written as an audit record before the engine applies it; the record carries the actor, the request id, the IP address and the object before and after with secrets masked on both sides. Kept 365 days by default in your PostgreSQL, with CSV export and a log line for your SIEM.seen on a real install (G8 article with screenshots) AWS CloudTrail logs every API Gateway management action, except TestInvokeAuthorizer and TestInvokeMethod, with who made the request. Event history keeps 90 days; longer needs a trail or CloudTrail Lake.docs.aws.amazon.com (source, opens in a new tab)
Refused changes in the audit log Yes: a change a role forbids is a Denied record and one the engine refuses is a Failed record with the engine's reason, each with the actor, the request id and the IP address.seen on a real install (G8 article with screenshots) Yes: a CloudTrail event for a refused call carries an errorCode and an errorMessage.docs.aws.amazon.com (source, opens in a new tab)
Console roles and directory Sign-in with local accounts or Microsoft Active Directory; directory groups map to four built-in or custom roles, View or Manage per resource, assigned per Environment. A Viewer sees read-only forms, and a save attempt is refused with 403 and recorded.seen on a real install (G8 article with screenshots) AWS IAM roles and policies control who can create and manage APIs. Active Directory or LDAP group mapping: not stated on the API Gateway pages.docs.aws.amazon.com (source, opens in a new tab)
Several environments from one console One console, several gateway clusters: each Environment has its own engine, log store, Prometheus, members and retention, and a Protected Environment asks for the resource name before a destructive action.seen on a real install (G8 article with screenshots) Stages: a logical reference to a lifecycle state of an API, such as dev or prod, to which a deployment, a point-in-time snapshot, is attached; REST API stages carry stage variables that point each stage at different backends.docs.aws.amazon.com (source, opens in a new tab)
Promotion between environments Copy to environment from the console: the preview names the dependencies the target lacks, the secrets left behind and the lines that change, nothing is written until you create, and the copy is an audit record that names its source.seen on a real install (G8 article with screenshots) Stages within one API, 10 per API by default; moving an API to another account or Region is an OpenAPI export and an import that overwrites or merges, and stage variables are not intended for credentials. A preview of what an import changes: not stated by vendor.docs.aws.amazon.com (source, opens in a new tab)
AI gateway features On the same Route as the REST API, in the same console: ai-proxy-multi routes to OpenAI, Anthropic, Azure OpenAI, Amazon Bedrock, Google Gemini, DeepSeek and OpenAI-compatible endpoints with fallback by priority and weight; ai-rate-limiting counts tokens per Consumer; ai-prompt-guard, content moderation and Lakera Guard; ai-cache exact and semantic.seen on a real install (G8 article with screenshots) Not stated by vendor as API Gateway features. AWS documents token rate limits in a separate service, Amazon Bedrock AgentCore Gateway, and publishes a reference pattern that puts API Gateway in front of Amazon Bedrock.aws.amazon.com (source, opens in a new tab)
MCP for AI agents openapi-to-mcp serves an API's OpenAPI operations as MCP tools on a Route, behind the Route's key-auth, per-Consumer limits and masked request records; mcp-bridge fronts an existing MCP server the same way.seen on a real install (G8 article with screenshots) Since 2 December 2025 a REST API stage can be added as a target of Amazon Bedrock AgentCore Gateway, which exposes it to agents as MCP tools. Only public REST APIs in the same account and Region; an API behind an Amazon Cognito user pool or a Lambda authorizer cannot be reached by MCP clients.docs.aws.amazon.com (source, opens in a new tab)
Identity for API callers OpenID Connect, LDAP, SAML, Keycloak authorization, JWT, API keys, HMAC-signed requests, basic authentication, mutual TLS; several on one Route with multi-auth, each a form drawn from the engine's own schema with a Raw JSON tab beside it.seen on a real install (G8 article with screenshots) IAM authorization (Signature Version 4 and 4a), Lambda authorizers, Amazon Cognito user pools (REST APIs), JWT authorizers for OpenID Connect and OAuth 2.0 (HTTP APIs), mutual TLS on a Regional custom domain, resource policies. AWS states that OAuth 2 and HTTP Basic authentication are supported via Lambda authorizers, code you write, and points a SAML scheme to a Lambda authorizer as well. API keys serve usage plans; the vendor says not to use them for authentication or authorization.docs.aws.amazon.com (source, opens in a new tab)
Analytics and request records Analytics (requests, status share, p95, top Routes, Upstreams and Consumers), Traffic Explorer (one record per request, with gateway and upstream timing and the node that answered) and Alerts read from your own Prometheus 3.15 or later and Elasticsearch 8.15 or 9 or OpenSearch 2.18 or 3. Nothing is sent to a vendor.seen on a real install (G8 article with screenshots) Amazon CloudWatch metrics, alarms, access and execution logs in a format you define, Amazon Data Firehose as an access-log destination, and AWS X-Ray tracing. AWS notes that some 413, 431, 429, 400 and 500 answers might not generate logs and metrics, and recommends not using Data tracing, which logs request and response data, for production APIs.docs.aws.amazon.com (source, opens in a new tab)
Masking of request records Headers, query parameters and body fields you name are masked by the gateway before a record is written, so the log store never holds a token; authorization, cookie and API-key headers are masked by default, and bodies are stored only when you turn capture on.seen on a real install (G8 article with screenshots) Access logs in a format you define from $context variables; body logging is Data tracing, which AWS recommends not to use for production APIs because it can result in logging sensitive data. Masking of a header or field before logging: not stated by vendor.docs.aws.amazon.com (source, opens in a new tab)
Alerts on errors and response time Alerts on error rate and response time in the console, read from your Prometheus and sent by email, with the audit entries drawn as markers on the request chart.seen on a real install (G8 article with screenshots) CloudWatch alarms on the API's CloudWatch metrics; AWS lists access and execution logging with the ability to set alarms, and metrics per method are extra-cost and switched on explicitly.docs.aws.amazon.com (source, opens in a new tab)

Which one fits

Choose G8 when
  • Your gateway has to run in your own data centre or on OpenShift, including a network without internet access, and the console has to be there too.
  • Your backends are spread across AWS, other clouds and on-premises hosts, and one console should manage the gateway in front of all of them.
  • Console sign-in has to come from Microsoft Active Directory, with directory groups mapped to roles per Environment, and every configuration change, refused ones included, has to be in your own audit log.
  • You route traffic to language-model providers and need per-Consumer token budgets, prompt rules and provider fallback on the same gateway as your REST APIs.
  • Your API callers sign in with LDAP, SAML or Keycloak, or you need several identity methods on one Route.
Choose AWS API Gateway when
  • Your APIs and their callers are in AWS, and you want a gateway nobody on your team installs, patches or scales.
  • You pay per API call with a public price list, start small under the Free Tier and have no node count to plan.
  • Your authorizers are already IAM, Amazon Cognito or Lambda functions, and you want the gateway to fit the rest of the AWS account: CloudTrail, CloudWatch, X-Ray, VPC endpoints.
  • You expose REST APIs to agents through Amazon Bedrock AgentCore Gateway and the rest of your agent stack is on Bedrock.

Where the control plane is

Amazon API Gateway is an AWS service: you create APIs in the console or the API, and AWS runs them in the Region you chose. There is no gateway process on your hosts. A private REST API is one your VPC can reach through an interface endpoint, and your on-premises network over Direct Connect, but the gateway itself stays in the Region.

G8 is the other way round. The console, its PostgreSQL database and each G8 engine cluster run where you install them, and the console reaches the engines over their admin interface inside your network. Nothing calls out to a vendor, which is why an install from a local registry works without internet access.

What you pay for

The units differ. Amazon API Gateway bills per API call received and data transferred out for REST and HTTP APIs, per message and connection minute for WebSocket APIs, and per hour for the optional cache, all on a public price list. G8 Enterprise is licensed per gateway node and node type on a quote, with no public list; the Community edition manages one Environment with no fee. Both pages say what the unit is; neither can say which comes out lower for you without your traffic and your node count.

The audit record

Both keep one. AWS CloudTrail records every API Gateway management action with the identity that made the request, keeps 90 days in Event history, and longer when you create a trail or a CloudTrail Lake event data store. G8 writes the record first: a change passes the role check, is written as an audit record with the object before and after, and only then reaches the engine; a change a role forbids or the engine refuses is recorded as well. Records stay 365 days by default in your own database.

AI traffic and MCP

Amazon API Gateway has no LLM routing, token limit, prompt rule or semantic cache of its own. AWS places those in Amazon Bedrock AgentCore Gateway, a separate service, and publishes a reference pattern that puts API Gateway in front of Amazon Bedrock. For MCP, a REST API stage becomes a target of AgentCore Gateway, which serves the API to agents as MCP tools; the vendor limits this to public REST APIs in the same account and Region, and APIs behind Cognito user pools or Lambda authorizers are not reachable by MCP clients.

In G8 these are Plugins on a Route. ai-proxy-multi routes to several providers with fallback, ai-rate-limiting counts tokens per Consumer, ai-prompt-guard and the moderation Plugins judge the prompt, ai-cache answers repeated prompts, and openapi-to-mcp serves the Route’s OpenAPI operations as MCP tools behind the Route’s own authentication and limits. What is an AI gateway? and Securing MCP tools show both on a real Route.

Moving a change and hearing about a failure

In Amazon API Gateway a stage is a named reference to a deployment inside one API; another account or Region means an OpenAPI export and an import that overwrites or merges. Alarms are CloudWatch alarms on the API’s metrics, and per-method metrics cost extra. AWS also notes that some 413, 431, 429, 400 and 500 answers might not generate logs and metrics. G8 copies a Route between Environments from its console with a preview, writes one record per request with masking before it leaves the gateway, and raises alerts on error rate and response time from your Prometheus, by email.

Questions

Questions about G8 and AWS API Gateway

Can Amazon API Gateway run in our own data centre?
The vendor documents it as a fully managed service in AWS Regions, and it is not among the services AWS lists as running locally on AWS Outposts. Private REST APIs can be reached from an on-premises network over Direct Connect, but the gateway itself stays in the Region. G8 installs on your hosts, OpenShift included, and works without internet access.
Which one is cheaper?
Neither page can tell you that. Amazon API Gateway has a public price list by API call, message and connection minute; G8 Enterprise is licensed per gateway node and node type on a quote. Which is lower depends on your call volume and on how many gateway nodes you would run. G8 Community manages one Environment with no fee.
Does each product keep an audit trail of configuration changes?
Yes, differently. AWS CloudTrail logs every API Gateway management action with the identity that made it; Event history keeps 90 days and longer retention needs a trail or CloudTrail Lake. G8 writes each change as an audit record before the engine applies it, records refused attempts too, and keeps the records 365 days by default in your database.
Can we expose an API to AI agents as MCP tools with either product?
Yes. In AWS a REST API stage becomes a target of Amazon Bedrock AgentCore Gateway, for public REST APIs in the same account and Region, and not behind Cognito or Lambda authorizers. In G8 the openapi-to-mcp Plugin serves the OpenAPI operations of a Route as MCP tools on the same gateway, behind the Route's own authentication and limits.
Does Amazon API Gateway have token limits or prompt rules for LLM traffic?
Not as API Gateway features. AWS documents token rate limits in Amazon Bedrock AgentCore Gateway, a separate service, and a reference pattern that places API Gateway in front of Amazon Bedrock. G8 has ai-rate-limiting, ai-prompt-guard, content moderation, ai-cache and provider fallback as Plugins on a Route.
Can our Active Directory groups decide who may change the gateway?
In G8, yes: sign-in with Microsoft Active Directory, directory groups mapped to roles, and a role limited to one Environment. For Amazon API Gateway the pages document AWS IAM roles and policies; Active Directory or LDAP group mapping is not stated on them.
Can our API callers sign in with LDAP, SAML or basic authentication?
In Amazon API Gateway those are code you write: AWS states that OAuth 2 and HTTP Basic authentication are supported via Lambda authorizers and points a SAML scheme to a Lambda authorizer too; JWT authorizers exist for HTTP APIs with RSA-based algorithms. G8 ships ldap-auth, saml-auth, basic-auth, hmac-auth and openid-connect as Plugins, and multi-auth accepts several on one Route.
How do we move a change from test to production?
Within one API, a stage is a named reference to a deployment, and a REST API can run a canary release. Moving an API to another account or Region is an OpenAPI export and an import that overwrites or merges; a preview of the import's changes is not stated on the pages. In G8, Copy to environment shows the missing dependencies, the dropped secrets and a line diff before anything is written.

Sources

Every AWS API Gateway statement above comes from one of these pages, read on the date shown.

Next step

See G8 in a demo

We’ll show you the console with APIs and AI traffic like yours, and answer the questions these articles leave open.

  1. 01Demo
  2. 02Proof of conceptOn Docker for a quick start, or on the infrastructure you plan to run G8 on.
  3. 03LicenseWe prepare a quote for your edition and nodes, and you receive a signed license file.