I would recommend you make it open source. I've also done this the past as well.
Even if it's a project that is not maintained you don't know how it might help someone else.
So for an API call that costs $0.50, the end user is charged $1; and from that AI API earns $0.50, the webapp creator earns $0.40 and the host earns $0.10.
I'm trying this out with https://codeplusequalsai.com right now but it's not clear to me yet that it will take off!
But clearly, the value to you should be that you could earn $ based on the token usage from end-users.
What's your target audience? developers?
RAG solutions seem to have their limitations, and fine-tuning might be a more effective approach.
How much effort is required to turn code into something one can use for fine-tuning?
How are people using auto-edits and these kind of higher-level abstraction?