costs are going to vary pending where your located at and who's doing the work,
I know a dealer recently quoted my buddy to rebuild his new holland LX 885 motor at $13,500 to do it?
I know he plans to do the work himself and think he found a rebuild kit for about 2 grand! so he will be saving a lot of $$ doing work himself , as to paying someone.
also keep in mind if your not doing the work yourself, you will also have costs of hauling machine to and back from who ever is doing work,
so if you don't have truck/trailer to do so, this adds to costs
from what I seen by doing a quick search is a rebuild kit for your motor is about $ 1,000, to 1500.00+ pending where you buy it at!
https://www.heavydutykits.com/product/rebuild-kit-for-kubota-v1702-engine-indirect-injection/
https://rudysdieselengineparts.com/product/bobcat-kubota-v1702-overhaul-kit/
every motor is different to get out and work on, , so this is just a ball park on a like job from a recent quote by a dealer in my friends area! above, is based on HIS machine/model, not your's
a private shop might be cheaper than dealer, but these days there pretty close, or some times higher, were in high costs for repair times anymore , since COVID happened, it seems everything has crazy costs to them, sadly!
but it show's you recent costs quote for a rebuild!
NOW as for a re manufactured motor seems to be about $6675.00 and UP for your machine too, if you went that way over a rebuild, , maybe a faster repair job, but will costs in labor to have removed/installed if your not doing the work yourself
https://www.countrysalesandservice.com/kubota-v1702br-bobcat-743-skid-loader/
https://www.tractorpartsasap.com/engine-assembly-complete-drop-in-bobcat-210289.html
So this is why I said, some times, the costs to repair can maybe be more than the finished product will be worth, pending on rest of condition of machine,
because as all machines get older, so do the rest of the parts on them, and things start to go bad one after another some times, the domino effect,
as in fix this, then next thing goes and so on and before long you sank a LOT of money into something, so IMO< you need to be honest in what your going to repair replace when machines get up there in either age or hours used,
and to be clear, I am NOT saying your machine will do this if you fix motor, , just adding food for thought on repairs that are higher costing! so you can weight repair costs as to replacing things, and only you know the condition of your machine and its use !