Accepted answer
Model the cost across the whole route, including the parts that are not the drug: consultation fees, laboratory monitoring, shipping, and the tests you will pay for yourself.
503A and 503B differ in what they are permitted to do and what they must demonstrate. A 503A pharmacy compounds against individual prescriptions, is exempt from current good manufacturing practice requirements, and is regulated primarily at state level with USP chapter compliance as the operative standard. A 503B outsourcing facility registers federally, must comply with cGMP, may prepare without patient-specific prescriptions, and is subject to FDA inspection. The practical consequence is that a 503B preparation carries release testing and a 503A preparation generally does not.
A beyond-use date for a compounded multi-dose preparation is set under USP chapter provisions on the basis of microbiological risk category and, where available, supporting stability data. In practice most beyond-use dates in this space are default values from the risk-category table rather than the output of a stability study, and the two should not be read as equivalent claims.
The statutory basis for the 503A/503B distinction is sections 503A and 503B of the US Federal Food, Drug, and Cosmetic Act as amended by the Drug Quality and Security Act of 2013, and the FDA’s guidance documents on each are the authoritative description of what is permitted.
The caveat is jurisdictional. Almost everything in this area is specific to a country and often to a sub-national jurisdiction, and a confident answer that does not name a jurisdiction should be treated as describing somewhere else.
Model twelve months, not one. The fee structures are designed to be compared monthly.
edited 13 Mar 2026 by u100_marks — added the citation requested in comments