Revesery
Dashboard
Home
Explore
Groups
Jobs
Tools
Rewards
Social Media
VideoBulk VideoProfile PictureSlide ShowSound / AudioUnfollowersDouyin
VideoBulk Video
VideoStoriesBulk VideoProfile PictureSlide ShowUnfollowersStalker CheckSoon
VideoUnfollowersLink Cleaner
MP4 · VideoMP3 · Audio
WhatsApp
Profile PictureCover Art & Preview
Profile Picture
Video & Image
Video & Photo
Utilities
AI Chat
Fake SNBTWatermark KTP
TeraboxVidey
Deep Voice CheckerReview Calculator
Surat IzinFoto Hijau Biru MerahQR GeneratorSoon
Case ConverterCookie Converter
Request a toolImage ToolsSoonText ToolsSoon
Premium
Soon
Add bookmarks
Revesery
HomeExploreGroupsJobsContributors
Most read
↑↓ selectEnter openEsc close/ to search from anywhere
Login
C
CalvinRookie
@calvin · Nov 28, 2026 · 7 views
#News

Cloudflare Code Mode Cuts Agent Tool Tokens by 99.9%

Connecting an agent to a large API usually means loading every tool definition into the model before it does anything useful. Cloudflare says it cut that cost by 99.9 percent with a feature called Code Mode, and it ships in the company's official agents SDK.

The gap is easy to picture: 1.17 million tokens on one side, about 1K on the other, on the very same API.

Cloudflare Code Mode Cuts Agent Tool Tokens by 99.9%

What Happened

Cloudflare's API has 2.5K endpoints. Wire an agent to it over MCP the usual way and the model has to ingest the definition of every one of those tools, which comes to roughly 1.17 million tokens.

Code Mode sidesteps that. Instead of loading all 2.5K tools, the model writes code and works through just two functions, search and execute. It stays around 1K tokens no matter how many endpoints sit behind it, and that code runs in an isolated worker rather than calling tools one at a time.

The rest of the SDK is built for stateful agents on Cloudflare:

  • Agents go to sleep when idle and cost nothing while stopped.
  • An agent can act as an MCP server or connect as a client.
  • It covers scheduled tasks, workflows with human approval, voice and email.
  • React hooks are there for the front end.

The repo is cloudflare/agents, under the MIT license, at 6.1K stars. The latest version is 0.34.1, from Nov 25. Code Mode itself is still marked experimental.

Why It Matters

If you have been steering around big APIs because the tool definitions alone would eat your context window and your bill, this changes the math. A 2.5K-endpoint service stops being a wall of tokens and starts looking like something an agent can work with.

One caution before you build on it: experimental means the interface can shift under you. Worth a test project now, not the thing to bet a production agent on yet.

Liked Calvin's share? Revesery is where people swap what they're actually building.

Join with Google
Be the first to sayBe first

Does this still work?

Nobody's checked yet

Sign in to tell everyone how it went.

Continue with Google

Be the first — one tap saves the next person an hour.

It takes 3 reports in 30 days to set the status.

Comments

Join the conversation — sign in to comment.

Sign In Now

No comments yet — start the conversation!

Read it later?
We'll email you the link to this share. Nothing else.

More shares you might like

ToolsHow to Claim a Free Domain at IDWebHostCalvin · 12h · 21 viewsToolsHow to Get $3 in Free Claude API CreditCalvin · 1d · 29 viewsToolsHow to Redeem 1,000 Telkomsel Points for a Snowville TicketCalvin · 2d · 40 viewsAIHow to Make 10 Animation Styles With ClaudeCalvin · 3d · 48 viewsToolsHow to Get 5GB Telkomsel eSIM for Rp1 on GoPayCalvin · 4d · 57 viewsToolsHow to Transfer SeaBank to DANA, GoPay, OVO for FreeCalvin · 5d · 71 views

Trending this week

Ranked by how many people read each share in the last 7 days, each person counted once. Bots, the author and clicks from this list don't count. Shares from the last 14 days with a real write-up. Refreshed every 5 minutes.
  1. 1How to Claim Mistral Vibe Pro Free With Code MISTRALVIBE@alex94 views this week
  2. 2How to Get 12 Months of Free ChatGPT for Researchers@jen72 views this week
  3. 3How to Get ML.AI Infinite Free for One Month@jen71 views this week
  4. 4Anthropic Adds a Learning Path for Forward-Deployed Engineers@calvin69 views this week
  5. 5How to Get 15K Free Credits on FreePi AI@gican61 views this week
See more on Explore

Site footer

Revesery

Empowering people to share valuable insights, discover hidden information, and connect with an amazing community of learners and experts.

  • 813Members
  • 968Shares published

Explore

  • Explore shares
  • Top contributors
  • Feedback

Company

  • About us
  • Editorial policy
  • Contact
  • Advertise with us
  • System status
© 2026 Revesery
  • Privacy
  • Terms
  • Trust & Safety
  • DMCA
HomeExploreShareToolsProfile
HGHacker Goblok joined Revesery7 hours ago