vulkan is better, but if you're learning, i think the resources behind opengl make it better in that regard. then when you need more performance you can migrate to vulkan, simply because it's more difficult to learn both an API and the core principles of the processing architecture of a gpu. opengl is good at abstracting away a lot of the hardware so you can think in terms of shader logic and deploy stuff right away. vulkan requires a lot of device preparation before rendering things, but there are wrappers to help like
>>106384843 stated. i just think it's still better to learn via opengl first, but idk maybe the landscape for vulkan learning resources has changed.