It depends on where you live.
A visit to a Toyota dealer should tell you how much a new cord will cost.
Then call around to see if you can find an independent shop that knows what a plug-in hybrid IS.
The cord or the connector usually is the problem.
I think the actual charger is inside the car.......and you probably don't want to even think about the cost to replace that.
Recently, the red triangle light on the charging cable (not the dashboard) came on and it would not charge the car’s battery. The service manager at my Toyota dealer said the only problem he had heard about was a loose ground prong on the cable plug. Sure enough it was very slightly loose. I plugged it back in (I had done this before) and this time it worked. The plug is disassemblable so the next time I might take it apart. It was suggested that I might just replace the entire plug, but that would obviously void the warrantee, assuming it has one.