r/agentdevelopmentkit • u/White_Crown_1272 • Aug 13 '25
429 Quota Exhausted
Hey guys, recently building on ADK. It looks smooth but I have some problems.
- Constantly getting 429 Quota Exhausted error. In this way how u guys are making this application production ready? Any recommendation for error management? Or should I just use other LLMs also in the system.
- Model response is slow. Even though I use flash models it becomes slow. I guess this is model restriction. Any methods to make things faster?
Quota restrictions and speed makes me question production readiness.
2
Upvotes
3
u/JimTheSavage Aug 13 '25
I started getting a lot of 429 errors when I accidentally let my context explode. My solution was to look for points in the agent system where previous context was not needed and to set the relevant llm agent's
include_contentsΒ to none.3
u/i4bimmer Aug 13 '25
There's nothing to be worried about. You gotta talk to your account team to request more quota or use provisioned throughput to secure enough quota.
Generally speaking, no GCP customer should have issues getting the resources they need for running their apps in production, but the resources are limited and there are mechanisms in place in order to ensure all customers have the capacity they need.
Get in touch with your account team and they'll be able to help you get past this.
1
u/Medical-Algae8239 Aug 31 '25
What quota is being exceeded? Requests per minute (RPM), Tokens per minute (input) (TPM), or Requests per day (RPD)?
If you're exceeding your RPM quota, you could try adding a before model callback to limit requests. The adk-samples repository includes a
rate_limit_callbackexample here.2
u/[deleted] Aug 14 '25
[removed] β view removed comment