Custom Inference Provider
Custom Inference Provider connects OpenCore to a model service that uses a LiteLLM-compatible provider definition. The provider configuration and its models are saved together; a provider with no valid model name cannot be enabled.
Compatibility
Use this flow when the service appears in the Provider selector or has a LiteLLM provider ID that the selector accepts. The configured endpoint must be reachable from the OpenCore backend, and the provider must support the request shape for each model capability you declare.
Custom inference works in Lite and Standard because language-model requests do not require OpenSearch. Standard is still required for connector-backed knowledge and indexing.
Add the provider
Open Models & Capabilities, choose Language Models, and add a Custom provider. Complete the provider fields before saving:
The Provider and Display Name are validated in the normal Admin flow. Add at least one model before submitting the form.
Optional fields
Do not place provider credentials in Agent instructions, chat messages, model names, environment-variable examples, or source control. Use placeholder values in shared troubleshooting material.
Add models
Use Add Model to configure more models under the same provider. Keep each model name exactly aligned with the provider’s accepted identifier and declare Text & Image only after verifying the endpoint accepts image input.
Access
Access controls are shown in the normal Admin configuration flow, not the shortened onboarding form. Review access again whenever a model is added or its intended audience changes.
Verify
- Save the provider and confirm that OpenCore reports it as enabled.
- Confirm that every configured model appears on Language Models for an identity that should have access.
- Send a representative text request. For a Text & Image model, also test an image request and confirm the provider actually accepts it.
- If the request fails, recheck Provider, API Base URL, API Version, provider-specific Environment Variables, and the protected credential described in Model Credentials.