Question: how long before my us h1b visa expires can i travel?
Answer: The visa is only for entry, so you can travel to and enter the US on the last day that the visa is valid, and then stay as long as the CBP (immigration) officer says you can... as an ordinary tourist, up to six months.