Liên kết đến phầnUse Cases
As expected in a developer survey, code generation ranked as the most common AI usage. On the other hand, even though image generation was the original use case for generative AI, only 38% of respondents stated using it.
Liên kết đến phầnAI Code Generation
Most of us aren't quite vibe coding just yet, with a majority of respondents (69%) generating less than 25% of their code through AI – and only a small minority (8%) generating more than 75% of it.
Liên kết đến phầnAI Code Refactoring
Even when AI is used to generate code, a large majority (76%) of developers stated they have to refactor at least half of the outputted code before it's ready to be used.
Liên kết đến phầnReasons for Refactoring
The top reasons for refactoring were cosmetic concerns such as poor readability, variable renaming, and excessive repetition.
Many respondents also used the freeform “other answer” field to state that generated code often just didn't work as intended.
Liên kết đến phầnCode Generation Frequency
This chart shows just how embedded AI has become in our daily workflows, with 46% of respondents using AI to generate code multiple times per day or more.
Liên kết đến phầnOther Tasks Frequency
Compared to code generation, AI is used for other tasks (research, summarization, translation, etc.) relatively less often – which makes sense given that coding is still what we spend the most time on.
Liên kết đến phầnGenerated Code
The most commonly generated code type proved to be helper functions, followed by frontend components, both of which are fairly self-contained, making them good candidates for code generation.
Many are also using AI to add documentation or comments to existing code, which is an unexpected use case.
Liên kết đến phầnPersonal Expenses
I'm not sure where AI companies are getting the cash to run their server farms, but one thing's for sure – it's not from individual developers, with a majority of respondents not currently spending any of their own money on AI tools and services.
Liên kết đến phầnCompany Expenses
Interestingly, company expenses follow a horseshoe pattern, with companies not spending anything on AI – unless they're spending over $5000! Whether this pricing model will prove sustainable for AI companies will remain to be seen.
Note that respondents also pointed out in freeform comments that they might not always have access to this information.
Liên kết đến phầnNgành công nghiệp
Don't hesitate to use our built-in Query Builder on any other chart to filter these survey results according to any specific industry sector.
Liên kết đến phầnLocal AI
Many respondents have already tried running their own AI models locally, despite the difficulties involved, and many others are interesting in trying.
This could become a key differentiator for new models, as this shows a strong demand for being more in control of your AI tools.
Liên kết đến phầnPain Points
Poor overall code quality ranked first when it comes to AI pain points.
Liên kết đến phầnMissing Features
How developers are learning about AI.
Liên kết đến phầnHappiness
Despite the various pain points highlighted by the survey, respondents were overall quite positive on the state of AI for web development in 2025.