Note

ChatGPT vs Claude for civil engineering: what each is good for, and why neither should do your calculations alone

A fair comparison for civil engineers: what ChatGPT and Claude document they can do, why an LLM should not be trusted with arithmetic or design checks unaided, and how to use code and tools so the numbers come from an engine you can verify.

People search for ChatGPT vs Claude for civil engineering hoping for a winner. This article will disappoint that hope on purpose.

There is no benchmark in this article. We did not run a comparison, and we will not quote one. Models are updated often, results depend heavily on how you ask, and a ranking published today can be wrong next month. What we can do honestly is three things:

  1. describe what each product documents that it can do, with links to the official pages;
  2. explain why an LLM — any LLM — should not be trusted to do arithmetic or design checks unaided;
  3. show a way of working with either assistant where the numbers come from code or an engine you can verify.

This note builds on two earlier pieces: same request, two results: your LLM does not calculate and prompt engineering for civil engineering.


What they have in common

ChatGPT (OpenAI) and Claude (Anthropic) are both general-purpose assistants built on large language models. For an engineer, that means:

  • they produce text: explanations, drafts, summaries, code;
  • they are not finite-element, hydraulic, or geotechnical solvers, and they are not certified design software;
  • they can be connected to tools. Both vendors document tool use (also called function calling) in their APIs, and both are listed among the clients that support the Model Context Protocol (MCP), the open standard for connecting AI applications to external systems.

The second point is the one that matters most, and it applies equally to both.


What each one documents (as of 26 November 2026)

Only features stated in the vendors’ own documentation are listed here. Plans and limits change; check the linked pages.

CapabilityChatGPTClaude
Run code inside the chatOpenAI’s help center: “For some data-analysis tasks, ChatGPT writes and runs Python code in a stateful Jupyter notebook environment.”Anthropic’s help center: Claude can “execute code to create and work with files” in an isolated sandbox, separate from your own systems.
Files it works withSpreadsheets (.xls, .xlsx, .csv), PDFs, and text/data files such as .json, .xml, .yaml, .txt, .md; availability “can vary by model, plan, workspace settings, and account capabilities”.Can create Excel (.xlsx), PowerPoint (.pptx), Word (.docx), and PDF files, plus Python scripts and PNG charts; the help center states it is available on all Claude plans.
Tools via APIFunction calling lets OpenAI models “interface with external systems”.Tool use lets Claude call functions you define or that Anthropic provides; the API also offers a code execution tool that runs Python and Bash in a sandboxed container.
MCPListed as an MCP client on modelcontextprotocol.io.Listed as an MCP client on modelcontextprotocol.io.

Read that table carefully: on paper, the two products cover very similar ground for engineering work. Both can write code and run it in a sandbox; both can be wired to your own tools. The differences that will matter to you are the ones you measure on your tasks, plus practical constraints such as your organization’s approved tools, data confidentiality rules, cost, and integrations.


What both are genuinely useful for

These are uses where the output is text or code that a competent engineer can read and check quickly:

  • Drafting and editing: reports, method statements, emails, technical memos.
  • Explaining: a concept from a manual, a section of a code you already have open, an error message from a program.
  • Summarizing and extracting: pulling a table out of a PDF, listing the assumptions in a report.
  • Writing code: a Python script for OpenSeesPy, a post-processing script for HEC-RAS or SWMM output, a spreadsheet formula. You run it; you check it.
  • Reviewing: “what is missing from this load list?”, “which inputs of this model are undocumented?” — as a second pair of eyes, not as the reviewer of record.

In all of these, the assistant proposes. You verify.


Why an LLM should not do your arithmetic or design checks unaided

An LLM generates its answer as text, one piece after another, choosing likely continuations given the context. Unless it calls a tool, it is not executing an arithmetic algorithm or a design procedure. That has concrete consequences for engineering work:

  • Plausible is not correct. A number can have the right order of magnitude and the right units and still be wrong.
  • Not reproducible. Ask the same question twice and you can get two different answers. That is sampling, not a rare bug — see your LLM does not calculate.
  • Units and conventions slip. kN versus kN/m, mm⁴ versus m⁴, sign conventions for moments: a text generator has no unit system to enforce consistency.
  • The wrong edition, the wrong clause. A design check depends on a specific code edition, national annex, load combination, and project criteria. An assistant answering from memory can mix editions or invent a clause number that looks real.
  • No evidence trail. A paragraph in a chat cannot be rerun, versioned, or audited like a script or a solver input file.

None of this depends on whether you use ChatGPT or Claude. It is a property of how language models work without tools.


How to use either assistant with code and tools

The pattern below works the same way with ChatGPT and with Claude, because both can write code and both can run it in a sandbox. You can also run the code locally.

1. Ask for code, not for a number

Instead of “what is the tip deflection of this cantilever?”, ask:

Write a Python script using OpenSeesPy that models a 2D cantilever
(H = 3 m, E = 200 GPa, I = 1.0e-4 m^4, lateral tip load 10 kN, units kN-m),
runs a linear static analysis, prints the tip displacement, and also prints
the closed-form value P*H^3/(3*E*I) for comparison.
Use only commands from the official OpenSeesPy documentation and
say which page each command comes from.

2. Run it where you can see the output

Run it in the assistant’s sandbox or on your own machine. Read the output, not the assistant’s summary of the output.

3. Check it independently

Compare against a closed form, an equilibrium check, or a known example. Our OpenSeesPy tutorial does exactly this: the cantilever matches P·H³/(3EI), and the portal frame reactions satisfy ΣFx = 0 and ΣM = 0.

4. Keep the script as the evidence

The script, its inputs, the program version, and the output are the record. The chat is not.

5. Use tools for anything repeated

If you do the same kind of check every week, connect the assistant to a tool that does it deterministically — a script, a validated spreadsheet, or an engine exposed through function calling or MCP — instead of asking it to “reason” through the numbers each time.


How to choose between them

Do your own small, fair test. It costs an afternoon and is worth more than any ranking on the internet:

  1. Pick five to ten tasks you actually do: a memo, a table extraction, a script, a code-clause explanation from a document you provide.
  2. Make sure you know the correct answer for each one.
  3. Give both assistants the same instructions and the same files.
  4. Score them on what matters to you: correctness, how easy the output is to verify, and how often you had to correct them.
  5. Factor in what is not technical: your organization’s policy, where data are processed, cost, and the integrations you need.
  6. Repeat the test when the models change.

You may find one is better for some of your tasks and the other for others. That is a fine outcome. What is not fine is letting either one produce a number you sign without code, an engine, and a check behind it.


Sources

  1. OpenAI Help Center — Data analysis with ChatGPT.
  2. OpenAI API documentation — Function calling.
  3. Anthropic Help Center — Create and edit files with Claude.
  4. Anthropic API documentation — Tool use with Claude and Code execution tool.
  5. Model Context Protocol — What is the Model Context Protocol (MCP)?.

Evaluation and limitations

Treat the notes below as evaluation context, not as a verified calculation or code check.

Choose by running your own representative tasks with known answers, under your organization's data policy. Whichever assistant you use, the numbers you sign must come from code or an engine you can rerun and check.