Sébastien G. I think, but I could be wrong, that the main reason it did this was because we don’t have a mega menu navbar in the library today.
My advice for components that the current library doesn’t have, to use Claude Code to create a custom component and then save that to your library for future use. So that this 400k tokens doesn’t get wasted for future components similar.
If you have a screenshot of what the component was that it ended up creating and what the navbar was before this prompt, that’ll help me better understand why it did what it did.
Claude.ai versus Claude Code - I personally have found that Claude Code (Mac Desktop app) does a better job reasoning with MCPs - especially ones that interact with building things like the Relume MCP - I have not done any thorough testing to say that Claude.ai versus Claude Code would use less tokens.
I’m not entirely sure if 400k tokens is that unreasonable either. Opus 5.5 is the right model. I’m assuming you were using the default effort level of medium.
My advice is - the more time your claude/AI has used a tool, the better it gets, but maybe my experience is different because I also have a central storage of memory, context, skills, and prompts that live outside of Claude so that my agents aren’t having to re-learn things over and over and over.
For example, if this was your first prompt or even your 5th prompt with your AI to the Relume MCP - and none of the previous prompts provided any kind of context to what the project is, or what Relume is, or what the Relume MCP does etc - then yeah its going to struggle a bit as it tries to grab as much information that it thinks is related to your request as possible.
But if instead, you sort of pretend like you are talking to another human about what you want that task to look like when its done, and how you expect them to accomplish the task, and you provide the necessary reference links, then future prompts should be cheaper.
I use the same chat window for certain projects and certain types of tasks.
Luke - Webflow Developer - Relume - Luke handles any webflow requests I need for the Relume marketing website. Luke has a stored database of previous findings, decisions, skills, connectors, etc stored in Notion that he accesses via a custom sync script.
I manually compact his chat window when I start a new task. Otherwise I have an auto-compact set for 200k context tokens. This helps keep future prompts costs down - less tokens being used to read the entire context of the chat session. This might have been why your 400k tokens happened.
Another reason, something I learned recently, is that through the native apps like Claude desktop - in most cases, a session reads every tool that is connected - every connector can have multiple tools. It sounds scarier than it actually is - but for example Webflow MCP (Connector) I believe my AI said it has over 1,000 tools. So lets say I open up a new chat session and I give it a prompt but I dont tell it what specific connector to use or what specific tool to use - it will query every connector and every tool to make sure its not missing the one it needs to complete the task in the prompt - regardless if in your head, you know, that you meant the Webflow MCP or the Relume MCP - it will still query thousands of tools. I asked my AI how many tokens that is per instance and it was like 50k or something just in tool calls.
So if you want to avoid that - you can either explicitly mention the connector in your prompt or the connector + the tool. Another way to do that is to separate your connectors to folders - this gets complicated and difficult to manage. For me personally, I just eat the 50k tokens or I mention the connector specifically, but just wanted to share the context that I’ve learned on this.
Welp, that concludes my AI book, you can purchase it on Amazon Best Sellers list 🫠
Apologies for the length of this reply….ask AI to summarize it for you if you want.