Prompt Compressor / Context Shrinker is a paid API for AI agents from x402-deployer.x402-deployer.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).
Rewrites a long system prompt down to a target compression ratio while preserving all instructions, constraints, and examples — dropping filler, redundancy, and ceremonial language.
Prompt compressor / context shrinker / prompt distiller / cost-cutter for long system prompts. Rewrites a long prompt down to a target ratio of its original length while preserving every instruction, constraint, and example's intent. Drops filler words, redundant repetition, and ceremonial politeness. Powered by Venice mistral-small-3-2-24b.
Returns the rewritten, compressed prompt text that preserves all original instructions, constraints, and example intent at the specified target ratio, with redundancy and filler removed.
POSThttps://x402-deployer.x402-deployer.workers.dev/prompt-compressUse this endpoint when you need to reduce token count and LLM API costs for long system prompts, especially when the prompt has verbose instructions, ceremonial politeness, or redundant repetition. Prefer this over manual editing when you want an AI-driven distillation that guarantees semantic preservation of every constraint and example.
{
"prompt": "You are a helpful AI assistant. You should always be polite, respectful, and professional in your interactions with users. When responding to questions, make sure to provide accurate and helpful information. Always double-check your work before submitting responses. Never make up information or provide false data. If you don't know something, say so clearly. Be concise but thorough in your explanations. Consider the user's perspective and try to be as helpful as possible. Remember to maintain a friendly tone throughout the conversation. If the user asks for help with something, do your best to assist them in a clear and organized manner. Always respect user privacy and confidentiality. Follow all applicable laws and regulations. Be honest and transparent in your communications.",
"targetRatio": 0.4
}| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"model": "hermes-3-llama-3.1-405b",
"source": "morpheus",
"original": "You are a helpful AI assistant. You should always be polite, respectful, and professional in your interactions with users. When responding to questions, make sure to provide accurate and helpful information. Always double-check your work before submitting responses. Never make up information or provide false data. If you don't know something, say so clearly. Be concise but thorough in your explanations. Consider the user's perspective and try to be as helpful as possible. Remember to maintain a friendly tone throughout the conversation. If the user asks for help with something, do your best to assist them in a clear and organized manner. Always respect user privacy and confidentiality. Follow all applicable laws and regulations. Be honest and transparent in your communications.",
"compressed": "Be a polite, professional AI. Provide accurate, helpful information. Double-check responses. Don't make up info; admit unknowns. Be concise yet thorough. Consider user's view. Maintain friendly tone. Assist help requests clearly. Respect privacy. Follow laws. Be honest and transparent.",
"actual_ratio": 0.363,
"target_ratio": 0.4,
"original_chars": 788,
"compressed_chars": 286
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"