I have several of those little solar stakes and they last pretty well. There are some out back that have been out year-round for 3 or 4 years and they're still "glowing" strong.
But I also have some that died after a year, too. These were really cheap: a box of 3 from Harbor Freight on sale for $13.95 a box.