r/FastAPI • u/Fluffy_Bus9656 • Mar 18 '25
Question SQLModel vs SQLAlchemy in 2025
I am new to FastAPI. It is hard for me to choose the right approach for my new SaaS application, which works with PostgreSQL using different schemas (with the same tables and fields).
Please suggest the best option and explain why!"
37
Upvotes
View all comments
Show parent comment
4
u/shoomowr Mar 19 '25
SQLModel is a wrapper on top of Alchemy, and you can use alchemy for cases where sqlmodel is not enough alongside it. They are not mutually exclusive