Token Economics
As of 2026-11-24
What is Token Economics?
Prompt caching is a major cost lever on token-billed calls (custom agents on the generative AI hub, direct provider APIs) — at Claude Sonnet 4.6 list rates, a 2,000-token static system prompt called 500 times a day, less than 5 minutes apart, saves about $1,000 a year per agent (1M tokens/day × $2.70/M saved); packaged Joule agents are billed in AI Units per action instead, so caching is SAP's lever there, not the customer's.
Token economics is the discipline of understanding how API cost, latency, and throughput trade off across model tiers, deployment modes, and prompt design choices. It is what separates an SAP AI integration with a predictable, controlled cost base from one that quietly burns budget with nobody able to explain why the invoice looks the way it does.
The core problem
Inference cost is non-linear and highly sensitive to how a prompt is built. The same business question, asked with a lean, well-structured five-hundred-token prompt versus a bloated ten-thousand-token prompt stuffed with unnecessary context, can differ by an order of magnitude in cost — and the more expensive call is not automatically the more accurate one. Most teams discover this only after the first large invoice, because token cost is invisible at design time and only becomes visible in production usage.
Why output costs more than input
Every major provider prices output tokens several times higher than input tokens, and the reason is architectural rather than commercial. Input tokens can be processed in parallel across the whole prompt in a single forward pass. Output tokens cannot: a language model generates text autoregressively, one token at a time, where each new token depends on every token generated before it, so the computation cannot be batched the same way. That sequential dependency is also why output generation dominates latency — a long input processes almost instantly relative to a long output, which has to be produced token by token.
Why it matters
- Output tokens typically cost 4–8× the input rate (5× on Claude Sonnet 4.6 and Sonnet 5, 4× on GPT-4.1, 8× on GPT-5, at the list prices read on 24 Nov 2026) — a structural reason to keep generated output terse in high-volume Joule flows.
- Batch APIs cut cost 50% for anything that can wait up to 24 hours for its result — nightly report generation and bulk contract summarisation qualify; real-time Joule chat doesn't.
- Self-hosting an open-weight model reframes the build-vs-buy decision only for very high, sustained volumes — measure it on your own load.
Key points
- Output tokens typically cost 4–8× the input rate — minimise completion length before optimising prompt length.
- Prompt caching (OpenAI: automatic, 90-95% off reads from GPT-5.6 on, minimum 1,024 tokens, cache writes billed; 50% off on GPT-4o, 75% on GPT-4.1, 90% on GPT-5, all three now listed as deprecated; Anthropic Claude Sonnet 4.6: $0.30/M read vs $3.00/M uncached) pays off from the first reuse (cache write $3.75/M: the $0.75 premium is recovered by one $2.70 read saving).
- Self-hosted open-weight 70B models can undercut API prices only at sustained high utilisation; measure cost per million tokens on your own load (no public benchmark is cited here).
- Light tiers are far cheaper per token: at the list prices read on 24 Nov 2026, Claude Haiku 4.5 costs $1/$5 per M tokens against $3/$15 for Claude Sonnet 4.6, and Claude Haiku 5.5 costs $0.10/$0.50 (prompts up to 100,000 tokens) — check current pricing.
- Batch APIs (OpenAI, Anthropic) offer 50% discount for non-real-time workloads — use for nightly SAP report generation.
- A mixed architecture (a mid/frontier tier for reasoning, a light tier for extraction) can cut cost substantially versus running everything on one large tier — the saving depends on the traffic mix; measure it on your own load.
- Progressive summarisation over a 40-turn agent run: a 100K-token context brought under 8K saves about 92% on follow-up calls.
- A mandatory token budget per agent and per use case, built into SAP AI governance from design time.
- Assume a long system prompt before any user input (hypothesis: several thousand tokens; SAP publishes no Joule figure) — every 2,000 tokens of added business rules raise the input cost of every call.
- The cheapest lever is the call that never happens: RAG plus pruning of tool results before any model optimisation.
Terms used on this page
- Prompt caching
- Provider-side mechanism that re-uses the KV cache from a repeated prompt prefix, charging a lower read rate than a full re-computation.
- Batch API
- Asynchronous inference endpoint (OpenAI, Anthropic) that accepts large request batches (up to 50,000 requests per batch at OpenAI, 100,000 at Anthropic), returns results within a 24-hour window, and charges 50% of synchronous pricing.
- Input token
- A token in the prompt (system + user turn + tool definitions); billed per million at the provider's input rate.
- Output token
- A token generated by the model; billed at the provider's output rate, typically 4–8× the input rate at the list prices checked here (5× Claude Sonnet, 4× GPT-4.1, 8× GPT-5).
- Token budget
- A governance cap on tokens (or cost) allowed per agent and per use case over a period, with an alert to a named owner when it is approached — distinct from the model's context window, the technical per-call limit.
Sources
- OpenAI API pricing (read 24 Nov 2026)
- Anthropic — Claude pricing (read 24 Nov 2026)
- vLLM throughput benchmarks (September 2024) — Llama 3 70B on H100
- Azure NCH100v5 instance pricing
- SAP BTP AI Services pricing overview
- NIST — AI Risk Management Framework
- SAP Business AI — official page
- SAP — AI Units: pricing for the SAP Business AI Platform
- SAP Help Portal — Metering and pricing for generative AI in SAP AI Core
- SAP Help Portal — Prompt Registry: versioned prompt and orchestration-config templates
- Anthropic — Prompt caching: implementation guide and cache_control reference
- OpenAI — Batch API guide: submission, processing window and pricing
- Prior Labs changelog: TabPFN-3.5, 50% token-rate reduction 15-29 September 2026
- SAP Joule for Consultants product page (read 24 November 2026)
- Microsoft Learn — Copilot in Fabric consumption (capacity units per 1,000 tokens)
- Snowflake documentation — Cortex AI functions cost considerations (credits per million tokens)
- Databricks — Foundation Model APIs pricing (pay-per-token and provisioned throughput, DBUs)
- SAP — Cloud SDK for AI (Python): LLM Batch Service (native LLM calls only, read 24 Nov 2026)
- SAP AI SDK for JavaScript: orchestration chat completion, prompt caching (read 24 Nov 2026)
Full card with the Consultant plan — €19.90/month. What the full card adds: the full decision framework · the SAP vs Snowflake / Databricks / Fabric comparison · the common pitfalls and their fix · the cheat sheet · the architecture schemas · the code blocks · the facts worth quoting.