Post-op meds question

We just got through the first post-op week + a few days and my dog is getting his stitches out tomorrow! The past week both flew by and felt like an eternity at the same time. We'll definitely consult with our vet about continuing meds, but I'm just curious about how long dogs typically stay on pain killers post-op? We got a 10 day course of gabapentin and they said that it’s okay to just stop it when we run out and see if he's still in pain. 10 days of pain killers after losing a leg seems pretty short to me and I don't think that I want to try this out without having some extra painkillers on hand just in case! Just curious to hear what others have experienced.