Your 10-gallon tank seems reasonably stocked with a betta, harlequin rasboras, nerite snails, and shrimp. Keep an eye on water parameters and filtration to manage potential bioload issues.
For the 25-gallon tank, the betta and rummynose tetras are compatible, but adding more plants or hiding...