Bỏ qua đến nội dung

Cách sử dụng

How developers use AI.

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.

What do you use AI tools for?
Multiple
0%
20%
40%
60%
80%
100%
1

Code generation

3,128
2

Learning & research

2,255
3

Text generation

2,119
4

Summarization

1,904
5

Translation

1,559
6

Image generation

1,313
7

Computer vision

491
8

Speech recognition

383
9

Speech generation

317
10

code_assistance

0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

AI 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.

What proportion of the code you produce is AI-generated?
0%
20%
40%
60%
80%
100%
1

0% AI

419
2

|

1,124
3

|

884
4

|

320
5

50%

320
6

|

178
7

|

222
8

|

88
9

100% AI

11
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

AI 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.

When using AI to generate code, what proportion do you rewrite or refactor before use?
0%
20%
40%
60%
80%
100%
1

0% refactored

83
2

|

142
3

|

320
4

|

240
5

50%

622
6

|

388
7

|

851
8

|

490
9

100% refactored

265
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

Reasons 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.

What are the main reasons that require you to refactor AI-generated code?
Multiple
0%
20%
40%
60%
80%
100%
1

Poor readability

1,636
2

Variable renaming

1,598
3

Excessive repetition

1,316
4

Outdated imports

1,210
5

Performance issues

960
6

Security issues

561
7

Faulty code

8

Hallucination & inaccuracies

9

Code quality

10

Poor code style

0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

Code 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.

How frequently do you use AI tools to generate or refactor code?
0%
20%
40%
60%
80%
100%
1

Never

330
2

A few times per year

286
3

A few times per month

500
4

A few times per week

806
5

A few times per day

951
6

A few times per hour

281
7

Constantly

386
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

Other 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.

How frequently do you use AI tools for tasks other than code generation?
0%
20%
40%
60%
80%
100%
1

Never

198
2

A few times per year

294
3

A few times per month

548
4

A few times per week

1,131
5

A few times per day

1,056
6

A few times per hour

145
7

Constantly

183
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

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.

What kind of code do you generate using AI tools?
Multiple
0%
20%
40%
60%
80%
100%
1

Helper functions

2,541
2

Frontend components

1,805
3

Documentation & comments

1,626
4

Tests

1,595
5

Core app logic

1,358
6

API integration code

1,298
7

CSS code

1,235
8

Scripting

9

Configuration code

10

Boilerplate code

11

Database queries

12

Câu trả lời khác

157
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

Personal 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.

How much do you personally spend on AI tools per month (in USD)?
0%
20%
40%
60%
80%
100%
1

$0

1,863
2

$1-$20

851
3

$20-$50

646
4

$50-$100

146
5

$100-$500

48
6

$1000-$5000

3
7

Over $5000

1
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

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.

How much does your company spend on AI tools per month (in USD)?
0%
20%
40%
60%
80%
100%
1

$0

929
2

$1-$20

189
3

$20-$50

243
4

$50-$100

188
5

$100-$500

261
6

$500-$1000

168
7

$1000-$5000

151
8

Over $5000

280
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

Ngà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.

Bạn làm việc trong (những) ngành công nghiệp nào?
Multiple
0%
20%
40%
60%
80%
100%
1

Công cụ lập trình & kỹ thuật

1,565
2

Tư vấn & Dịch vụ

738
3

Thương mại điện tử & Bán lẻ

412
4

Tài chính

309
5

Giáo dục

305
6

Công cụ Marketing/Bán hàng/Phân tích

293
7

Chăm sóc sức khỏe

204
8

Giải trí

183
9

Tin tức, truyền thông & blog

127
10

Chính phủ

101
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

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.

Have you tried running AI models locally on your own machine?
0%
20%
40%
60%
80%
100%
1

No, not interested

761
2

No, but interested

1,131
3

Yes

1,631
4

Câu trả lời khác

30
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

Poor overall code quality ranked first when it comes to AI pain points.

What are your top pain points when it comes to using AI tools?
Multiple
0%
20%
40%
60%
80%
100%
1

Code quality

2,221
2

Lack of context

1,842
3

Prompt comprehension

1,445
4

Privacy concerns

1,075
5

Environmental impact

843
6

Copyright concerns

749
7

Financial costs

702
8

Integration difficulties

549
9

Hallucination & inaccuracies

10

Ethical concerns

11

Câu trả lời khác

108
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

How developers are learning about AI.

What capabilities do you feel are currently missing from AI tools?
(câu hỏi dạng tự do)
Multiple
0%
20%
40%
60%
80%
100%
1

Larger context window

2

Larger codebases support

3

Up-to-date knowledge

4

Better accuracy

5

Self-evaluation

6

Higher intelligence

7

Better tool integration

8

Truthfulness

9

Better UI/UX

10

More customization

11

Câu trả lời khác

Answers matching “Câu trả lời khác” 325
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi

Despite the various pain points highlighted by the survey, respondents were overall quite positive on the state of AI for web development in 2025.

How happy are you with the current general state of AI tools for web development?
0%
20%
40%
60%
80%
100%
1

Rất không hài lòng

253
2

Không hài lòng

346
3

Trung lập

1,245
4

Hài lòng

1,378
5

Rất hài lòng

250
0%
20%
40%
60%
80%
100%
% của người trả lời câu hỏi