Skip to main content
Custom LLM lets you connect Rapida to a self-hosted or third-party chat endpoint. The UI stores provider credentials and model options; integration-api resolves the custom-llm provider and routes requests through the selected API compatibility. Provider identifier: custom-llm

Where it is configured

1

Create the provider credential

In the Rapida dashboard, open Integrations > Models, choose Custom LLM, and create a credential.The backend also accepts snake case keys: api_compatibility and base_url.
2

Choose the custom model in the assistant

Open the assistant model settings, choose Custom LLM, and enter the model ID. The UI stores both model.id and model.name for custom model values.
3

Add model parameters

Use Model Parameters for provider-specific JSON. These parameters are merged into the request after standard model.* keys.

Compatibility values

If apiCompatibility is omitted, integration-api defaults to openai_chat_completions.

Credential arguments

Example credential value:

Model arguments

Example model parameters:
You can also pass direct model.* metadata keys. For example, model.temperature becomes temperature in the provider request.

Supported request parameters

For openai_chat_completions and openai_compatible, these keys are mapped to first-class Chat Completions fields when possible: Unknown parameters are passed as extra request fields. Use model.parameters for provider-specific fields such as top_k or chat_template_kwargs. For openai_responses, these keys are mapped when possible:

Examples

OpenAI-compatible server

Credential:
Assistant model:

OpenAI Responses compatible server

Credential:
Assistant model:

Backend mapping

integration-api resolves custom-llm in api/integration-api/internal/caller/caller.go. Chat and streaming requests route through api/integration-api/internal/caller/custom_llm. The credential parser validates:
  • baseUrl is present and non-empty.
  • apiCompatibility is a non-empty string when provided.
  • headers is a string map when provided.

LLM overview

Caller interfaces and model options.

Custom STT

Configure custom speech-to-text.