Last time I tried IPFS it was really slow, if you have to run a node to serve files then direct downloads are much better.
A simple extension would do, that manages models and exposes an interface to window so webapps can call it.
Like window.llm.generate({model,prompt})