Class OpenAICompatibleProvider

All Implemented Interfaces:
ExtensionPoint, Describable<BaseAIProvider>

public class OpenAICompatibleProvider extends BaseAIProvider
Generic provider for any OpenAI-compatible endpoint: LiteLLM, OpenWebUI, self-hosted AI proxies and enterprise API gateways.

Unlike OpenAIProvider, the API key is optional so that unauthenticated local gateways and proxies can be used without one. The model name is free text because gateway model names are defined by the gateway (e.g. gpt-4o, azure/gpt-4o, claude-3-5-sonnet).