I get new ones every 6 months. If finances weren't a factor, I'd get them every couple of months probably.
I've found that Superfeet Berry insoles seem to extend the life of my gym shoes, and make them more supportive in general. However, they cost almost as much as buying a new pair of shoes.