Modal’s @batched feature allows you to accumulate requests and process them in dynamically-sized batches, rather than one-by-one.