In your pom.xml, looks like you are using
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
The GPT-5 support was added in 1.1.0-M1 (or later). the name gpt-5 might not recognized by Spring AI in your version, causing fallback behavior to default gpt-4o-mini. Consider to upgrade your version.