Gyms may allow competing starting at level 5, depends on the rules of your gymnastics club. Also, you can petition to start competing at a higher level. You can also ask to get tested to move up, rather than competing. Some gyms don't have formal testing either.