What does a service connection cost depend on?

Distance, mainly. Cost rises with each span of poles, conductor and fittings between the network and your meter position. Moving the meter closer to the network can shorten the run substantially, which reduces both the cost and the voltage drop.