Besides OpenAI there are some other api-compatible providers. Also, sometimes it can be necessary to use reverse proxy. It would be good to be able to customize api_base in settings.