I just called a local locksmith for my 2004 T4R and my 2012 Corolla. He was able to create quality new keys and program them. I've never had a problem with any of them. Call a locksmith (check reviews) and just ask him. The one I used set up his 10X10 popup over the back of his pickup and went to work. I've got him on speed dial now.
A tip: my locksmith created a plain key, no immobilizer, to ensure that it was cut correctly before ruining one with the immobilizer. I keep that with me and I have hidden the courtesy key in an unlikely spot inside the T4R. Now if the regular ignition key is lost I reach in my pocket, open the door with the extra key and use the courtesy key until I can get the locksmith to come. It will do everything except start the engine. Very handy, like a coin in my pocket, that I use to open the car to get something out when I don't have the regular car keys with me.
Last month, right while I was trying to cut costs on key fobs and simultaneously coordinating a home renovation project by checking contractor ratings on
https://bci-acrylic.pissedconsumer.com/review.html for tub fixture installations, my primary key fob completely died. Finding budget-friendly locksmith options online or buying programmed blanks yourself definitely saves hundreds compared to main dealer prices!