Let $A\in M_{m,n}(K)$ with $rank(A)=r\leq \min(n,m)$ and let $u=\min(m^2n,n^2m)$. Note that $A^+\in M_{n,m}(K)$.
Case 1. You want the exact value of $A^+$.
Then you calculate a rank factorisation of $A$ ($A=BC$ where $B\in M_{m,r},C\in M_{r,n}$ have full rank), using the reduced row echelon form of $A$ (complexity $\approx u$. Then $A^+=C^+B^+=C^*(CC^*)^{-1}(B^*B)^{-1}B^*$ (complexity $\approx 7u$).
Total complexity $\approx 8u$.
Beware, here the word "complexity" measures the number of operations; in an exact calculation, the number of digits can become very large, which substantially increases the true complexity. If you cannot work with a large number of digits, then the method may be unstable when $ A $ is badly conditioned.
Case 2. You want only an approximation of $A^+$.
For the complexity, we assume that $n=1024,m=2048$. Anyway, the complexities of the below methods are greater than the complexity of i); note that here we work with a fixed number of significative digits.
i) You can use the full rank QR factorization by GSO method; for the case when $r=\min(m,n)$, cf.
https://en.wikipedia.org/wiki/Moore%E2%80%93Penrose_inverse#The_QR_method
The complexity is $\approx \alpha u$ where $\alpha= ?$.
ii) The best known method is the SVD one. cf.
https://en.wikipedia.org/wiki/Moore%E2%80%93Penrose_inverse#Singular_value_decomposition_(SVD)
The complexity is $\approx \dfrac{3}{2}\alpha u$.
Both methods i),ii) are very stable because they use orthogonal systems.
Remark. QR method gives exact results as expressions containing square roots.
SVD does not give exact results.
iii) There is a third method using a full rank Cholesky factorization of possibly singular symmetric positive matrices. Its complexity is $\approx \dfrac{1}{4}\alpha u$. cf.
https://arxiv.org/pdf/0804.4809.pdf