Plandex
Plandex
A terminal coding agent built for large tasks. Custom providers are a self-hosted feature.
Step by step
01
Self-host Plandex
Custom providers do not work on Plandex Cloud.
02
Edit custom models
Run plandex models custom and add the provider + model below.
03
Export the key
Export the env var you named in apiKeyEnvVar.
04
Select it
Add the model to a model pack and pick it.
Copy this
plandex
// plandex models custom → custom-models.json
{
"providers": [
{ "name": "luxechain", "baseUrl": "https://api.luxechain.si/v1", "apiKeyEnvVar": "LUXECHAIN_API_KEY" }
],
"models": [
{
"modelId": "luxechain-model", "publisher": "LuxeChain", "description": "LuxeChain model",
"defaultMaxConvoTokens": 50000, "maxTokens": 128000,
"maxOutputTokens": 8192, "reservedOutputTokens": 8192,
"preferredOutputFormat": "xml",
"providers": [ { "provider": "custom", "customProvider": "luxechain", "modelName": "YOUR_MODEL_ID" } ]
}
]
}
# export LUXECHAIN_API_KEY="lxc_live_YOUR_KEY"
# then add the model to a model pack and select it
Custom providers are self-hosted only (not Plandex Cloud). Defining a provider is not enough: you must also define a model and reference it from a model pack.