Thats an interesting test. Here's what I got from ChatGPT:
---GPT-3.5---
Here are some words that end in "agi":
Strategy
Swarajya
Arthroplasty
Sialagogue
Podagric
Gynecology
Physiognomy
Ophthalmology
Esophagitis
Otalgia
--- GPT-4 ---
Here are some words that end in "agi":
Swaggy
Raggi
Magi
Gagi
Stagi
Please note that some of these words may not be commonly used or may be specific to certain dialects or regions.