To install GPT Engineer AI coding tool, use Python 3.10 to 3.12, run python -m pip install gpt-engineer, set your model API key with export OPENAI_API_KEY=your-key or a .env file, create an empty project folder with a file named prompt inside it, then run gpte to generate code or gpte -i to improve existing code. GPT Engineer carries a $0 licence fee under the MIT licence, but you still pay your model provider for API usage unless you configure a local model, and you own review of every generated file. For comparison, official GitHub Docs list Copilot Business at $19 USD per user per month, so three seats cost $684 a year before overage.
Quick Answer
To install GPT Engineer AI coding tool, use Python 3.10 to 3.12, run python -m pip install gpt-engineer, set your model API key with export OPENAI_API_KEY=your-key or a .env file, create an empty project folder with a file named prompt inside it, then run gpte <project_dir> to generate code or gpte <project_dir> -i to improve existing code. GPT Engineer carries a $0 licence fee under the MIT licence, but you still pay your model provider for API usage unless you configure a local model, and you own review of every generated file. For comparison, official GitHub Docs list Copilot Business at $19 USD per user per month, so three seats cost $684 a year before overage.
In this article
- How we checked this guide
- Read this first: experiment platform, licence, and project status
- What GPT Engineer replaces, and what it does not
- How the prompt file, models, and preprompts fit together
- Routes to install GPT Engineer
- Requirements before you install
- Step 1: prepare a project folder and a test prompt
- Step 2: install GPT Engineer with pip
- Step 3: set up your API key safely
- Step 4: generate your first codebase
- Step 5: improve existing code with -i mode
- First-run security steps you must not skip
- Backup and update routine
- Common errors and fixes
- Tips and tricks that save money
- The real cost maths
- When not to install GPT Engineer
- Pros and cons
- Our verdict
- FAQ
- Strategic Pivot
- Sources
How we checked this guide
We checked this guide on December 4, 2026, against GPT Engineer’s official GitHub repository, its README install and usage sections, its LICENSE entry, and the official PyPI package page. We checked Copilot Business and Enterprise prices on official GitHub Docs.
One status point matters before you install. GitHub shows the repository was archived by the owner on April 22, 2026, and it is now read-only. The README describes GPT Engineer as an experimentation platform for code generation, and it points readers who want a well maintained hackable CLI toward Aider, and readers who want an opinionated managed service toward gptengineer.app. Treat GPT Engineer as an archived prompt-file generation experiment you supervise, not as a managed team platform with a support desk. If your team needs maintained daily-driver tooling, read the verdict before you build a workflow on it.
Read this first: experiment platform, licence, and project status

GPT Engineer lets you specify software in natural language, watch an AI write and execute code, and ask the AI to implement improvements. That loop is the whole product: you describe the software in a prompt file, run one command, and review the codebase it creates.
The licence is MIT. GitHub lists the repository licence as MIT License. In plain words, the software carries a $0 licence fee for use under MIT terms, including commercial use, with the licence’s notice and warranty conditions. That grant covers GPT Engineer itself. It does not cover the model you connect, your provider’s terms, or the code quality of what gets generated.
Project status needs a clear eye. GitHub shows the repository archived on April 22, 2026, and read-only, so no new fixes or features are coming from the upstream project. The README itself steers two kinds of readers elsewhere: managed-service readers to gptengineer.app, and maintained-CLI readers to Aider. That honesty is useful. GPT Engineer still installs from PyPI and still runs the prompt-file workflow, but you should adopt it as an archived experiment and prototyping tool with your own review habit, not as infrastructure you forget about.
GPT Engineer fits a technical owner, freelancer, or small team that wants fast first drafts of small codebases from a written specification. It is a poor fit when nobody will read the generated code, run tests, or own API-key hygiene.
What GPT Engineer replaces, and what it does not
GPT Engineer replaces the blank-page start of a small project. Instead of hand-writing the first file layout, boilerplate, and starter logic, you write a specification and get a codebase to inspect, run, and reshape.
It can replace part of a per-seat coding subscription when your work is prototype-shaped: landing-page backends, small internal tools, scripts, and throwaway experiments where a fast draft matters more than polish. The agent layer is $0 in licence fees; the model layer is where money moves.
GPT Engineer does not replace code review, tests, or judgment. Generated code can contain security flaws, wrong assumptions, and dependencies you would never choose. Your branch discipline, tests, and diff review remain the control, and the improve mode does not change that.
It also does not replace a managed platform’s support desk, seat administration, or policy controls. You own the install, the API keys, the Python environment, the update testing, and the decision to keep or discard generated output. The $0 licence removes a seat fee for the generator; it does not remove operations work.
Best for: a solo builder or small technical team that wants prompt-file codebase generation for prototypes and experiments. Skip if: you need a maintained daily-driver assistant, vendor-managed seats, or generated code nobody will review.
How the prompt file, models, and preprompts fit together
Think of three layers, and keep them separate when troubleshooting. The prompt file is your specification. The model is where generation happens. The preprompts are the agent’s identity and working rules.
By default, GPT Engineer supports OpenAI models via the OpenAI API or Azure OpenAI API, as well as Anthropic models. With extra setup, the official documentation covers open source and local models, so the same prompt-file workflow can run against a local route when your hardware fits.
Preprompts are how you make the agent remember how you want code to look between projects. You can override the preprompts folder with your own version using the --use-custom-preprompts argument. For a small business, that is where your stack choices, naming rules, and testing expectations belong, written once instead of repeated in every prompt file.
Vision input is available for vision-capable models. You can pass an image directory with the --image_directory flag so UX or architecture diagrams become extra context for generation. Keep that for projects where a diagram genuinely changes the output; text specifications stay easier to review.
For a supervised terminal agent instead of prompt-file generation, see our Open Interpreter guide. For a maintained terminal pair programmer, see our Aider guide. GPT Engineer’s difference is whole-codebase generation from one specification file.
Routes to install GPT Engineer
| Route | Best for | Main requirement | Watch out for |
|---|---|---|---|
| Stable pip install | Most trials and daily use | Python 3.10–3.12 | Pin your environment so updates do not surprise you |
| Development clone with Poetry | Contributors and auditors | Git plus Poetry | You maintain the checkout yourself |
| Docker | Isolated trials | Docker, per the repository Docker instructions | Generated files and keys still need your review |
| GitHub Codespaces | Browser-only trials | A GitHub account with Codespaces access | API keys in a cloud workspace need extra care |
This guide uses the stable pip route because the README lists it first for the stable release. Use the same route for your trial and your runbook so the test matches production.
Requirements before you install
You need Python 3.10 to 3.12. The README states active support for Python 3.10–3.12, and notes that 0.2.6 was the last version to support Python 3.8–3.9. Check your version before installing, because a Python 3.13 or 3.9 environment turns a simple install into a debugging session.
You need a model route. The default setup uses an OpenAI API key, and the README also covers Azure OpenAI, Anthropic models, and open source local models through the official documentation. Decide your route before the first run, and confirm the key belongs to the account you intend to bill.
You need Git discipline even though GPT Engineer works on plain folders. A generated codebase without version control is hard to inspect and harder to revert. Initialize Git in your project folder before the first generation so every run produces a diff you can read.
Decide your test scope before you install. One small project, one clear prompt file, and one acceptance check you can run yourself. A vague first test teaches you nothing about whether the tool fits your work.
Step 1: prepare a project folder and a test prompt
Create an empty folder for your project anywhere on your computer. Inside it, create a file called prompt with no extension, and fill it with instructions for the software you want.
Write the prompt like a specification, not a wish. Name the stack, the features, the data shape, and what done means. For example: a small Python CLI that reads a CSV of invoices, totals them by client, and prints a summary, with a test file included. Record the model and prompt version that pass, so later runs are comparable.
Keep secrets out of the prompt file. API keys belong in environment variables or a .env file that stays out of version control, never inside the specification the model reads as project context. If the project touches customer data, use synthetic data for the first test.
Step 2: install GPT Engineer with pip

For the stable release, run the official install command:
python -m pip install gpt-engineerInstall into a virtual environment dedicated to this tool. GPT Engineer pulls in its own dependency set, and a dedicated environment keeps its versions from colliding with your other Python work. Activate the environment before every run so the gpte command resolves to the install you tested.
For a development install instead, the README gives the clone route:
git clone https://github.com/gpt-engineer-org/gpt-engineer.git
cd gpt-engineer
poetry install
poetry shellUse the development route only when you intend to read or change the source. For business use, the stable pip route is the one your runbook should name, with the exact version recorded after install.
Step 3: set up your API key safely

Choose one of the setup routes the README names. The environment-variable route:
export OPENAI_API_KEY=your-keyOr the .env route: copy .env.template to a file named .env and add your OPENAI_API_KEY there. For custom models, including local and Azure routes, follow the official open-models documentation instead of improvising variables.
Protect the key like a password. Never commit .env to Git, never paste the key into the prompt file, and never share screenshots that show it. If a key leaks into a generated file or a repository, rotate it immediately; generated code is exactly the place stray secrets hide.
Set a spending limit on the provider account before your first generation. GPT Engineer can make repeated model calls during a run, and a limit turns an experiment into a bounded cost instead of an open-ended one.
Step 4: generate your first codebase
Run GPT Engineer against your project folder with a relative path:
gpte projects/my-new-projectThe README example runs gpte <project_dir> from the gpt-engineer directory root with the new folder in projects/, but the folder can live anywhere on your computer. The prompt file inside it drives the generation.
When the run finishes, read before you run. Open the generated files, check the structure against your specification, and look for anything you would not ship: hardcoded secrets, unsafe defaults, or dependencies you do not recognize. Then run the project’s own start or test command yourself and record what passes.
Commit the generated state to Git before asking for changes. That commit is your rollback point, and it makes the next step measurable instead of impressionistic.
Step 5: improve existing code with -i mode
To improve existing code, place a prompt file describing the improvement inside the folder, then run:
gpte projects/my-old-project -iThe -i flag tells GPT Engineer to work on the existing codebase instead of generating from scratch. Write improvement prompts narrowly: one feature, one fix, one refactor at a time. Broad improvement prompts produce broad diffs, and broad diffs are where review quality goes to die.
After each improve run, read the full diff, run your tests, and commit only what you can explain. If a run goes sideways, revert to the previous commit and rewrite the prompt smaller. That loop — prompt, generate, review, commit — is the product. Skipping the review step is how generated code becomes production incidents.
First-run security steps you must not skip
Treat generated code as untrusted code. GPT Engineer writes and can execute code during its workflow, so run first trials in a folder with no customer data, no production credentials, and nothing you cannot delete.
Keep API keys out of every file the tool generates or reads as context. Use environment variables or a .env file excluded from Git, and check generated files for leaked secrets before committing.
Review dependencies before installing anything generated code suggests. A generated requirements list is a proposal, not an approval. Install only packages you recognize, from their official sources, at versions you choose.
Run generated projects with the least access that works. A prototype does not need your production database, your cloud credentials, or your real customer list. Synthetic data proves the workflow at a fraction of the risk.
Read the project’s terms before business use. The README states that by running gpt-engineer, you agree to its terms of use. That is a one-minute read that belongs in your adoption checklist, alongside the MIT licence notice.
Backup and update routine
Your backup unit is the project folder plus its Git history. Commit after every generation you accept, and push to your normal remote if the project matters. The prompt file and any custom preprompts are part of the project record; keep them in version control so a result can be reproduced.
Pin the GPT Engineer version in your environment record. When you update with pip, re-run your small acceptance project before trusting the new version on real work. A generation tool changing behavior between versions is normal; discovering that on a client project is not.
Keep your Python version inside the supported 3.10–3.12 range for this tool. If your main projects move to a newer Python, keep a separate environment for GPT Engineer rather than forcing the tool into an unsupported interpreter.
Back up your preprompts separately. They encode how your business wants code written, and losing them means re-teaching the tool your standards one prompt at a time.
Common errors and fixes
Install fails or the gpte command is not found. Check that you installed into the environment you activated, and confirm your Python version is 3.10–3.12. Most not-found errors are environment mix-ups, not broken packages.
The run fails on model access. Confirm the API key is set in the same shell that runs gpte, or that .env sits where the tool expects it. Verify the key on the provider’s official page before changing anything else.
Generation ignores your specification. Your prompt file is probably too vague or missing. The file must be named prompt with no extension, inside the project folder you pass to gpte. Tighten the specification: stack, features, data shape, and acceptance check.
Improve mode changes too much. Your improvement prompt was too broad. Revert to the previous Git commit, split the request into one change, and run again. Narrow prompts produce reviewable diffs.
Generated code will not run. Read the error before regenerating. Missing dependencies, wrong Python versions, and placeholder values are the usual causes. Fix the environment first; regenerate only when the code itself is wrong.
Costs surprise you. Set a provider spending limit, shorten prompts, and use a cheaper or local model route for drafts. Generation runs make repeated model calls, so cost control belongs in setup, not in hindsight.
Tips and tricks that save money
Write specifications like contracts. Every ambiguity in a prompt file becomes model calls spent guessing, and usually a second run spent correcting. Ten minutes of specification saves real money.
Use preprompts for standing rules. Stack choices, naming conventions, and test expectations belong in custom preprompts, written once, instead of repeated in every project prompt.
Prototype with the cheapest model route that passes your acceptance check, then spend on stronger models only for the final generation. Draft quality and final quality are different purchases.
Commit before every improve run. Rollback is free; untangling a bad generation by hand is not.
Keep a prompt library. Specifications that produced good codebases are reusable assets. Save them with the model and version that passed, and your next prototype starts from proven text.
Generate small, then grow. A working core you understand beats a large codebase you cannot review. Add features one improve run at a time.
The real cost maths

GPT Engineer’s licence fee is $0 under MIT. The comparison anchor is Copilot Business at $19 USD per user per month on official GitHub Docs, which includes 1,900 AI credits per user. Three seats cost $57 a month, or $684 a year, before overage.
Now the scenario. A three-person team prototypes two small internal tools a month. With GPT Engineer, the licence line is $0, and the monthly model spend is whatever your provider charges for those generation runs — check your provider’s official pricing page, because model prices differ and change. The break-even line is exact: GPT Engineer wins on cash whenever your monthly model spend plus the value of extra review time stays under $57, the three-seat Copilot Business equivalent.
Run the lean case. If your generation runs cost $20 a month in model usage and review fits inside work you already do, the annual cost is $240 against $684 — a $444 saving, with the catch that you own the tooling and the review.
Run the heavy case. If repeated regenerations push model spend to $80 a month, the annual cost is $960, which loses to the $684 subscription before counting review time. The licence did not change; your usage discipline did.
That is the honest shape of this decision. GPT Engineer removes the seat fee and replaces it with variable model spend plus your supervision. Teams with tight prompts and real review habits keep the saving. Teams that regenerate instead of specifying pay more than the subscription they avoided.
When not to install GPT Engineer
Skip GPT Engineer when nobody on the team will read generated code. Unreviewed generation is not a saving; it is deferred debugging with interest.
Skip it when you need a maintained daily-driver assistant with vendor support, seat administration, and policy controls. The README itself points maintained-CLI readers toward Aider and managed-service readers toward gptengineer.app. Take the hint when it matches your need.
Skip it when your Python environment cannot stay in the 3.10–3.12 range, or when API keys cannot be protected to your standard. Both are setup facts, not problems to discover mid-project.
Skip it for production systems where generated code would touch payments, customer data, or safety-critical logic without a senior review process. Prototype there if you must; ship only what your team fully understands.
Pros and cons
Pros
- $0 MIT licence fee, including commercial use under MIT terms
- Whole-codebase generation from one plain
promptfile - Improve mode (
-i) for existing codebases - OpenAI, Azure OpenAI, Anthropic, and local model routes
- Custom preprompts that carry your coding standards between projects
- Vision input for diagrams with vision-capable models
- Simple stable install with pip on Python 3.10–3.12
Cons
- You own API keys, review, updates, and generated-code risk
- Model costs vary by provider and must be checked on official provider pages
- The repository is archived and read-only since April 22, 2026, so no upstream fixes are coming
- Broad prompts produce broad, hard-to-review diffs
- No vendor support desk or seat administration is included
- Python range is fixed at 3.10–3.12 for current support
Our verdict
Install GPT Engineer when you want fast, prompt-file codebase generation for prototypes and small tools, and your team will actually review what it produces. Use Python 3.10–3.12, install with pip into a dedicated environment, protect your API key, write a tight specification, and prove one small project with a diff you can explain before trusting it further.
The maths favors GPT Engineer when disciplined prompts keep model spend under the seat equivalent: $0 in licence fees against $684 a year for three Copilot Business seats before overage, with a $57 monthly break-even line for that team. The maths flips when regeneration habits push model spend past that line, or when managed seats and vendor operations matter more than generation freedom.
Choose Copilot Business when managed access, pooled credits, and vendor operations matter more. Choose GPT Engineer when specification-driven generation, model choice, and local control matter more — and when your review habit is real.
FAQ
Is GPT Engineer free for a business?
The software licence fee is $0 under the MIT licence, including commercial use under the licence terms. You still pay for any hosted model provider you choose, local hardware and electricity for local models, and the review time to supervise generated code.
What Python version does GPT Engineer need?
The README states active support for Python 3.10–3.12. Version 0.2.6 was the last release to support Python 3.8–3.9, so use a 3.10–3.12 environment for a current install.
How do I generate code with GPT Engineer?
Create a project folder, put a file named prompt with your specification inside it, set your API key, and run gpte <project_dir>. To improve existing code instead, add a prompt file describing the change and run gpte <project_dir> -i.
Can GPT Engineer run with a local model?
Yes. By default it supports OpenAI models via the OpenAI API or Azure OpenAI API, as well as Anthropic models, and the official documentation covers open source and local model setup. Local quality and speed depend on your hardware and model choice.
When should a small business skip GPT Engineer?
Skip it when nobody will review generated code, API keys cannot be protected, or managed seats and vendor support matter more than local control. In those cases, a managed per-seat subscription is the safer purchase.
Strategic Pivot
Before you commit to any AI coding stack, run your own numbers. Our free AI Cost Calculator helps you compare licence fees, seat costs, and usage spend side by side, so the GPT Engineer versus subscription decision rests on your figures, not on a headline price.
Sources
- GPT Engineer official GitHub repository and README: https://github.com/gpt-engineer-org/gpt-engineer
- GPT Engineer LICENSE (MIT): https://github.com/gpt-engineer-org/gpt-engineer/blob/main/LICENSE
- GPT Engineer on PyPI: https://pypi.org/project/gpt-engineer/
- GPT Engineer open models documentation: https://gpt-engineer.readthedocs.io/en/latest/open_models.html
- GitHub Copilot billing for organizations (official GitHub Docs): https://docs.github.com/en/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization
Price note — updated December 4, 2026: Prices in this post were checked on December 4, 2026. When you are reading this, the price may be lower or higher, so check the official pricing page before buying.
Pros
- $0 MIT licence fee
- whole-codebase generation from one prompt file
- improve mode with -i for existing codebases
- OpenAI, Azure OpenAI, Anthropic, and local model routes
- custom preprompts for standing coding rules
- vision input for diagrams
- simple pip install on Python 3.10-3.12
Cons
- repository archived and read-only since April 22, 2026
- you own API keys, review, updates, and generated-code risk
- model costs vary by provider and must be checked on official provider pages
- broad prompts produce broad diffs
- no vendor support desk or seat administration is included
- Python range fixed at 3.10-3.12
Install GPT Engineer when you want fast, prompt-file codebase generation for prototypes and small tools, and your team will actually review what it produces. Use Python 3.10-3.12, install with pip into a dedicated environment, protect your API key, write a tight specification, and prove one small project with a diff you can explain before trusting it further. The maths favors GPT Engineer when disciplined prompts keep model spend under the seat equivalent: $0 in licence fees against $684 a year for three Copilot Business seats before overage, with a $57 monthly break-even line for that team. The maths flips when regeneration habits push model spend past that line, or when managed seats and vendor operations matter more. Choose Copilot Business when managed access, pooled credits, and vendor operations matter more. Choose GPT Engineer when specification-driven generation, model choice, and local control matter more, and when your review habit is real.
