Hi!
I am thrilled to announce a significant upgrade to your development workflow. As part of our commitment to helping you remediate your issues faster, SonarQube now officially supports GPT-5.1 as the underlying engine for our AI CodeFix feature on both Cloud and Server.
Why GPT-5.1?
We have been testing various models extensively, and GPT-5.1 has shown a substantial leap in performance for static analysis remediation. Here is what you can expect:
- Deeper Contextual Awareness: GPT-5.1 handles larger context windows more effectively, meaning the suggested fix takes into account not just the line of code, but the surrounding logic and file structure.
How to Enable It
On SonarQube Server:
- Navigate to Administration > Configuration > AI CodeFix.
- Under the Provider Selection dropdown, you will now see
OpenAI GPT-5.1. - Click Save Settings.
Note: AI CodeFix is currently available for Enterprise Edition and Data Center Edition users.
On SonarQube Cloud:
The model switch is automatic: users using AI CodeFix with the OpenAI provider have already been upgraded.
Note: AI CodeFix is currently available for Team and Enterprise plan users.
Privacy & Security
We understand that sending code to an LLM requires trust. As with our previous AI integrations:
- Your code is sent strictly for the purpose of generating a fix.
- Zero Retention: We enforce policies ensuring your code is not used to train the public GPT models and also not stored on OpenAI server.
- You retain full control over which projects have AI CodeFix enabled.
Many thanks for your continued support.
Happy Coding!
Alexander