Fine-tuning has a fixed training cost, but it can make every later request cheaper, because the behavior no longer has to be described in a long prompt. A few-shot prompt is a prompt that carries several worked examples, and it is sent and billed again on every call. So at low volume prompting is cheaper, and at high volume a fine-tune can win.
Take illustrative prices, not quotes from any provider. Prompting costs 0.009 dollars a request with no fixed cost. A fine-tune costs 2,000 dollars up front and then 0.0009 dollars a request, because its prompt is short. They cost the same where 0.009 x r = 2,000 + 0.0009 x r. Subtract 0.0009 x r from both sides: 0.0081 x r = 2,000, so r is about 246,900 requests a month. Below that volume prompting is cheaper; above it the fine-tune is.
Now add RAG at 500 dollars fixed and 0.0045 dollars a request. At 250,000 requests a month the three cost about 2,250, 1,625 and 2,225 dollars, so RAG is the cheapest. But a cost chart only compares tools that can each solve the problem. If your gap is a strict output format, RAG does not fix it at any price. Decide which tools can close the gap first, then compare cost among those.