We've had our pyrenees a couple of years. She's been to the vet once, for her rabies shot & whatever other shot is recommended. (Has to have a rabies shot in NY, and NY only recognizes shots given by vets.) She's due to go back to the vet in mid July for another rabies shot. (Every other year, I believe.) I expect the visit to the vet, with a checkup, to cost about $75. The puppy of the household, 1 year old, has been to the vet once, for his rabies shot (plus he got distemper & whatever else is recommended (there are 3 of them mixed together in one shot.)
His cost was $140, which included enough flea stuff for all three of our dogs for the summer. We might pay to get him fixed. We're probably not going to get the pyrenees fixed (and may even breed her soon.) He can't breed her (that would be a miracle) so I'm not wasting money for something that's not going to happen. For dog food, for the three dogs combined, I spend about $50-$75 a month. They don't even know what soft dog food is; their teeth are in excellent shape. We split most of our leftovers among the three dogs, according to how much they should eat - more for the big dogs, less for the little dog. Since we're rural and don't have local garbage pickup (unless I pay through the nose), I pay for a $90 annual dump pass to go to the landfill or one of the transfer stations. It's a 15 mile trip. So, with no food in the trash to spoil or smell, I can make fewer trips. Thus, feeding the leftovers actually saves me money.
So, it averages to less than $50 per dog per year for the vet (we go every other year), and $25 per month for dog food - $350 annually. That's $350 per year. Plus a few other costs - dog collars (and as they grow, you keep buying new ones 2 or 3 times), leashes, food dishes, etc. We've stopped buying those stupid squeek toys - the dogs tear the squeeker part out within days. Most of the cheap toys are ruined pretty quickly. And, there are few toys they enjoy more than sticks/small logs, old shoes, etc.
Over the past 2 decades, our vet bills for the dogs (and cats) for other than routine care have totalled about $3000. That includes 2 dogs for porcupine quills, 1 dog for cancer surgery, the same dog a couple months later for euthanasia & cremation (cancer was a very aggressive form & had probably metasticized. It was February - not going to bury something around here that time of year). And, a cat who the first vet screwed up on - he gave her the vaccine for feline leukemia when we got her. We didn't know (at that time), and unfortunately the vet didn't know (idiot), that if they've already been exposed, perhaps by their own mother, then the shot does nothing. 3 or 4 days at that vet for care, then transferred to one of the regional veterinary "hospitals." Before we were even home from dropping the cat off at the second place, they had left a message on the answering machine - feline leukemia, tumor. We could have prolonged the inevitable by sticking a syringe into the cat daily (which would have been painful) and draining the thoracic cavity of fluids since the tumor was putting pressure against the thoracic duct. We chose euthanasia - otherwise the cat would have been suffering just so we could prolong the time she was with us. Again, wintertime so euthanasia + cremation costs.
Not all dogs/cats will inevitably end up with costs outside routine care. Our previous cat who died last summer in her mid teens, nor either of our current cats who are a few years old have been to the vet for other than shots. None of our three dogs, oldest is in his early teens, have been to the vet for other than routine care. Oh, and the porcupine quills for the oldest. $160. And only because that made my wife feel better; I was half done pulling them out before we took him, and none were inside the mouth.