Guide

How to Connect Custom AI Providers in Deskgram 2

Connect OpenAI-compatible AI providers to Deskgram 2 through API: Base URL, API key, model name, OmniRoute and custom model setup.

llm5 min2026-08-30

Key Takeaways

  • Open program settings.
  • Go to the API section.
  • Scroll to Custom AI providers .
  • Click Add provider .

How to Connect Custom AI Providers in Deskgram 2

Deskgram 2 includes built-in AI providers, but sometimes you may want to use another model, a routing service or your own OpenAI-compatible endpoint. The custom provider option was added for exactly that.

![OmniRoute interface](https://i.postimg.cc/X7j78xtW/omniroute.png "OmniRoute interface for routing AI API providers")

Compatibility requirement

The provider must support an OpenAI-compatible API format. If the service uses a different format, connect it through a router such as OmniRoute or another compatible gateway, then add the gateway endpoint to Deskgram 2.

Setup steps

  1. Open program settings.
  2. Go to the API section.
  3. Scroll to Custom AI providers.
  4. Click Add provider.
  5. Fill in provider name, Base URL, API key and model name.
  6. Test the connection.
  7. Save the settings.

![API settings](https://i.postimg.cc/TYdY9QBG/settings.png "API settings section in Deskgram 2")

What each field means

  • Name: your internal label, for example My AI Gateway.
  • Base URL: the API endpoint from the provider documentation.
  • API key: the private key from the provider account.
  • Model: the exact model identifier used by the provider.

![Adding a provider](https://i.postimg.cc/J4r4qKvS/dobavlenie-provaidera2.png "Custom AI provider fields in Deskgram 2")

Testing

Always run the connection test before using a provider in a real module. If the test succeeds, Deskgram 2 can pull available models or confirm that the selected model is usable.

![Connection test](https://i.postimg.cc/28k8wTgp/dobavlenie-provaidera-proverka.png "Successful custom AI provider connection test")

Using the provider

After saving, the custom provider appears in AI-enabled modules. Select it in the AI component, choose the model and run a small test campaign before scaling.

Summary

Custom providers are useful when you want more model flexibility, lower cost or a private gateway. Keep the provider OpenAI-compatible, test the connection and monitor the first outputs before using it in high-volume Telegram automation.

Helpful Links