Documentation

Everything you need to master Tauq, from installation to advanced streaming patterns.

Core Concepts

Why Tauq?

Tauq achieves up to 54% fewer tokens than JSON and is 11% more efficient than TOON on average through three key optimizations:

  • Space Delimiters: Spaces are absorbed into preceding tokens, commas add overhead
  • Schema-Driven: Define keys once with !def, not per record
  • Barewords: Emails, paths, and simple strings don't need quotes

When to Use Tauq

✅ Perfect For:
  • • AI/LLM prompts
  • • Large datasets
  • • Config files
  • • Token-sensitive APIs
⚠️ Consider For:
  • • Small payloads
  • • One-off data
  • • Highly nested structures
❌ Not Ideal For:
  • • Binary data
  • • Real-time messaging
  • • Legacy systems requiring JSON

Token Savings Calculator

Estimate your cost savings based on data volume:

$6.22
Saved per 100K records
$62.21
Saved per 1M records
$622
Saved per 10M records

* Based on GPT-4o/Claude 3.5 Sonnet pricing ($3 per 1M input tokens) and 54% token reduction vs JSON

Need Help?

Get support from the community or report issues.

Try It Out

Experiment with Tauq in the interactive playground.