
LLM Programming: How Claude, GPT and Gemini Write Code
LLM programming means describing software in plain English, letting Claude, GPT or Gemini write the code, and testing what it builds.
LLM programming means building software by telling a large language model (LLM), the kind of AI behind Claude, ChatGPT and Gemini, what you want in plain English. The model writes the code, you run it and look at what happens, and then you ask for fixes until it works.
Coding tools such as Anthropic's Claude Code and OpenAI's Codex let the model do more than suggest code: they read your project, edit the files and run commands on your computer. You still have to check the result yourself. In Pat Simmons's most recent build-off, published November 24, 2026, he ranked Opus 5.5 first on an animated explainer video while Gemini 4 Neon won on writing a newsletter and designing a website, so the best model depends on the job.
What is LLM programming?
LLM programming is writing software by describing it to an AI model instead of typing the code yourself. You explain the app, page or script you want, the model writes the code, and you test it and ask for changes in the same conversation.
Anthropic's Claude Code docs describe the loop in their own words: "Describe what you want in plain language. Claude Code plans the approach, writes the code across multiple files, and verifies it works." For a bug, the same page says you can paste the error message or describe the symptom, and Claude Code traces the problem and writes a fix.
Professional engineers use it to hand off repetitive work like tests and bug fixes, and people who have never written code use it to get a working app. When the person building doesn't read the code at all, it's often called "vibe coding."
How does an LLM write code?
An LLM writes code the same way it writes an email: it predicts the next small piece of text, one piece at a time, based on everything in the conversation so far. Code is text, and these models were trained on a huge amount of it, so a request like "a page with a sign-up form" turns into the HTML and JavaScript that usually follows a request like that.
If you want to see that prediction step happen, a 3D walkthrough of how an LLM picks each word shows it inside a small model, stage by stage.
The coding tools add the part a chat window can't do. A model in a chat can only hand you code to copy. A model inside Claude Code, Codex or Google's Antigravity can open your files, write the changes, run the program, read the error that comes back and try again, which is why people call these tools agents.
That loop is also why the model you pick and the tool you run it in are two separate choices. In Pat's November build-offs, Opus 5.5 ran in Anthropic's Claude app, GPT-6.2 Sol in Codex and Gemini 4 Neon in Antigravity.
Which LLM is better for coding?
No single model won every job in Pat Simmons's November 2026 build-offs. In the November 24 head-to-head, where Gemini 4 Neon, Claude Opus 5.5 and GPT-6.2 Sol got identical prompts, Pat ranked Opus 5.5 first on the animated explainer, Neon won the newsletter and the website, and Sol was the cheapest on every job without winning one.
Each model got one run per job, working on its own until the job was done and the result was published live. The explainer was a 60 to 90 second vertical video in the style of Vox's animated explainers, about why AI companies are buying nuclear power, built with code (no video-generation model), and Pat ran it twice: once with a bare prompt and once with a prompt that told each model to follow his explainer skill. The newsletter was a full issue written from a feed of 610 real AI news items, and the website was a store for a running apparel brand from a one-line prompt.

These are the rankings, costs and build times from Pat's post. The costs are API-equivalent: the real token counts priced at each model's published rates, although the builds ran on subscriptions.
| Job | Gemini 4 Neon | Opus 5.5 | GPT-6.2 Sol |
|---|---|---|---|
| Explainer video, bare prompt | 2nd, $3.30, 32 min | 1st, $7.38, 33 min | 3rd, $1.33, 16 min |
| Explainer video, guided by a skill | 2nd, $11.20, 1h 9m | 1st, $88.11, 4h 24m | 3rd, $8.35, 45 min |
| AI newsletter, written from scratch | 1st, $2.17, 15 min | 2nd, $45.32, 1h 32m | 3rd, $1.39, 11 min |
| Running apparel store website | Clear winner, $2.30, 22 min | Not ranked, $4.50, 15 min | Not ranked, $0.82, 14 min |
| All four builds | $18.97, 2h 18m | $145.31, 6h 43m | $11.89, 1h 27m |
On the website, Pat found Neon's design the strongest with no design direction at all: its product cards add a size to the cart straight from a hover, it sorts gear by temperature, and it built in a race pace calculator. He found Sol's and Opus 5.5's sites more basic, with too much empty space beside their main images.

Pat's verdict was that Neon is worth trying as a daily driver for writing, decks and design work, since it beat Opus 5.5 on the newsletter for about a twentieth of the cost, and that Opus 5.5 is still the pick when you want the best output and cost doesn't matter.
Three days earlier, in the November 21 build-off, Claude Fable 5.2, GPT-6.2 Astra and Gemini 4 Carbon each built a CapCut-style iPhone video editor, a jazz teaching tool with a 3D band you can hear, and an open-world crime game that runs in the browser. That post publishes every build and its cost without ranking them: across the three builds, Fable 5.2 cost $1,606.41, Astra $453.10 and Carbon $65.38 at API-equivalent rates.
Pat's September test is the one to read for cost alone: it shows what each model cost to build the same app, with Opus 5.5 at $106.93, Fable 5.1 at $90.99 and GPT-6 Astra at $60.20 across three builds. Every other matchup he has run is collected in all of Pat's head-to-head model tests.
The tools: Claude Code, Codex and Gemini CLI
Claude Code, Codex and Gemini CLI are the coding agents from Anthropic, OpenAI and Google: each runs a model that can read your project, change files and run commands. Claude Code needs a paid Claude plan, Codex has a free plan for quick tasks, and Google has moved free users from Gemini CLI to its newer Antigravity CLI.

Claude Code is Anthropic's tool. Its docs say it "reads your codebase, edits files, runs commands, and integrates with your development tools," and that it runs in the terminal, in code editors such as VS Code, in a desktop app and in the browser. The setup page says it "requires a Pro, Max, Ultra, Team, Enterprise, or Console account," so the free Claude plan doesn't include it. On Anthropic's pricing page, Pro costs $20 a month (or $17 a month billed yearly).
Codex is OpenAI's tool. The Codex CLI docs say it lets you "inspect code, make changes, run commands, and automate repeatable work without leaving your terminal," and Codex also comes as a desktop app, an IDE extension and a cloud version. OpenAI's Codex pricing page lists a Free plan at $0 "on quick coding tasks," Go at $8 a month, Plus at $20 a month, and Pro from $100 a month.
Gemini CLI is Google's terminal tool, and its documentation says it "brings the power of Gemini models directly into your terminal." The same site now carries a notice that, for unpaid-tier and Google One users, Gemini CLI "was replaced by Antigravity CLI on June 18th, 2026," and that people who want Gemini 4 Argon should use Antigravity. Antigravity's pricing page lists a $0 plan for individuals with Gemini 4 Hydrogen, while Gemini 4 Neon and Carbon come with the Google AI Pro and Ultra plans.
Prices below are from each company's own pages, checked December 2, 2026.
| Tool | Made by | What it does | Where it runs | Cheapest way in |
|---|---|---|---|---|
| Claude Code | Anthropic | Reads your project, edits files, runs commands | Terminal, IDE extensions, desktop app, browser | Claude Pro, $20 a month ($17 billed yearly) |
| Codex | OpenAI | Inspects code, makes changes, runs commands | Terminal, IDE extension, desktop app, cloud | Free plan for quick coding tasks; Plus is $20 a month |
| Gemini CLI / Antigravity | Runs Gemini models on your code from the terminal (Antigravity adds an app, IDE extensions and an SDK) | Terminal; Antigravity also as an app and IDE extensions | Antigravity's $0 individual plan with Gemini 4 Hydrogen |
Pat hasn't tested these tools against each other, so this section describes what each company says its tool does and costs. The model results in the section above come from his build-offs, which ran each model in its own lab's tool.
Building apps when you can't code
You can build working software with these tools without knowing how to code, because the instructions are plain English and the agent handles the files and commands. What you still need is a clear description of what you want and the patience to test it and ask for fixes.
Pat's own builds show how far that goes. He plugged a Fujifilm X-T5 into his Mac and had Claude Code take control of the camera: it read the camera's settings, switched film simulations, fired the shutter, designed a film recipe of its own and loaded it into a custom slot. For anyone with a different camera, the post's suggested first prompt is a plain question: "I want you to access my [model] camera. How would I go about doing this?"
If you want to try it yourself, the guide to build your own software with AI, start to finish walks through the tools a beginner can start with. To see what the models produce when nobody touches the code, every build from Pat's tests is collected on the page of apps Pat built with AI models, and each one is live.
Five habits that get you working code
The habits that matter most are writing down exactly what "done" means, giving the model the background it needs, letting it run its own work, saving checkpoints, and testing the result yourself before you trust it.
1. Write down what "done" looks like
Every prompt in Pat's build-offs ends with a "DONE when" line that lists what must be true before the model stops, such as "it plays at its live URL." Each run started with one line telling the agent to follow the prompt to the letter and keep working until every item on that list was met.
2. Give it the background up front
The model only knows what's in the conversation and your project. According to its docs, Claude Code reads a file called CLAUDE.md at the start of every session, where you can set your rules and preferred libraries, and Codex's docs cover a similar file called AGENTS.md. Put the facts the model would otherwise guess at in there.
3. Let the tool run and check its own work
Use a tool that can run the code, because a model that can see the error message can fix it. Pat's prompts go further and ask the model to check its own output: pull frames from the finished video and look at them, then open the live page in a browser and confirm it loads.
4. Save a checkpoint before each big change
OpenAI's Codex docs recommend creating "Git checkpoints before and after a task so you can revert changes." Git is the version history most coding projects use, and a checkpoint lets you undo a change that broke something instead of untangling it by hand.
5. Test it yourself before you trust it
A model can sound just as sure about broken code as about working code. Open the app, click every button and try the odd inputs a real user would try. Pat publishes every build from his tests live for the same reason, so readers can open them and judge for themselves.
Where LLM code goes wrong
Two problems showed up clearly in Pat's tests: the bill can grow far past what you expected, and more instructions don't always make the result better. A third comes from how the models are trained, and it hits hardest with newer software.
The cost runs away. In the November 24 build-off, Opus 5.5 spent $45.32 and an hour and a half on the newsletter, and as far as Pat could tell much of that went on research it didn't need. In the November 21 build-off, Fable 5.2's crime game alone came to $1,299.74 at API rates. On a Pro or Max subscription, heavy use counts against your plan's usage limits, which reset every 5 hours and every week.
More direction doesn't always help. When Pat gave the three models a detailed skill to follow for the explainer, Neon's reel got sound effects that were far too loud and pacing that was too fast, and he preferred its bare-prompt version. GPT-6.2 Sol's guided reel opened with no historical context and mostly moved images around while it listed headlines.
The model works from what it learned in training. Every model has a training cut-off date, so it knows popular, long-established libraries far better than a tool that came out last month. A widely read guide to using LLMs for code recommends sticking to stable, popular libraries for that reason, or putting recent examples of the newer tool into your prompt.
Questions people ask
Can I try LLM programming for free?
Yes. OpenAI lists a $0 Codex plan for quick coding tasks, and Google's Antigravity has a $0 individual plan that includes Gemini 4 Hydrogen. Claude Code needs a paid Claude plan, starting with Pro.
Is the LLM the same thing as the coding tool?
They are two separate pieces. The LLM is the model that writes the code (Opus 5.5, GPT-6.2 Sol, Gemini 4 Neon), and the coding tool is the app that lets it read and change your files (Claude Code, Codex, Antigravity). In Pat's November 24 test, each model ran in its own lab's tool.
Which LLM is cheapest for building an app?
In Pat's November 24 build-off, GPT-6.2 Sol was the cheapest on every job, at $11.89 for all four builds. In the November 21 build-off, Gemini 4 Carbon was the cheapest of its group at $65.38 for three much larger builds.
Do I need to understand the code the LLM writes?
Not to get something working. Claude Code's docs say you can paste an error message or describe the symptom of a bug, and it traces the problem and writes a fix. Testing the app yourself is how you find out whether that fix worked.






Comments
Sign in to join the conversation.