When i compare raycast endpoints from client and server for shooting tolerane they are different

You should never expect clients to be 100% accurate. There will always be some latency and you can only try to simulate the server state as good as possible.

Why do you need them to by perfectly synced? What are you trying to achieve?

In my projects, focusing on server casts works well enough (= server is authoritative in every aspect)