https://en.wikipedia.org/wiki/Economic_history_of_India
“According to economic historian Angus Maddison in his book Contours of the world economy, 12030 AD: essays in macro-economic history, India had the world’s largest economy during the years 1 AD and 1000 AD.[17]”
Keep in mind though, during that time period "India" was little more than a geographic expression. See Middle kingdoms of India.