# How to use https://chutes.ai provider model in ai agent?

**URL:** <https://community.n8n.io/t/how-to-use-https-chutes-ai-provider-model-in-ai-agent/182766>\
**Category:** Questions\
**Created:** [September 5, 2025, 6:26pm UTC](https://community.n8n.io/t/how-to-use-https-chutes-ai-provider-model-in-ai-agent/182766 "2025-09-05T18:26:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajubepary](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/rajubepary/32/114643_2.png) [@rajubepary](https://community.n8n.io/u/rajubepary)\
**Post date:** [September 5, 2025, 6:26pm UTC](https://community.n8n.io/t/how-to-use-https-chutes-ai-provider-model-in-ai-agent/182766/1 "2025-09-05T18:26:30Z")

</div>

I want to use [https://chutes.ai/](https://chutes.ai/) as my AI agent model provider. How can I do it?

---

<div class="post-metadata">

**Author:** ![jabbson](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jabbson/32/87328_2.png) [@jabbson](https://community.n8n.io/u/jabbson)\
**Post date:** [September 5, 2025, 6:29pm UTC](https://community.n8n.io/t/how-to-use-https-chutes-ai-provider-model-in-ai-agent/182766/2 "2025-09-05T18:29:09Z")

</div>

Hey @rajubepary hope all is well.

It appears that chutes.ai offer [API access](https://chutes.ai/docs/api-reference/overview), so what you could do is you could communicate with this service over REST API by using HTTP Request node.

---

<div class="post-metadata">

**Author:** ![mohamed3nan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mohamed3nan/32/188347_2.png) [@mohamed3nan](https://community.n8n.io/u/mohamed3nan)\
**Post date:** [September 5, 2025, 6:32pm UTC](https://community.n8n.io/t/how-to-use-https-chutes-ai-provider-model-in-ai-agent/182766/3 "2025-09-05T18:32:24Z")

</div>

Hi @rajubepary , welcome to the :n8n: community!

If Chutes is an OpenAI-compatible API, then all you need to do is add OpenAI connection and update the “Base URL” to `https://api.chutes.ai/v1`

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/4/1/413d23366f6838199be3748e954fe694606d70af.png)

Please give it a try and let me know whether it works.

---

<div class="post-metadata">

**Author:** ![rajubepary](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/rajubepary/32/114643_2.png) [@rajubepary](https://community.n8n.io/u/rajubepary)\
**Post date:** [September 5, 2025, 6:46pm UTC](https://community.n8n.io/t/how-to-use-https-chutes-ai-provider-model-in-ai-agent/182766/4 "2025-09-05T18:46:04Z")

</div>

I am getting a length error repeatedly, regardless of the input prompt.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/d/8/d841c08239f4cbbecb7cc584e67efe5abd7aa44f.png)

---

<div class="post-metadata">

**Author:** ![mohamed3nan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mohamed3nan/32/188347_2.png) [@mohamed3nan](https://community.n8n.io/u/mohamed3nan)\
**Post date:** [September 5, 2025, 6:50pm UTC](https://community.n8n.io/t/how-to-use-https-chutes-ai-provider-model-in-ai-agent/182766/5 "2025-09-05T18:50:22Z")

</div>

Hmm, maybe it has some limitations,  
Could you try using it like the “Message a model” node?

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/6/d/6dd101abb47ef86a2441a6d98bb656870d492523.png)

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [September 12, 2025, 6:51pm UTC](https://community.n8n.io/t/how-to-use-https-chutes-ai-provider-model-in-ai-agent/182766/6 "2025-09-12T18:51:13Z")

</div>

Closed on September 12, 2025, 6:51pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
