Evaluate Digital Content for Substance
A lightweight, transformer-based API that evaluates text for substance, depth, and clarity in under 25ms while achieving 87% of the accuracy of a full-scale LLM.
Live Demo
Bluesky Feed
The Substance API was developed and tested using the Bluesky firehose to ensure that it can handle high volume, unstructured, real-world data. It acts as the core structural engine alongside standard regex and toxicity pre-filters. The live feed samples the Bluesky firehose in real time and returns posts that have a substance rating of 0.70 or above.
View the Bluesky FeedApplications & Use Cases
The Substance API is a fast and inexpensive pre-screening tool designed to integrate with your existing classification pipeline. While it evaluates substance across any text, it is uniquely suited for high-volume, automated data pipelines.
Automated Ticket Triage
Filter out low-substance customer inquiries before they hit a human agent, saving hours of manual routing.
RAG & Knowledge Portals
Filter out bloated, low-signal documentation before expensive LLM vectorization and indexing to cut token costs and improve inference quality.
Document Archives
Rank corporate or research archives based on actual information density so that enterprise search queries return the most substantive results.
Feed Aggregation
Rank news, newsletters, or educational content by structural depth rather than relying solely on recency or click-through rates.
Customer Feedback
Isolate high-quality, actionable product critiques from the flood of generic "it's great" or "it's broken" noise.
User-Generated Content
Surface high-effort, high-value forum posts and survey responses while automatically burying low-effort spam.
Methodology & Architecture
Knowledge Distillation
The training process distills the semantic reasoning of frontier LLMs into a lightweight, high-throughput encoder. Using a dataset specifically labeled to evaluate structural complexity and semantic weight, the Substance model achieves an 87% correlation with its LLM teachers—which themselves demonstrate a 95% correlation with human-labeled data. This allows the API to retain high accuracy while operating at a fraction of the latency of an LLM.
High-Throughput Inference Engine
The API is built on an asynchronous FastAPI architecture to handle high volumes of concurrent requests without bottlenecks. By utilizing an INT8-quantized encoder and executing the ONNX graph directly in-memory, the server delivers stable real-time inference with a baseline latency of ~25ms. For data privacy, all user text is evaluated entirely in volatile memory and is never logged or stored.
Plans & Pricing
Start for free, scale as required. No hidden fees.
Starter
- Up to 100,000 requests / month
- No rate limiting
Growth
- Up to 500,000 requests / month*
- No rate limiting
- * Includes 100,000 base + $0.0001 / additional request
Enterprise
- 500,000+ requests / month
- No rate limiting
- Custom SLA, volume discounts
Integration
Connect to the API via standard REST requests, our native Python SDK, or drop-in MCP configurations for AI agents.
curl -X POST https://indieml.app/v1/score/substance \ -H "X-API-KEY: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "input_text": "This is a test run." }'
import requests url = "https://indieml.app/v1/score/substance" headers = { "X-API-KEY": "YOUR_API_KEY", "Content-Type": "application/json" } payload = { "input_text": "This is a test run." } response = requests.post(url, json=payload, headers=headers) print(response.json())
const response = await fetch('https://indieml.app/v1/score/substance', { method: 'POST', headers: { 'X-API-KEY': 'YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ input_text: "This is a test run." }) }); console.log(await response.json());
# Installation (requires Python 3.11 or higher) ~$ pip install indieml from indieml import Substance # Initialize the API api = Substance(api_key="YOUR_API_KEY_HERE") # Evaluate text for substance, depth, and clarity result = api.score("This is a test run.") print(result)
// Streamable HTTP (Cursor, ChatGPT, Claude Code) { "mcpServers": { "indieml": { "type": "http", "url": "https://indieml.app/mcp/", "headers": { "X-API-Key": "YOUR_API_KEY_HERE" } } } }
// stdio via npx Bridge (Requires Node.js v20+) { "mcpServers": { "indieml": { "command": "npx", "args": [ "-y", "mcp-remote", "https://indieml.app/mcp/", "--header", "X-API-Key:${INDIEML_API_KEY}" ], "env": { "INDIEML_API_KEY": "YOUR_API_KEY_HERE" } } } }
{
"result": {
"text": "This is a test run.",
"substance_score": 0.18
}
}
You can also integrate IndieML directly into your Salesforce pipeline.
Salesforce Integration GuideStart building for free
Enter your email to get a free API key. No credit card required.