BotSpeak.tech Overview

AI Language Compression System

Smart Compression

Reduce token usage by up to 60% with intelligent phrase recognition

2,498 Mappings

Comprehensive dictionary of common English words and phrases

Instant Processing

Real-time encoding and decoding with millisecond response times

What is BotSpeak.tech?

BotSpeak.tech is a language compression system designed to reduce token usage in AI communications by converting common English words and phrases into numerical codes. Perfect for:

  • AI Applications: Reduce API costs by compressing prompts and responses
  • Data Transmission: Minimize bandwidth usage for text-heavy applications
  • Storage Optimization: Compress text data for efficient storage
  • Real-time Chat: Speed up messaging with compressed text

Key Features

  • Intelligent phrase recognition
  • Greedy matching algorithm
  • Real-time statistics
  • Cross-populate functionality
  • RESTful API
  • No login required for basic use
  • Scalable pricing tiers
  • PostgreSQL backend

Getting Started

Start using BotSpeak in minutes

Quick Start Guide

Free Usage

Get started immediately with 100 free encodings per month. No registration required!

1. Try the Web Interface

The easiest way to get started is through our web interface:

  1. Visit the BotSpeak.tech homepage
  2. Enter your text in the encoder
  3. Click "Encode" to see the compressed result
  4. Copy the codes and use the decoder to verify

2. Using the API

For programmatic access, use our REST API:

POST /api/encode

Encode text into compressed format

curl -X POST https://botspeak.tech/api/encode \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello, how are you today?"}'
POST /api/decode

Decode compressed codes back to text

curl -X POST http://your-domain.com/api/decode \
  -H "Content-Type: application/json" \
  -d '{"codes": "hello how are you today"}'

3. Understanding the Response

API responses include detailed statistics:

{
  "success": true,
  "original_text": "Hello, how are you today?",
  "encoded_text": "hello 092 225 096 today",
  "statistics": {
    "compression_ratio": 0.846,
    "original_length": 26,
    "encoded_length": 22,
    "percentage_saved": 15.38,
    "space_saved": 4
  }
}

4. Rate Limits

Free Tier Limits
  • 100 encodings per month
  • Resets on the 1st of each month
  • No API access on free tier
  • Upgrade to Starter plan for API access

API Reference

Complete API documentation

API Access Required

API access requires a Professional plan or higher. View pricing

Base URL

https://botspeak.tech

Authentication

Currently, BotSpeak uses usage-based rate limiting without API keys. Professional and higher plans have increased rate limits.

Endpoints

POST /api/encode

Convert text into compressed numerical codes

Request Body
{
  "text": "Your text to encode here"
}
Response
{
  "success": true,
  "original_text": "Your text to encode here",
  "encoded_text": "096 620 to 620 here",
  "statistics": {
    "compression_ratio": 0.8,
    "original_length": 25,
    "encoded_length": 20,
    "percentage_saved": 20.0,
    "space_saved": 5
  },
  "usage_info": {
    "is_free_user": true,
    "monthly_usage": 1,
    "monthly_limit": 100,
    "remaining_this_month": 99,
    "can_encode": true
  }
}
Error Response (Rate Limited)
{
  "success": false,
  "error": "Monthly limit of 100 encodings exceeded. Upgrade to a paid plan for unlimited usage.",
  "usage_exceeded": true
}

POST /api/decode

Convert compressed codes back to readable text

Request Body
{
  "codes": "096 620 to 620 here"
}
Response
{
  "success": true,
  "decoded_text": "Your text to text here.",
  "total_codes": 5,
  "recognized_codes": 5,
  "unknown_codes": [],
  "recognition_rate": 100.0
}

GET /api/dictionary/stats

Get dictionary and system statistics

Response
{
  "success": true,
  "dictionary_size": 2498,
  "total_encodings": 1234,
  "compression_ratio": 0.6,
  "usage_info": {
    "monthly_usage": 1,
    "monthly_limit": 100,
    "remaining_this_month": 99
  }
}

HTTP Status Codes

Status Description
200 Success
400 Bad Request - Invalid input
429 Rate Limited - Upgrade plan needed
500 Internal Server Error

Compression Guide

How BotSpeak compression works

Understanding Compression

BotSpeak.tech uses a dictionary-based compression system that converts common English words and phrases into shorter numerical codes.

How It Works

Before Compression
"Hello, how are you doing today?"
35 characters
After Compression
"hello 092 225 096 doing today"
30 characters (14% savings)

Compression Strategies

  1. Phrase Priority: Longer phrases are matched first (greedy approach)
  2. Word Frequency: Common words have shorter codes
  3. Smart Preprocessing: Contractions are expanded for better recognition
  4. Punctuation Handling: Extra punctuation is removed automatically

Best Practices

  • Use natural, conversational language for better compression
  • Avoid technical jargon or proper nouns (they won't compress)
  • Longer texts generally achieve better compression ratios
  • Test your content to see actual compression results

Pricing Guide

Choose the right plan for your needs

Start Free

100 free encodings per month with no registration required!

Plan Comparison

Feature Free Starter Professional Business Enterprise
Monthly Encodings 100 5,000 50,000 100,000* Unlimited
API Access ✅ Dedicated
Monthly Cost FREE $9.97 $24.97 $99.97 $499.97
* Business plan includes overage pricing at $0.0008/encoding above 100k

Usage Recommendations

Free Tier

Perfect for testing and personal projects with light usage.

Starter Plan

Ideal for small applications and prototyping with moderate usage.

Professional Plan

Great for production applications with API integration needs.

Enterprise Plan

Unlimited usage for high-volume applications with dedicated support.

Code Examples

Practical implementation examples

JavaScript Example

// Encode text using BotSpeak API
async function encodeText(text) {
  const response = await fetch('https://botspeak.tech/api/encode', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    body: JSON.stringify({ text: text })
  });
  
  const result = await response.json();
  
  if (result.success) {
    console.log('Original:', result.original_text);
    console.log('Encoded:', result.encoded_text);
    console.log('Compression:', result.statistics.percentage_saved + '%');
  } else {
    console.error('Error:', result.error);
  }
  
  return result;
}

// Usage
encodeText("Hello, how are you today?");

Python Example

import requests
import json

def encode_text(text, base_url="https://botspeak.tech"):
    """Encode text using BotSpeak API"""
    
    url = f"{base_url}/api/encode"
    payload = {"text": text}
    headers = {"Content-Type": "application/json"}
    
    response = requests.post(url, data=json.dumps(payload), headers=headers)
    result = response.json()
    
    if result["success"]:
        print(f"Original: {result['original_text']}")
        print(f"Encoded: {result['encoded_text']}")
        print(f"Compression: {result['statistics']['percentage_saved']:.1f}%")
    else:
        print(f"Error: {result['error']}")
    
    return result

# Usage
encode_text("Hello, how are you today?")

curl Example

# Encode text
curl -X POST https://botspeak.tech/api/encode \
  -H "Content-Type: application/json" \
  -d '{"text": "Hello, how are you today?"}'

# Decode text
curl -X POST https://botspeak.tech/api/decode \
  -H "Content-Type: application/json" \
  -d '{"codes": "hello 092 225 096 today"}'

Frequently Asked Questions

Common questions and answers

BotSpeak.tech uses a dictionary-based compression system with 2,498 pre-mapped English words and phrases. Common words are replaced with shorter numerical codes, achieving average compression ratios of 15-60% depending on the text content.

Words not found in the BotSpeak.tech dictionary are preserved as-is in the compressed text. This ensures no data loss while still achieving compression on recognized words and phrases.

Yes! BotSpeak.tech compression is completely reversible. The decode API can convert compressed codes back to the original text with 100% accuracy, as long as all codes are valid.

Yes! BotSpeak.tech offers 100 free encodings per month with no registration required. This is perfect for testing and light usage. For higher usage or API access, consider our paid plans.