HS code classification with AI: real examples, how accurate ChatGPT is, and a safe workflow
AI suggests tariff (HS) codes from product descriptions with reasoning, so classifiers review suggestions instead of researching from scratch.
Short answerNot reliably enough to use without checking. In the ATLAS benchmark of 200 US customs rulings, GPT-5-Thinking got the exact 10-digit HTS code right 25% of the time. Use AI to suggest candidate headings and the questions that decide between them, then verify in the HTS, check CBP rulings, and have a licensed broker or your compliance team confirm.
Real-world examples
Zalando
Cut classification time per item by 71% and saved 49% of classification resources.
Source: MIC blog
igus
Saved 75% of daily classification time while handling 300–500 products a day.
Source: traide.ai success story
How accurate is AI at HS classification?
Two recent benchmarks tested AI models against codes set by experts:
- ATLAS (arXiv 2509.18400) tested models on 200 US classifications drawn from CBP rulings. GPT-5-Thinking got the full 10-digit HTS code right in 50 of 200 cases (25.0%), and 55.5% at 6 digits. Gemini-2.5-Pro-Thinking got 13.5% at 10 digits. The researchers' own model, fine-tuned on rulings, reached 40% at 10 digits and 57.5% at 6 digits.
- HSCodeComp (ACL 2026, Alibaba Group) used 632 e-commerce products with expert-annotated 10-digit codes. The best AI agent reached 46.8%, against 95.0% for human experts.
So a general chatbot asked cold for a 10-digit code is wrong most of the time. The specialist tools in the Tools list below are a different case: they're built for classification and, like the Zalando and igus examples above, used inside a review process rather than as the final answer.
A safe 6-step workflow for using AI on classification
- Write a complete product description: what it is, material (by weight or value), function, how it's used, and how it's packaged or sold.
- Ask AI for candidate 6-digit headings with GRI reasoning and the facts that would decide between them. The starter prompt below does this.
- Verify the heading text and the section and chapter notes in the USITC HTS search. CBP's informed compliance publication on tariff classification explains the General Rules of Interpretation.
- Search CBP rulings in CROSS for similar products and read the reasoning, not just the code.
- Document the description, the candidates, your reasoning and the rulings you consulted. CBP's Rulings Program publication says the importer of record is "responsible for using reasonable care to enter, classify and determine the value of imported merchandise".
- Escalate to a licensed customs broker or your compliance team. For high-volume or uncertain items, consider requesting a binding ruling under 19 C.F.R. Part 177.
Worked example: an insulated drinking bottle
Fictional productFictional product used for illustration. This is not a classification ruling or customs advice.
Description: "Example Outdoor Co. 24 oz (0.71 L) bottle: double-wall 18/8 stainless steel, vacuum-insulated, screw lid with a plastic loop, sold individually."
What a good AI answer to step 2 looks like (heading text checked in the USITC HTS search):
| Candidate | HTSUS text | Why it's a candidate | Deciding fact |
|---|---|---|---|
| 9617.00 | "Vacuum flasks and other vacuum vessels, complete; parts thereof other than glass inners", with a subheading for vessels "having a capacity not exceeding 1 liter" | Described as vacuum-insulated | Is there a true vacuum between the walls (not just air or foam)? What is the capacity? |
| 7323.93 | Heading 7323, "Table, kitchen or other household articles and parts thereof, of iron or steel", subheading "Of stainless steel" | Stainless steel household article | Comes into play only if it isn't a vacuum vessel |
Questions the AI should raise: confirm the vacuum construction from the supplier's spec sheet, confirm the capacity, and check whether the lid materials change anything.
What the human does next: read the heading and chapter notes in the HTS, then search CROSS. Two real rulings we opened for similar products:
- NY N353266 (January 28, 2026) classified a vacuum-insulated stainless-steel water bottle in 9617.00.1000 after the CBP laboratory found it was a double-walled vacuum vessel.
- HQ H303684 (July 7, 2021) revoked four earlier rulings that had put double-walled stainless-steel containers with a partial vacuum in heading 7323, and classified them in 9617.00.10. It cites Note 1(m) to Section XV, which keeps Chapter 96 articles out of the base-metal chapters.
That second ruling is the lesson: even CBP's own classifications of near-identical bottles changed. A ruling applies only to the goods it describes, so use rulings for their reasoning, record which ones you relied on, and confirm with a broker. Duty rates are deliberately left out here because additional duties change often; check the HTS and see our #tariffs coverage.
Before you paste product specs into any AI tool, read Is it safe to paste supplier data into ChatGPT? Export-controlled technical data never goes in without written approval from export compliance (see #export-controls). Related: trade document processing, Copilot prompts for procurement and more AI in trade news.
Tools
Free or low-cost options first, then enterprise platforms.
- USITC HTS search (free)
- General-purpose AI assistant (ChatGPT, Claude, Gemini, Copilot; free tiers) for first-pass reasoning
- traide.ai
- MIC
- Descartes
Step-by-step guides for this job (free, with fictional worked examples):
FAQ
Can ChatGPT find the right HS code?
Not reliably on its own. In the ATLAS benchmark of 200 US classifications from CBP rulings, GPT-5-Thinking got the exact 10-digit code right 25% of the time and 55.5% at 6 digits. In HSCodeComp, the best AI agent reached 46.8% against 95.0% for human experts. Use AI for candidate headings and questions, then verify.
What's the best AI for HS codes?
In the published benchmarks, models trained or adapted on customs rulings did better than general chatbots asked cold. Specialist classification tools, like those in the Tools list on this page, are built for this job. We don't rank vendors: test any tool on your own past classifications before you rely on it.
How do I classify an HTS code for my product?
Start with a complete product description, then apply the General Rules of Interpretation: read the heading text and the section and chapter notes in the HTS, compare candidates, check CBP rulings for similar goods, and document your reasoning. CBP's informed compliance publication on tariff classification explains the basics.
What is a CBP binding ruling, and how do I search them?
A binding ruling is CBP's written decision on how specific goods are classified, requested under 19 C.F.R. Part 177. You can search published rulings by keyword or tariff number in CBP's Customs Rulings Online Search System (CROSS) at rulings.cbp.gov. A ruling covers only the goods it describes.
Who is responsible if the HS code is wrong?
The importer of record. CBP says the importer of record is responsible for using reasonable care to enter, classify and determine the value of imported merchandise, and that failing to do so could delay release of the goods and, in some cases, lead to penalties. An AI tool doesn't change that.
Is it safe to paste product specs into an AI tool for classification?
Only into a tool your company has approved, and only after removing customer, program and part identifiers. Export-controlled technical data never goes into general AI tools without written approval from your export-compliance team. See our data-safety checklist for buyers.
Related Brief coverage
- 178 tariff exclusions, U.S. port fees and China's export-control pause all hit their end dates the week of November 9
- Imported robots and industrial machinery are now a national security issue, with talks before any tariff
- Mexico's customs agency shows a tool that flags undervalued imports
- Chip tariffs: the data-center exemption is still in limbo
More trade use cases
Vendor names are examples, not endorsements or paid placements. Links marked "affiliate link" may earn us a commission at no cost to you; that never affects which tools we list. Outcomes are as reported by the linked source. Anonymize data and use your company's approved AI tools.