When to add a custom provider
Deskgram can connect to a separate AI service with a compatible API and expose its models in supported AI modules. You need the API base address, key and exact model identifiers. The provider name you enter is only a display label, not proof of compatibility.
The implemented endpoints are /models for discovery and /chat/completions for generation. Services may require different authentication, response formats or extra parameters. An “OpenAI-compatible” label alone does not guarantee compatibility.
Prepare API access
Find the supplier's API documentation, create a key with the required permissions, and check billing, available models and limits. A browser-chat subscription may not include API access.
https://provider.example/v1 is an illustrative API root, not a working service. Do not paste a full /chat/completions URL into Base URL: Deskgram appends the operation path. Use the API version and root documented by your supplier.
Keep the key out of support messages and screenshots. Revoke and replace it in the supplier's dashboard if exposed.
Add the connection and models
- Open Settings → API → custom providers and the add form.
- Enter a recognizable display name.
- Fill in Base URL and API Key.
- Add at least one model. Its ID must be the exact technical identifier. The optional friendly name does not replace that ID in requests.
- If you add several models, mark the default with the star. The first added model is initially the default; check the selection before saving.
- Enable balance support only for a connection that actually supports that check. The checkbox does not provide a universal balance API for every service.
What Test verifies
Test first attempts to retrieve the model list. You can add discovered models individually or all at once, then verify IDs and the default selection. Successful discovery does not establish generation permission for a particular model.
If discovery is unavailable but you manually supplied a default model, the check may send a short generation request. This consumes quota and can be billed. If discovery fails and the ID is unknown, find it in the provider's documentation, enter it manually and test again.
Save after verification. Saving requires a name, URL, key and at least one model ID. Then choose the provider and model in the intended AI module.
Separately test a short generation for language, response format and absence of error text. Use the module's preview if one is available. Otherwise first verify the model in the supplier's API console, then make a small module run on your own test data. Do not send experimental results to unrelated recipients. This check serves a different purpose from model discovery.
Errors, prices and fallback
For failures, inspect the API root/version, key, model permissions, exact model ID, quota and log response. Changing the display name does not fix an invalid ID. Repeated requests do not replace topping up the provider balance or adjusting its limits.
Multiple models on a card make them selectable. They do not promise automatic switching between all custom models or providers after a failure. Built-in providers have separate fallback logic; that behavior cannot be assumed for every custom connection.
API costs, free allowances and limits come from the supplier. A zero or missing price in the interface does not mean generation is free. This also applies to Mistral: check its current access, billing and limits. A successful test does not guarantee error-free future responses.
Interface screenshots
The screenshots use the Russian interface. Some layout details may differ in your build; use the steps above for current fields. New model/default controls may be absent from older images.




