I think the cap has been set at 3000, original gyms with over this number are having it slowly reduced over time to this cap.
I was 15-6, made the Semi-finals, won both TV games and beat my rival twice, made it to the round of 128 in the cup and I gained 138 STH.