ChatGPT usage for coding means how often people ask ChatGPT to write, fix or explain code, and how many developers rely on it at work. The answer is that coding is a small share of ChatGPT chats but a big share of developer habits. In July of last year, only 4.2% of ChatGPT messages were about programming. Yet in January 2026, 28% of professional developers used ChatGPT at work, almost as many as used GitHub Copilot.
The gap has a simple cause. ChatGPT has hundreds of millions of users who mostly ask about writing, advice and facts, so code is a thin slice of the total. At the same time, much serious coding has moved out of the chat window and into agents. For example, OpenAI’s Codex agent grew from about 1.6 million weekly users in March 2026 to 8 million across Codex and ChatGPT Work by July.
The sections cover how much of ChatGPT is about code, which developers use it and how it ranks against other AI tools. After that come the Stack Overflow survey results, trust in AI code, the rise of Codex and who should use ChatGPT for coding and who should not.
ChatGPT Usage for Coding in Numbers
ChatGPT usage for coding is about 4.2% of all ChatGPT messages, and 28% of developers use ChatGPT at work.
| Measure | Figure | Date |
|---|---|---|
| ChatGPT messages about programming | 4.2% | July of last year |
| Tech help share of all ChatGPT use | About 5%, down from 12% | July of last year |
| Developers who use ChatGPT at work | 28% | January 2026 |
| Developers who use AI tools at work | 90% | January 2026 |
| Survey users of OpenAI models | 74% | October 2026 |
| Codex and ChatGPT Work weekly users | 8 million | July 14, 2026 |
How Much of ChatGPT Is About Coding
Programming makes up 4.2% of ChatGPT messages. OpenAI’s economists measured this in a study of 1.1 million sampled chats, published in September of last year. The sample ran from May 15, 2024 to June 26 of last year.
Programming sits inside a wider group the study calls technical help. That group has three parts.
| Part of technical help | Share of all ChatGPT messages |
|---|---|
| Writing and fixing code | 4.2% |
| Math problems | 3% |
| Data analysis | 0.4% |
By comparison, writing was 24% of all use and practical advice about 29% in July of last year. So code is a small topic next to the big three of writing, advice and looking up facts.
ChatGPT sent about 2.5 billion messages a day at that point. At 4.2%, that works out to about 105 million coding messages a day. So a small share is still a very large number.
Technical help is shrinking as a share
Technical help fell from 12% of all ChatGPT use in July 2024 to about 5% a year later. Over the same time, its share of work chats fell from 18% to just over 10%.
The fall does not mean fewer people code with AI. Instead, the authors point to coding moving to the API, to code editors and to agents that work on their own. Also, non-work chats grew much faster than work chats, and that alone shrinks the coding share.
Work chats are a shrinking part of ChatGPT
Work chats fell from 47% of ChatGPT messages in June 2024 to 27% in June of last year. In the same year, total daily messages grew from 451 million to about 2.6 billion. So work use still grew in raw numbers, but personal use grew much faster.
This matters for coding numbers. Because most coding is work, any fall in the work share pulls the coding share down too. As a result, the 4.2% figure is a share of all chats, and personal chats make up most of them.
Who asks ChatGPT about code
People in computer jobs use ChatGPT for technical help far more than others. For them, technical help is 37% of work messages. For engineering and science jobs it is 16%, and for every other job group it is about 8%.
Coding chats split evenly between asking and doing. Half ask for an explanation or advice, and half ask ChatGPT to write or fix something. However, technical help has a lower rating than most topics. Users rated it good 2.7 times for each bad rating, the second lowest of any topic.
ChatGPT Compared With Other AI Coding Tools at Work
ChatGPT is the second most used AI tool among professional developers at work, at 28% in January 2026. Only GitHub Copilot is ahead, at 29%. JetBrains polled over 10,000 developers for that AI Pulse survey.

| AI tool | Kind of tool | Used at work, January 2026 |
|---|---|---|
| GitHub Copilot | Helper in the code editor | 29% |
| ChatGPT | Chat app | 28% |
| Cursor | AI code editor | 18% |
| Claude Code | Coding agent | 18% |
| JetBrains AI Assistant | Helper in the code editor | 9% |
| Gemini | Chat app | 8% |
| Claude | Chat app | 7% |
| Google Antigravity | AI code editor | 6% |
| OpenAI Codex | Coding agent | 3% |
Among chat apps, ChatGPT leads by a wide margin. In fact, it has more than three times the work use of Gemini at 8% and four times Claude’s chat app at 7%.
Coding agents, on the other hand, are where the fast growth is. For instance, Claude Code went from about 3% work use in April to June of last year to 18% in January 2026. Our Claude Code adoption statistics track that rise in detail. Also, 90% of developers used some AI tool often at work, and 74% used a tool made for coding.
How many developers know each AI coding tool
GitHub Copilot is the best known AI coding tool, with 76% of developers aware of it in January 2026. Then comes Cursor at 69% and Claude Code at 57%. Codex trails at 27%.
| AI coding tool | Developers who know it | Developers who use it at work |
|---|---|---|
| GitHub Copilot | 76% | 29% |
| Cursor | 69% | 18% |
| Claude Code | 57% | 18% |
| OpenAI Codex | 27% | 3% |
Copilot does best in big firms. For instance, 40% of developers at firms with 5,000 or more staff use it at work. However, Copilot and Cursor have both slowed down, while Claude Code kept climbing. Its awareness went from 31% in April to June of last year to 57% in January 2026.
Read also: AI Chatbot Usage Statistics for the US and World
Stack Overflow Survey Results on ChatGPT and OpenAI
OpenAI models are used by 74% of developers who use AI, close behind Anthropic at 75%. The 2026 Stack Overflow Developer Survey drew more than 30,000 people in 169 countries and came out on October 6, 2026.
However, the future looks less even. Only 32% want to work with OpenAI models next year, against 49% for Anthropic, as IT Brief covered. So OpenAI keeps its users today, but fewer developers plan to stay with it.
| Stack Overflow 2026 result | Share |
|---|---|
| Use coding helpers or agents | 66% |
| Use chat tools such as ChatGPT | 63% |
| AI users who use it every day | 73% |
| Use no AI tools | 17.2% |
| Use AI to write code in areas they know | 67% |
| Use AI to debug | 61% |
| Ask an AI agent first when stuck | 70% |
Chat tools are still close to coding agents in reach. For example, 63% use general chat tools, while 66% use coding helpers or agents. Many developers use both, with ChatGPT for quick questions and an agent for the real edits.
Time spent is high too. Among daily AI users, 31% spend four or more hours a day with AI tools. Meanwhile, 64% now visit Stack Overflow less for simple questions.
How Companies Control AI Coding Costs
Most companies now put some limit on AI coding use, and the most common is a usage cap. In the 2026 Stack Overflow survey, 38% of developers worked where AI use had limits. Also, 28% of firms had reviewed their AI spending data.
| Cost control at work | Share of developers |
|---|---|
| Usage limits on AI tools | 38% |
| Review of AI spending data | 28% |
| A different model for each kind of work | 27% |
| Limits on who can use AI | 25% |
| Firm is spending more on AI | 21% |
When developers pick a model or prompt, quality comes first. For example, 75% put quality first, while 38% put cost first. So a cheaper chat tool like ChatGPT wins on price for quick help, but teams still pay for agents when the code matters.
Skills are part of the cost too. In the same survey, 79% wanted to build AI skills, and 52% had learned a new coding skill or language in the past year.
Trust in AI Code From ChatGPT and Other Tools
Most developers use AI code but do not fully trust it. In last year’s Stack Overflow survey, 84% used or planned to use AI tools, up from 76%. Yet 46% did not trust the accuracy of AI output, up from 31% the year before, as ITPro reported.
Also, 45% reported losing time to debugging AI code. And 75.3% would ask a co-worker when they do not trust an AI answer.
The 2026 survey shows the same caution. Only 6.6% would trust AI for important choices. By contrast, 78.7% say knowing the source of an AI answer matters, and 93% say they need that source to trust it. That is a real limit for ChatGPT, which often answers code questions without a link to docs.
Codex: Where ChatGPT Coding Moved in 2026
OpenAI’s Codex coding agent had about 8 million weekly users across Codex and ChatGPT Work by July 14, 2026. Codex is OpenAI’s coding agent, and it comes with ChatGPT plans such as Plus, Business and Pro.


Growth came in jumps tied to model launches. In early March 2026, Codex had more than 1.6 million weekly users after the GPT-5.3 Codex launch, as Fortune reported. Over 1 million people had also downloaded the Codex desktop app since early February.
Then Codex reached 5 million weekly users in early June. After GPT-5.6 launched on July 9, the count rose fast, and Codex lead Tibo Sottiaux posted 8 million across Codex and ChatGPT Work on July 14, as The New Stack covered. Traffic doubled its old peak within 48 hours of that launch.
Big firms use it too. For example, Cisco, Nvidia, Ramp, Rakuten and Harvey have rolled Codex out across their developer teams. So when the share of coding in ChatGPT chats falls, much of that work has moved here. For the rival agent business, see our post on AI coding agent funding.
Read also: Suno AI Music Generation Usage Statistics
Who Should Use ChatGPT for Coding and Who Should Not
ChatGPT is the best pick for learners and for quick questions, such as explaining an error, writing a short script or turning a rule into a regex. It is in most developers’ toolkits already, and the chat format is easy for people who are still learning. For practice, pair it with our list of free websites to learn coding.
By contrast, plain ChatGPT chat is not the right tool for large changes across many files. There, an agent that can read the whole code base and run tests does the job better. That means Codex, Claude Code or Copilot’s agent mode. For Copilot’s measured effect on speed, see our GitHub Copilot productivity statistics.
Teams with strict rules on code privacy should also take care. Only 24% of developers in the 2026 Stack Overflow survey had an employer that published approved AI tools or formal guidance. So check your company’s policy before you paste private code into any chat tool.
ChatGPT Coding Questions From Developers
What languages do developers use most with AI?
Python and JavaScript are the languages most used with AI tools. In the 2026 Stack Overflow survey, 39% used Python and 38% used JavaScript alongside AI.
How many people use ChatGPT each week?
ChatGPT had over 700 million weekly users by the end of July last year. That was about 10% of the world’s adults. Our AI chatbot usage statistics compare it with other chat apps.
Do developers switch AI tools often?
Yes, some do. In the 2026 Stack Overflow survey, 25% had changed AI tools because the code was not good enough. Another 11% changed because their boss told them to.
How fast did ChatGPT message volume grow?
ChatGPT got 451 million messages a day in June 2024. A year later, in June of last year, it got about 2.6 billion a day. That is close to six times as many.




















































































































