/AI3h ago

Cloudflare Code Mode Cuts AI Agent Token Costs By 93%

12201813632.8K
Original post unavailable.
Sentiment
Sentiment building, check back later.
Cluster Engagement
Posts from X
Most Activity
Most Activity
VIEWS209
Alex Miller@AlexMillerCode

@ritakozlov @Cloudflare I don't understand how that would work? 馃槄 Like i get it for your docs, but not everyone is working with docs and predefined APIs?

2hViews 209
BOOKMARKS5

@AlexMillerCode @Cloudflare tool calls are token hogs. if you can make a single tool call that then invokes 5 api requests rather than 5 tool calls it adds up.

search() + execute() are the only tools you need as it turns out

https://blog.cloudflare.com/code-mode-mcp/

2hViews 178Likes 1Bookmarks 5
LIKES1

@CarloDotGG @LakeAustinBlvd @Cloudflare @craigsdennis for internal use cases yes mcp portal is the best way

for your mcp server, cloudflare鈥檚 mcp server is actually open source so you can look at it as reference implementation

but yes, sounds like a great challenge for @craigsdennis

2hViews 48Likes 1
REPLIES1
Carlo GG@CarloDotGG

What is the best way to set it up?

MCP Portal, activate code mode and then add as many MCP servers as we want?

Then attach thatsingle MCP to OpenCode/ClaudeCode/Codex?

I鈥檝e read the blog etc, but it would be really great if @craigsdennis and the CF team could make a step by step YT video on it.

2hViews 80Likes 1
Tom Greenwald@tomgreenwald

@ritakozlov @Cloudflare This is why every agent should just be a coding agent

2hViews 105Likes 1