gpt-4o in the api redirects to gpt-4o-2024-08-06 which has october 2023 knowledge cutoff like gpt-4o-2024-11-20 and gpt-4o-2024-05-13
you have to use model id chatgpt-4o-latest in the api call to use supposed 2025 march 27 version used on chatgpt.com. then you are working with the june 2024 knowledge cutoff