Can AI Read an IFC File? What Works Today and What Does Not
The honest answer sits between "no" and the sales-pitch "yes" you'll see elsewhere, here's exactly where the line is.
Yes, an AI can read an IFC file, but not directly, not the way it reads a PDF or a block of pasted text. A raw IFC file has to be opened by a tool first, and the AI works through that tool rather than through the file itself.
Why a language model gets lost in a raw IFC file
Two separate problems stack on top of each other. The first is sheer size: a 2026 paper on querying IFC models with language models (IfcLLM) reports that FZK-Haus, one of the small standard test buildings used in BIM research, tokenizes to around 1.7 million tokens on its own, well past what most models can hold in context, for what is a genuinely simple building. The second is structure: IFC's schema is deeply nested, with recursive placement hierarchies and specialized terminology that doesn't line up with how a language model reasons over ordinary text. Put those together and dropping a raw .ifc file into a prompt is close to the worst way to ask an AI a question about it.
What has to happen to the data first
The working pattern across current research is the same: don't hand the model the file, hand it a tool. MCP4IFC, a late-2025 open-source framework, connects an AI client to a Blender add-on (Bonsai, built on the IfcOpenShell library) through the Model Context Protocol. The model doesn't see STEP text at all, it gets a library of more than 50 named functions such as create_wall, plus a code-execution tool for anything the library doesn't cover, and query results come back as what the project describes as "compact, LLM-friendly summaries instead of raw IFC STEP text." IfcLLM takes a different route: it splits the model into a relational database (SQLite, for attribute and filter questions) and a graph database (Neo4j, for spatial questions like adjacency or routing), and an AI agent decides per question which one to query, retrying if the first attempt fails.
Worth a caveat: ifcJSON, a JSON serialization of the IFC schema maintained by the buildingSMART community, also exists and is sometimes mentioned in the same breath. It's a real, current specification (now at version ifcJSON-4), but its stated purpose is compatibility and easier data exchange for developers who've never worked with IFC's native EXPRESS/STEP format, not AI reasoning specifically. Using JSON instead of STEP doesn't by itself fix the size or schema-complexity problem above.
Where this actually works today
Asking questions about an existing model, rather than changing it, is the strongest use case right now. IfcLLM's 2026 results show 93.3% to 100% first-attempt accuracy across three real IFC models and 30 query scenarios, using an open-weight model (GPT-OSS 120B) that can run locally rather than through a paid API, with a fallback model resolving every query the first one missed. MCP4IFC demonstrates the same tool-based pattern going the other direction too, generating a simple house from a natural-language request, and querying or editing an existing model through the same interface, without a separate integration for every piece of software involved. The same "structured access beats raw text" pattern shows up in model checking too, see our piece on real AI use cases in model validation and clash detection for how that plays out on the construction-site side.
- It won't usefully read a raw
.ifcfile pasted straight into a prompt, the file has to go through a tool first, every credible 2026 approach does this. - It won't make complex edits to a real model with confidence yet. The best-scoring model in a 2026 editing benchmark (Gemini 3.0 Flash) averaged under half credit across 324 tasks, and no model fully solved more than 3.4% of them under a strict all-metrics standard.
- It won't preserve IFC semantics and relationships as reliably as it approximates shape. The same benchmark found models could often get the geometry roughly right while breaking the underlying classification or connections.
- It won't perform the same way twice without consistent tooling behind it, the results above depend on which tool-call architecture and which underlying model is doing the work, not on IFC alone.
None of this makes AI and IFC a bad combination, it makes "ask it questions" and "let it make changes unsupervised" two very different claims. The first one genuinely works well enough today to be worth setting up. The second doesn't, yet, no matter how it's marketed.
Working with structured BIM data is the skill underneath all of this, AI tooling just changes how you query it.
See the BIM to AI course →Frequently asked questions
Not usefully. A 2026 research paper found that even a simple test building (FZK-Haus) tokenizes to roughly 1.7 million tokens, which exceeds most models' context windows, and the IFC schema's deeply nested, recursive structure doesn't match how language models reason over text.
Two things: raw file size (a simple test house alone runs to about 1.7 million tokens once tokenized) and schema complexity, IFC uses deeply nested, recursive placement hierarchies and specialized terminology that doesn't align naturally with conversational reasoning.
The model needs tool-based access instead of a raw file dump, through something like IfcOpenShell function calls, a Model Context Protocol server such as MCP4IFC, or a relational and graph database built from the model, as in the IfcLLM framework.
For asking questions about an existing model, yes, reasonably well. The IfcLLM framework reported 93.3 to 100% first-attempt accuracy across three real IFC models and 30 query scenarios in 2026, using an open-weight model that can run locally.
Not yet, reliably. The BIM-Edit benchmark found the best-performing model averaged 49.48% across 324 editing tasks, and no model fully solved more than 3.4% of tasks under a strict pass standard.
Ready to
Get buildingSMART Certified?
By enrolling in this course, you will learn to:
-
Understand openBIM standards and how IFC enables vendor-neutral data exchange
-
Apply BIM concepts consistent with international standards and ISO 19650
-
Earn two verifiable certificates and get listed in bSI's global Professional Registry


