
There are a few ways to implement monetization of the API Gateway:
You issue API consumers API keys and they pay for a usage plan that meets their consumption level needs. As the API Gateway enforces usage plans, there is no additional tooling necessary. You may consider additional visualization of usage plan utilization, see sidebar for a link to an example implementation.
Note: You can sell your usage plans through AWS Marketplace, see documentation for details.
This approach is based on API access control and does not require additional modifications to the logging or reporting. Consumers pay for a product they chose based on their API needs, and API allows or denies access to the product based on the client credentials. See Security lesson for more details on access control. For example, professional version users would have access to a subset of APIs that enterprise version users have.
Here, you would need to implement reporting, which allows you to see consumption breakdown per client. You can use API Gateway access logs to track requests and process them with Amazon Athena or Amazon Glue. Also, some of the partner solutions (e.g. Moesif) provide this type of reporting "out of the box".
You can sell access to your data via APIs on AWS Data Exchange. See product page for more details.
You may consider AWS partner solutions that enable API monetization: