Whose provider account does this run on?
Yours. The account and the keys stay with the company that pays for the calls, so usage is visible to you in the provider dashboard without asking anyone. A leaked key has to be revoked straight away, which is why I do not keep it in the code. Who gets to read it is decided on your side.
What does the application do when the model does not answer?
That gets settled before launch, because a provider has its own outages and its own rate limits. The application waits for an answer up to a set limit and then reaches for it once more, after a pause. If nothing comes back even then, the user gets a message and the job moves to the queue or over to a person. What exactly the user sees depends on whether they are waiting at the screen or the work runs in the background.
Can this be moved to a different model later?
Calls to the provider live in a single module, so a change means rewriting that module. The prompts get written again for the new model and taken through the set of cases. How many answers come out differently shows on that pass, and that is when the cost of the move becomes known.
What drives the bill for the calls?
The number of calls and how much text goes into each one. The heaviest part is usually the context attached to the question: documents, conversation history, the instruction for the model. All of it travels to the provider with every request and all of it is counted. I am not going to reprint provider rates here, because the price list belongs to them and it changes without me. What the bill is doing shows in the call log as it happens, with a cost against every entry.
What is kept from each call?
That is something to settle together, and it is a decision of its own. Storing whole requests along with the answers helps when somebody asks why an answer read the way it did. It has a price: the text sent to the model then also sits in your logs, under the same rules as the data in your database. The other option is markers alone: prompt version, size, duration, cost. That choice comes back every time somebody asks about one particular answer from last week.