ModelEndpoint
Stability: beta -- This resource kind ships with
orloj.dev/v1and is suitable for production use, but its schema may evolve with migration guidance in future minor releases.
spec
provider(string, required): provider id (openai,anthropic,azure-openai,ollama,openai-compatible,mock, or registry-added providers).base_url(string)default_model(string, required): the model identifier sent in API requests.options(map[string]string): provider-specific options.auth.secretRef(string): namespaced reference to aSecret.
Defaults and Validation
providerdefaults toopenaiand is normalized to lowercase.default_modelis required. Validation fails if omitted.base_urldefaults by provider:openai->https://api.openai.com/v1anthropic->https://api.anthropic.com/v1ollama->http://127.0.0.1:11434openai-compatible-> (no default; must be set explicitly)
optionskeys are normalized to lowercase; keys/values are trimmed.
status
phase,lastError,observedGeneration
Example: examples/resources/model-endpoints/*.yaml
See also: Model endpoint concepts.