on-internet
← Community

How to reduce my token consumption of my ai agent developed using n8n workflow?

Stack Overflow ·

I am building a workflow with a long process. I separate each stage to switch the ai agent system message. but it still consuming around 20k token for each call. I am currently using gemini-3.1 flash lite LLM with free. How can i reduce my token usage? In addition also, I use all stage system message are static but they are missing the prompt cache.. How can I get the prompt cache? I can't also able to reduce the reasoning the option not available on this Gemini LLM.

Comments

Sign in or sign up to comment and upvote.

No comments yet.