Skip to main content

Token Optimization

To reduce token usage and improve efficiency for your MCP, we recommend using
Laravel Toon, a Token-Optimized Object Notation (TOON) encoder/decoder for Laravel.

Key benefits:

  • 40–60% token reduction compared to JSON
  • Full round-trip fidelity
  • Drop-in replacement for JSON in many AI-related payloads

Using TOON can significantly lower AI inference costs when exchanging structured data with LLMs.