The first cage the bars are a little too wide, I've seen budgies squeeze their head through 0.6" bar spacing and get stuck, which could end very badly.
The second cage does appear to have ideal bar spacing, 0.5"
However, both of these cages are below ideal minimum. The absolute bare minimum for a budgie or two is 31 x 20" but always best to go bigger. Luckily though there are other options, so I'll list some.
https://www.amazon.com/dp/B00176F5L0/ref=twister_B013HNL6GI?_encoding=UTF8&th=1 - Bar spacing is suitable for a budgie, X-large adds extra width if you're happy to pay the extra.
exoticnutrition.com/Borneo-Sugar-Glider-Cage__EN4993.aspx?variantId=6dce118b-48a6-40a6-8197-dcb87c95db8a Borneo cage, these are the best cages in my opinion. Bar spacing is suitable, and the cages are 40" wide. You can even buy add-ons for them to increase the size, even if you change your mind to do so in future the option is always there.
https://www.amazon.com/dp/B00494U13...3RGMSJFY0M51M&ref_=aip_sf_list_spv_ons_d_asin - A double dividable cage, but the divider is removable so you can use as one big long flight cage.
While I'm here, I might as well suggest to aim for two budgies. They thrive better with a bird friend, as they are very social in nature flocking with hundreds of birds. They might want to spend a lot of time together but at least you can observe knowing they are happy together. Budgies rarely do not get along so that's a win to me.
You still have plenty of time to research and prepare for the scenario you settle with owning budgies, so feel free to ask any questions and I'd be happy to answer