CHARIOT API: Built on a New Intelligence

Advanced prompt analysis engine with sophisticated mathematical algorithms. Intelligent model recommendations, usage tracking, and seamless billing integration.

API Example

# Analyze prompt with CHARIOT curl -X POST "https://chariot.augustus.cloud/analyze" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt": "Your text to analyze"}'

Signal-Based Model Router

Powered by Augustus. Route GPT-4.1-mini, GPT-5-mini, and GPT-5 in real time.
No semantics. No latency. No AI reasoning.

Cut 20% to 50% in token costs

Keep GPT-5 only where it matters

No tokens. No model calls.

Just signal logic and mathematical analysis

Pre-LLM Decision Engine

Doesn't parse meaning — it reads signal. Any language. Any format. Just math.

Real-time Mathematical Profiling

Detects deep structure, coherence, and complexity patterns to route intelligently.

Deterministic Routing

100% trust with mathematical precision - no heuristics or guesswork.

API Endpoints

POST /analyze

Analyze text prompts using advanced mathematical algorithms

Authentication: Required

GET /stats

Get usage statistics and billing information

Authentication: Required

GET /health

Check system status and health

Authentication: Public

POST /cancel-subscription

Cancel your subscription

Authentication: Required

Quick Start Guide

Get started with CHARIOT in minutes. Complete integration examples for popular platforms.

1. Get Your API Key

+

Subscribe to CHARIOT and receive your API key via email within minutes.

API Key Format: sk_chariot_xxxxxxxxxxxxx

✓ 100 free requests • Then usage-based billing

2. Python Integration

+

Simple integration for chatbots and AI applications:

import requests

def analyze_prompt(user_message, api_key):
    url = "https://chariot.augustus.cloud/analyze"
    headers = {
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json"
    }
    data = {"prompt": user_message}

    response = requests.post(url, headers=headers, json=data)

    if response.status_code == 200:
        result = response.json()
        return {
            "score": result["score"],
            "model_recommendation": result["model_recommendation"],
            "credits_remaining": result["credits_remaining"]
        }

# Usage
result = analyze_prompt("Create a business plan", "sk_chariot_your_key")
print(f"Complexity Score: {result['score']}")
print(f"Recommended Model: {result['model_recommendation']}")
print(f"Credits Left: {result['credits_remaining']}")

3. Node.js/JavaScript

+

Perfect for web applications and Discord bots:

const axios = require('axios');

class ChariotClient {
    constructor(apiKey) {
        this.apiKey = apiKey;
        this.baseUrl = 'https://chariot.augustus.cloud';
    }

    async analyzePrompt(message) {
        try {
            const response = await axios.post(`${this.baseUrl}/analyze`, {
                prompt: message
            }, {
                headers: {
                    'Authorization': `Bearer ${this.apiKey}`,
                    'Content-Type': 'application/json'
                }
            });

            return response.data;
        } catch (error) {
            console.error('API Error:', error.response?.data);
            return null;
        }
    }
}

// Usage in chatbot
const chariot = new ChariotClient('sk_chariot_your_key');
const analysis = await chariot.analyzePrompt("What is AI?");
console.log(`Score: ${analysis.score}, Model: ${analysis.model_recommendation}`);

4. cURL Examples

+

Test the API directly or integrate with any programming language:

# Analyze a prompt
curl -X POST "https://chariot.augustus.cloud/analyze"   -H "Authorization: Bearer sk_chariot_your_key"   -H "Content-Type: application/json"   -d '{"prompt": "Explain quantum computing"}'

# Check your usage stats
curl -X GET "https://chariot.augustus.cloud/stats"   -H "Authorization: Bearer sk_chariot_your_key"

# Health check (no auth needed)
curl -X GET "https://chariot.augustus.cloud/health"

5. Response Format

+

Understand what CHARIOT returns for optimal integration:

{
  "score": 2.43,
  "model_recommendation": "gpt-5-mini",
  "analysis": {
    "entropy": 0.72,
    "complexity_factors": {
      "length": 0.65,
      "structure": 0.48,
      "patterns": 0.91
    }
  },
  "credits_remaining": 87,
  "total_usage": 13,
  "response_time_ms": 45
}

Model Recommendations:
LITE (gpt-4.1-mini) (score 0-1.37) - Simple prompts
MID (gpt-5-mini) (score 1.37-1.74) - Medium complexity
HIGH (gpt-5) (score 1.74+) - Complex analysis needed

6. Usage Monitoring

+

Monitor your usage and manage your subscription:

✓ First 100 requests: Free with every subscription

✓ Real-time tracking: Monitor usage with /stats endpoint

✓ Cancel anytime: Full control over your subscription

# Get your personal billing portal link
curl -X POST "https://chariot.augustus.cloud/create-customer-portal"   -H "Authorization: Bearer sk_chariot_your_key"

# Cancel subscription directly
curl -X POST "https://chariot.augustus.cloud/cancel-subscription"   -H "Authorization: Bearer sk_chariot_your_key"