REST API with 1000 query templates

Yes. Some queries are reused in many pages but presented in different ways in the front end. What is the benefits for storing outside in this case?