BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

cds-toon-ai-protocol-adapter: a pragmatic way to cut AI token costs using SAP CAP

Names a cost most CAP-plus-LLM writing ignores: every JSON payload streamed to a model is billed by its verbosity, in latency as well as money. The plugin brings TOON — Token-Oriented Object Notation — to a CAP service so the wire format changes without the service code doing so, in a REST variant and an OData one, with token counts reported on both sides.

Where it sits

Explains
@geertjanklaps/cds-toon-ai-protocol-adapterCAP@geertjanklaps/cds-toon-ai-protocol-adaptercds-pluginA protocol adapter that serves CAP data as TOON — Token-Oriented Object Notation — instead of JSON, so a payload bound for a language model costs fewer tokens to send.LLM integrationCAPLLM integrationcapabilityCalling a language model from application code with the tenant, destination and credential handling already solved instead using an SDK call with a hand-rolled key.
Since then
No major release of @geertjanklaps/cds-toon-ai-protocol-adapter since this was published
Source
reachable

Who is behind it

Geert-Jan KlapsGeert-Jan KlapsPersonWrote this
In the atlas: maintains 4, contributes to 11, wrote 4
@geert-janklaps
author

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
1,164

What was found on the page

derived
Prose
derived
835 words
Numbered steps
derived
5
Code blocks
derived
4
Repository links
derived
2

For llm-integration

on the edge
Applies in
authored
cap

More on this33

Group by33 of 33 pieces
Piece, what it offersStill applies
Also explainingLLM integration30
CAP in the age of AI #5 - agents wrap-up
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Simon Engel, Stefan Rudi, Daniel Schlachter, part 5 of 7
nothing recorded
What an AI infra engineer sees when opening SAP's AI stack (1/3): the model gateway
SAP Community, amishkush
nothing recorded
UI5 AI Features library is now an npm Package
SAP Community, Wouter LemaireThe reasoningRunnable code
Version drift
CAP in the age of AI #3 - from MCP to A2A
YouTube — SAP Developers playlists, DJ Adams, Johannes Vogt, Stefan Rudi, part 3 of 7
nothing recorded
Natural Language Queries for SAP CAP via MCP: The LLM Translates, CDS Executes
SAP Community, ShahidThe reasoningA recipeRunnable code
nothing recorded
Banking Sentinel: A Multi-Agent Credit-Risk Copilot on SAP BTP, Built on a Mixed AI Stack
SAP Community, ShahidThe reasoningA recipeRunnable code
Core changed
Building an LLM Agent in CAP Java with Spring AI
SAP Community, Johannes VogtThe reasoningRunnable code
Core changed
Building an LLM Agent using CAP
SAP Community, Johannes VogtThe reasoningRunnable code
Core changed
Agentic AI on BTP: a Multi‑Agent App with Pydantic AI
SAP Community, Wouter Lemaire
nothing recorded
Agentic AI on BTP: a Single Agent with LangGraph
SAP Community, Wouter Lemaire
nothing recorded
Enhancing Enterprise Applications: AI-powered User Experience with SAP CAP AI Plugin
SAP Community, rupamaityThe reasoningA recipeRunnable code
nothing recorded
Integrating a Custom AI Model into SAP CAP Using AI Launchpad
SAP Community, egeAksoyekThe reasoningRunnable code
Core changed
UI5 MCP Server Got Extended for UI Integration Cards Generation
SAP Community, daniel_vladinov
nothing recorded
Prompt-Driven Development: Building Full-Stack SAP CAP Apps from User Stories
SAP Community, AnuradhaDhinganThe reasoning
nothing recorded
Streaming LLM Output with CAP and WebSockets
SAP Community, RobinPThe reasoningA recipeRunnable code
Core changed
How to Reduce Prompt Token Costs Using Toon = Save Money
SAP Community, YoganandaThe reasoningA recipeRunnable code
Core changed
Generative AI on SAP BTP
SAP Architecture Center, SAP Architecture CenterThe reasoningA reference
Core changed
How to use Cloud SDK for AI in an existing CAP NodeJS Project in CommonJS
SAP Community, Jacky_Liu1
nothing recorded
Lets Talk to the Database - CAP & SQLite Powered by Google Gemini-2.5-Pro
SAP Community, ShivamShuklaSAPThe reasoning
nothing recorded
Elevating Data Privacy in SAP CAP based GenAI Applications with CAP LLM Plugin
SAP Community, AkashAmarendraThe reasoningRunnable code
nothing recorded
An Innovative Language Exchange App developed with SAP Build Apps, CAP, Kyma, and OpenAI
SAP Community, javierywThe reasoningRunnable code
Core changed
Automate your Job Postings Using Generative AI (ChatGPT) & SAP Build Process Automation Apps
SAP Community, shivamshukla12The reasoning
nothing recorded
Creating a meal generator application with SAP Build, Cloud Application Programming and openAI
SAP Community, former_member793421The reasoning
nothing recorded
Empowering Your Data Analytics with GPT-3 and SAP CAP Integration
SAP Community, Former MemberThe reasoning
nothing recorded
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 3/3
SAP Community, Mike Zaschka, part 3 of 3The reasoningRunnable code
1 stale part
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 2/3
SAP Community, Mike Zaschka, part 2 of 3The reasoningRunnable code
Gone quiet
A ChatGPT-like chat app built with modern SAP technologies (CAP, SAPUI5) – Part 1/3
SAP Community, Mike Zaschka, part 1 of 3The reasoningRunnable code
Gone quiet
Agentic CAP: Build MCP servers and enterprise AI agents
SAP TechEd — session catalogue, Daniel Hutzel, Daniel SchlachterA recipe
nothing recorded
AI-enabled administration: Automating log analysis with generative AI hub
SAP TechEd — session catalogueThe reasoning
nothing recorded
Stop guessing, start counting: How generative AI fixed an inventory mess
SAP TechEd — session catalogueThe reasoning
nothing recorded
cds-launchpad-plugin supercharged & ready for the future - CAP Plugin, UI5 Tooling support & Async Launchpad
SAP Community, Geert-Jan KlapsThe reasoningRunnable code
nothing recorded
A Fiori Launchpad Sandbox for all your CAP-based projects - Overview
SAP Community, Geert-Jan KlapsThe reasoningA recipeRunnable code
nothing recorded
A Fiori Launchpad Sandbox for all your CAP-based projects – Sample project setup
SAP Community, Geert-Jan KlapsThe reasoningRunnable code
nothing recorded

Details

Graph5 edges
← POINTS HERE
POINTS OUT →
explainsLLM integrationcapability, core and community
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History3
  • explains → applies_to on capability:llm-integrationDoor scope derived from the artifacts this piece also explains, so a door page lists it only where it holds (docs/concepts/content-on-doors.md).
  • summary → Names a cost most CAP-plus-LLM writing ignores: every JSON payload streamed to a model is billed by its verbosity, in latency as well as money. The plugin brings TOON — Token-Oriented Object Notation — to a CAP service so the wire format changes without the service code doing so, in a REST variant and an OData one, with token counts reported on both sides.from Names a cost most CAP-plus-LLM writing ignores: every JSON payload streamed to a model is billed by its verbosity, in latency as well as money. The plugin brings TOON — Token-Oriented Object Notation — to a CAP service so the wire format changes without the service code doing so. Not published to npm as of this reading, so the repository is the way in.The summary said the plugin was not on npm and pointed readers at the repository. It is published, as @geertjanklaps/cds-toon-ai-protocol-adapter — a search for the unscoped name found nothing and the absence was asserted from that. The artifact now exists and this explains it.
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:cds-toon-ai-protocol-adapter-cutting-token-costs
JSON
/content/cds-toon-ai-protocol-adapter-cutting-token-costs.json
MCP
Connecting an agent