If you can get a used fob with the right part number & frequency and have a new blade cut (some locksmiths can do this) this might save you a litle bit.
The charge to code this is going to be 30 minutes labour at a dealer; some indies can do this too.