OpenAI Compatibility
“OpenAI-compatible” in FeltnerAI refers to the upstream provider you connect — the model service FeltnerAI calls on your behalf. FeltnerAI speaks the OpenAI Chat Completions protocol to that provider so you can bring almost any compatible service.
What a compatible provider must offer
Section titled “What a compatible provider must offer”A provider works with FeltnerAI if it implements the OpenAI-style API surface:
- Base URL — the root of the provider’s OpenAI-compatible API.
- Chat completions — a streaming
chat/completionsendpoint. - Model discovery — a
modelsendpoint FeltnerAI calls to list available models. - Authentication — a bearer API key, and/or custom secret headers the provider requires.
This covers the OpenAI API itself as well as the many self-hosted servers and hosted gateways that implement the same contract.
How FeltnerAI uses the provider
Section titled “How FeltnerAI uses the provider”- You add the provider during setup or from Admin → Providers.
- FeltnerAI validates the credentials with a live connection test before saving.
- On save, FeltnerAI discovers models from the provider’s model endpoint.
- When a user sends a message, FeltnerAI calls the provider’s streaming chat endpoint and
normalizes the response into its own SSE events (
started,delta,completed,error) for the client.
Provider API keys and custom secret headers are encrypted at rest with the server’s local encryption key.
Why this design
Section titled “Why this design”Normalizing at the server keeps clients simple and consistent, keeps your provider credentials on the server (never shipped to clients), and lets you switch providers without changing how clients behave.
See Configure Providers for the step-by-step setup.