Maha Context Compiler
Compress long documents and RAG inputs into token-budgeted, deduplicated context packs with source-linked provenance. Returns original and compiled token counts, so the saving is verifiable. Net-positive above N = fee / (r x p) tokens: r your reduction, p your input price. Extractive and budget-bound, so check includedPassages before relying on it. Ranks Latin, Cyrillic, Greek, Arabic and CJK; CJK coarser (bigrams). Not for tabular or heavily-structured payloads.
Offering
- Provider
- www.mahastrategies.com
- Method
- POST
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- Data
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://www.mahastrategies.com/api/v1/compress- MIME type
- Not provided
- First seen
- 2026-10-16T01:50:19.913Z
- Last seen
- Tags
- AI, context-compression, LLM, RAG, provenance
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.005001 USDC
Atomic price: 5001 · Network: eip155:8453 · Asset: USDC · Scheme: exact - Payment option 2
- 0.005001 USDC
Atomic price: 5001 · Network: eip155:42161 · Asset: USDC · Scheme: exact - Payment option 3
- 0.005001 USDC
Atomic price: 5001 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5001",
"payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28"
},
{
"scheme": "exact",
"network": "eip155:42161",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "5001",
"payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28"
},
{
"scheme": "exact",
"network": "eip155:137",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "5001",
"payTo": "0xec84c1cd6602bbe387bc8e6f0d3c062f2762de28"
}
]Observed health
- Status
- Healthy
- Latest latency
- 47 ms
- Average latency
- 158 ms
- HTTP status
- 204
- Last checked
- Reachability
- 100% over 7 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"budgetMode": {
"enum": [
"guaranteed",
"estimated"
],
"type": "string"
},
"clientRequestId": {
"maxLength": 120,
"minLength": 8,
"type": "string"
},
"documents": {
"maxItems": 8,
"minItems": 1,
"type": "array"
},
"provenance": {
"enum": [
"full",
"compact",
"none"
],
"type": "string"
},
"scoring": {
"enum": [
"bm25",
"keyword"
],
"type": "string"
},
"task": {
"maxLength": 1200,
"minLength": 8,
"type": "string"
},
"tokenBudget": {
"maximum": 16000,
"minimum": 64,
"type": "integer"
}
},
"required": [
"clientRequestId",
"task",
"tokenBudget",
"documents"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}Output schema
{
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}