Let $(M,g)$ be a Riemannian manifold, compact if need be. Take an arbitrary $(p,v)\in TM$ and consider the geodesic starting at $p$ in direction $v$, i.e., $\gamma\colon I\to M, t\mapsto \exp_p(tv)$.
Is it true that \begin{align*} \operatorname{dist}_g(p, \exp_p(tv)) = t|v|_g \end{align*} for all $t\in I$? How about t=1?
I've tried calculating the length of $\gamma$ via $\gamma'(t) = d(\exp_p)_{tv}(v)$ but couldn't arrive anywhere.
Assuming that $|v|=1$, the formula \begin{align*} \operatorname{dist}_g(p, \exp_p(tv)) = t|v|_g \end{align*} holds for all $t$ in a sufficiently small interval $[-\epsilon, \epsilon]$. You will find a proof in any book on Riemannian geometry; my favorite reference is do Carmo, "Riemannian Geometry", Proposition 3.6. But for large $t$ this identify typically fails, for instance, think about the case $M=S^1$. However, the identity holds for all $t$ in some important special cases such as when $M$ is a Hadamard manifold, see Chapter 7 of do Carmo's book.