
AWS is changing the pricing model for Cognito Machine-to-Machine (M2M) Client Credentials. Starting May 2025, the service will no longer be free of charge.
Subtitles are available in English, French and Spanish. Click here to get the full masterclass.
New Prices:
Token Generation Pricing
Token Requests per Month | Description | Range Price | New Price | INCREASED Unit Price |
|---|---|---|---|---|
Tier 1 | USD 0.00 per client credential flow (M2M) token request in tier 1 | 1-250,000 Tokens | $2.25 per 1000 tokens | 0.002250 |
Tier 2 | USD 0.00 per client credential flow (M2M) token request in tier 2 | 250k-5M Tokens | $1.5 per 1000 tokens | 0.001500 |
Tier 3 | USD 0.00 per client credential flow (M2M) token request in tier 3 | 5M+ Tokens | $1.125 per 1000 tokens | 0.001125 |
App Client Pricing
App Client | Description | Range | New Price |
|---|---|---|---|
Tier 1 | USD 0.00 per client credential flow app client, pro-rated by the second, in tier 1 | 1-100 Clients | $6 per app client |
Tier 2 | USD 0.00 per client credential flow app client, pro-rated by the second, in tier 2 | 101-500 Clients | $3 per app client |
Tier 3 | USD 0.00 per client credential flow app client, pro-rated by the second, in tier 3 | 500+ Clients | $1.5 per app client |
How to identify?
In AWS Console, go to the Bills service, select May 2025, then the Cognito section. Compare with previous month.
From our Cost Optimizations Report, check at COGNITO_New_Costs section.
How to fix?
Reuse Cognito Tokens to reduce the number of token requests.

Set caching keys to minimize token generation.

With API Gateway token caching, your app can scale in response to events larger than the default request rate quota of Amazon Cognito OAuth endpoints. Read Develop Guide.
If the resource is provisioned automatically via IaC (such as CloudFormation or Terraform), update the corresponding code to reflect the changes.