Each Qaalia agent answers with the AI model you choose, from your favorite provider: you connect your account with BYOK (bring your own key) and the agent uses that model in all its integrations. AI usage is billed by your provider directly; Qaalia provides everything else: memory, tools, documents, long tasks, triggers, MCP servers and logs.
400 with codigo modelo_no_configurado. Connect it once and it works in Qaalia Chat, in your system and in your triggers.Why your own model
- You choose any model from your provider: a newly launched one, the fastest one or the one that reasons best.
- You use your balance, your limits and your agreements with the provider; Qaalia doesn't limit your model's tokens.
- The content of conversations only goes to the provider you chose.
How to connect your model
- In the dashboard, go to Agent → Customize → General → AI model and click Connect my provider.
- Choose the provider, paste its API key and click Load models: Qaalia lists the models your key can use.
- Choose the model and check its context (it fills in automatically when the provider reports it).
- Click Test connection or directly Save and use: Qaalia makes a minimal request to check that the key, the model and the tools work before saving.
With the card's switch you pause the model at any time: while it's paused the agent doesn't answer. Changing models or providers doesn't touch your integration. Each agent has its own configuration.
Supported providers
How to choose the model
- It must use tools: without them the agent can't run actions, batches or visual blocks. The connection test checks it.
- Enough context: conversation memory adjusts to the context you set; 128,000 tokens or more works well.
- Reasoning: models that reason perform better on long tasks; Qaalia shows their reasoning when the provider delivers it.
Backup model
Optional. In Customize → Settings → Backup model you connect a second model, from another provider or the same one, that answers only when your main model fails: it runs out of balance, its provider is down or overloaded, or the model stops existing. It receives exactly the same conversation, the same context and the same tools.
- It steps in before the main one answers: it never switches models in the middle of a response.
- It applies to that turn; on the next one, your agent tries the main model again.
- If your main key is invalid, it doesn't step in: that error is reported so you can fix it.
- It never hides the failure: it's recorded on your main model, the dashboard shows when and why the backup answered, and the chat indicates it.
- Use a context equal to or larger than the main model's: while it's connected, conversations use the smaller context of the two.
Your key's security
- It's stored encrypted and never shown in full: in the dashboard you only see its beginning and end.
- The model never receives it, and it doesn't appear in logs or error messages.
- It's only sent to the provider address you saved it with.
- When you delete it or delete the agent, it's erased forever.

