Let me interpret your question like this, which seems to accord
with your idea of running a Turing machine computation inside a
nonstandad modelI shall give two different interpretations of the question. (The second interpretation using true arithmetic with an arbitrary nonstandard
elementis modified in this update.)
Specifically, letUsing arbitrary nonstandard models of PA. Let us say that a Turing machine program $p$ computes
a function $f$ on the natural numbers with nonstandard help, if
for any $a\in\mathbb{N}$ and any nonstandard $N\models\text{PA}$
and any nonstandard number $H\in N$, if we run $p$ inside $N$ with
input $(n,H)$, then the program halts and gives output $f(n)$, if
$n$ is in the domain of $f$, and otherwise it does not halt in $N$.
UpdateUsing only nonstandard models of true arithmetic. I've realized now that one may achieve aA better interpretation is obtained by considering only models of true arithmetic. In this case, the notion will be much more powerfulwhich I think is closer to what you may have meant by referring to nonstandard analysis.
One can now easily see that $0'$ and $0''$ and so on areis computable with true nonstandard help. By iterating, since one can simulate any Turing machine program for $H$ steps inside any model of true arithmetic, and this will get the right answer for standard input, precisely because the model is a model of true arithmetic. At first, I had thought that we can seecould use that any arithmetically definablenonstandard fake version of $0'$ and do the same thing to compute $0''$ and $0'''$ and more, but I now think this is wrong. Rather, what is going on is the following:
Theorem. A total function on $\mathbb{N}$ is computable with true nonstandard help, if and oneonly if the graph of $f$ has complexity $\Sigma^0_2$.
Proof. If the graph of $f$ is $\Sigma^0_2$, then $f$ is computable from $0'$. Since in any nonstandard model of true arithmetic, we can transcend thisfrom any nonstandard number compute an approximation to $0'$ by uniformly computingsimultating for $H$ steps, and this will be correct on the jumpsstandard part. SoWe can therefore use that oracle we generated to compute $0^{+\omega}$$f$, and since $f$ is total, we will never need to reach into the nonstandard part of the oracle for any standard input. So $f$ will be computable with true nonstandard help.
Conversely, and thus true arithmetic itselfsuppose that $f$ is a total function and computable with true nonstandard help by program $p$. And then one can iterate furtherIt follows that $p$ on input $(n,H)$ gives output $f(n)$ with any nonstandard model of true arithmetic and any nonstandard $H$. Since any larger $H$ would also work, climbing intoit follows that $p$ with input $(n,k)$ must give output $f(n)$ for all sufficiently large $k$, including sufficiently large standard $k$. In other words, $f(n)=m$ just in case there is $K$ such that for all $k\geq K$ program $p$ on input $(n,k)$ gives output $m$. This is a $\Sigma^0_2$-definable property, and so the hyperarithmetic hiearchytheorem is proved. $\Box$
This theorem seems to answer the question concerning the exact complexity of having a nonstandard but arbitrary nonstandard auxiliary input.