curl --request POST \
--url https://paradigm.lighton.ai/api/v3/company/models \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Gemma 4 (local LM Studio)",
"litellm_model": "openai/google/gemma-4-e4b"
}
'{
"name": "Gemma 4 (local LM Studio)",
"litellm_model": "openai/google/gemma-4-e4b",
"model_type": "Large Language Model",
"endpoint": "http://host.docker.internal:1234/v1",
"api_key": null,
"temperature": 0.2
}Models
Create a custom model
Register a new custom ML model for the authenticated user’s company. The litellm_model field is immutable after creation. For OpenAI-compatible endpoints (LM Studio, Ollama), prefix with ‘openai/’ (e.g. ‘openai/llama3’). An optional temperature is applied to every request sent to this model, in place of whatever the calling feature would otherwise use. Some models accept exactly one temperature and are set to it regardless of what is submitted; the model catalogue reports that value as required_temperature. Requires company admin role.
POST
/
api
/
v3
/
company
/
models
curl --request POST \
--url https://paradigm.lighton.ai/api/v3/company/models \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Gemma 4 (local LM Studio)",
"litellm_model": "openai/google/gemma-4-e4b"
}
'{
"name": "Gemma 4 (local LM Studio)",
"litellm_model": "openai/google/gemma-4-e4b",
"model_type": "Large Language Model",
"endpoint": "http://host.docker.internal:1234/v1",
"api_key": null,
"temperature": 0.2
}Authorizations
Body
application/jsonapplication/x-www-form-urlencodedmultipart/form-data