I once asked my salesman if I lost my key it would cost about 400$ from Lexus to e replaced. I lso asked if I bought it online, if Lexus would be able to program it. He said yes.
Ask your dealer/service dept just in case and if so, they will charge you for programming and figure a 1 hr labor charge ($100+). Good luck.