OpenAI provides tools to fine-tune models:
https://platform.openai.com/docs/guides/fine-tuning
The largest Davinci model currently costs $0.03 per 1k of training tokens during fine-tuning, so you could fine-tune a model on 10M tokens for one epoch at a cost of $300.