Batch API Always 429

,

No matter when the requests made, i always get 429 error with this request:

```

curl https://generativelanguage.googleapis.com/v1beta/models/gemini-2.5-flash-lite:batchGenerateContent
-H “x-goog-api-key: TOKEN”
-X POST
-H “Content-Type: application/json”
-d ‘{
“batch”: {
“display_name”: “my-batch-requests”,
“input_config”: {
“requests”: {
“requests”: [
{
“request”: {
“contents”: [
{
“parts”: [
{
“text”: “Tell me a fun fact about the ocean.”
}
]
}
]
}
},
{
“request”: {
“contents”: [
{
“parts”: [
{
“text”: “What is the capital of Finland?”
}
]
}
]
}
}
]
}
}
}
}’


Hi @NeonByteNomad,

Are you on the Free Tier or Paid Tier? Batch mode for the gemini-2.5-flash-lite model isn’t available on the free tier because batch API usage requires billing to be enabled and incurs charges. See https://ai.google.dev/gemini-api/docs/pricing#gemini-2.5-flash-lite.

Thank you!

So the error message is misleading.