Being a student of IIT Gandhinagar, I can guarantee that choosing this institute will be the best decision of your life.
Even though both institutes are good, one has the tag of being an IIT, and the other ranks #9 on the NIRF ranking scale; however, they can't be compared this way. One of my friends is from IIT Gandhinagar, I’ll describe it for you.
Career-
Internships
Infrastructure-
Moreover, there are no hostel timings or restrictions on movement for both boys and girls. The course structure is also very flexible and focuses more on an individual's interest and expansion of skills. IIT Gandhinagar is a new IIT and is still trying to establish its reputation as an IIT, whereas NIT Trichy has an excellent reputation that matches that of 6 of the old IITs. Some of my friends claim that it provides better funding for research.