> For the complete documentation index, see [llms.txt](https://docs.sigrex.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sigrex.io/llm/connecting-llm-service.md).

# Connecting LLM Service

You can connect **Sigrex** to popular **LLM providers** using your own API keys. Once connected, you’ll be able to interact with and switch between supported models directly from your assistant logic or trading tools.

## 🧠 Supported Providers

Sigrex supports all major LLM providers shown below:

| Provider                                               | API ID               |
| ------------------------------------------------------ | -------------------- |
| [Google Gemini](https://gemini.google.com/)            | `1`                  |
| [OpenAI](https://openai.com/)                          | `2`                  |
| [DeepSeek](https://www.deepseek.com/)                  | `3`                  |
| [Claude](https://claude.ai/)                           | `4`                  |
| [Mistral](https://mistral.ai/)                         | `5`                  |
| [Cohere](https://cohere.com/)                          | `6`                  |
| [Grok (xAI)](https://grok.com/)                        | `7`                  |
| [Alibaba Cloud (Qwen)](https://www.alibabacloud.com/)  | `8`                  |
| [Perplexity](https://www.perplexity.ai/)               | ~~`9`~~ (suspended)  |
| [Moonshot AI (Kimi)](https://www.moonshot.ai/)         | `10`                 |
| [Z.ai](https://chat.z.ai/)                             | `11`                 |
| [MiniMax](https://www.minimax.io/)                     | `12`                 |
| [Nvidia](https://build.nvidia.com/)                    | `13`                 |
| [Nous Research](https://portal.nousresearch.com/)      | `14`                 |
| [OpenRouter](https://openrouter.ai/)                   | `15`                 |
| [Xiaomi (MiMo)](https://mimo.xiaomi.com/)              | ~~`16`~~ (suspended) |
| [Groq](https://groq.com/)                              | `17`                 |
| [Cerebras](https://www.cerebras.ai/)                   | `18`                 |
| [SiliconFlow](https://cloud.siliconflow.com/)          | `19`                 |
| [Sambanova](https://sambanova.ai/)                     | `20`                 |
| [Meta AI](https://developer.meta.com/ai/)              | `21`                 |
| [Vercel](https://vercel.com/ai-gateway)                | `22`                 |
| [Cheaper Inference](https://www.cheaperinference.com/) | `23`                 |

Each connection lets you choose and use any available model, including those with **vision capabilities** for chart analysis.

## 🔐 Security & Key Management

All API keys are **securely encrypted** and only decrypted at runtime.\
Even platform operators cannot access your plain-text API keys.

## ⚙️ Connection Rules

* During setup, Sigrex sends a **test request** to validate your API key:
  * If the key is invalid or your account lacks credits, the connection will fail.
* The **API key cannot be edited** after creation.
* The **model** can be changed freely within the same provider connection.

## 🪄 Steps to Connect

1. Choose your preferred **LLM provider** from the list.
2. Select the **model** you want to use under that provider.
3. Insert you API key.
4. Click **“Create Connection.”**
5. If the test succeeds, the connection is saved and available to activate.

Once connected, you can freely switch between **supported models** (including vision-enabled ones) across your Sigrex tools — such as **trading bots**, **assistants**, and **dashboards**.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sigrex.io/llm/connecting-llm-service.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
