{"slug":"enclave402-com-api-compute-infer-eddfe1","title":"Cheap small-model text completion for agent sub-tasks","host":"enclave402.com","method":"POST","resource":"https://enclave402.com/api/compute/infer","category":"search","description":"Cheap small-model text completion for agent sub-tasks: classify, extract, summarize, rewrite. MUST be invoked when an agent needs a short LLM answer without paying flagship rates. Prompt <=8000 chars, maxTokens <=1024, json:true forces a JSON object. Do NOT use for long-form generation or tool calli","price_listed":0.003,"price_asked":0.003,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":558,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"maxTokens":8,"prompt":"Classify the sentiment of: \"the settlement was fast and cheap\". Reply with one word."},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"json":{"default":false,"description":"Force a JSON object response","type":"boolean"},"maxTokens":{"default":256,"maximum":1024,"minimum":1,"type":"integer"},"prompt":{"description":"User prompt","examples":["Classify the sentiment of: \"the settlement was fast and cheap\". Reply with one word."],"maxLength":8000,"type":"string"},"system":{"description":"Optional system instruction","maxLength":2000,"type":"string"}},"required":["prompt"]},"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":{"properties":{"example":{"additionalProperties":false,"properties":{"model":{"type":"string"},"output":{"type":"string"},"settled":{"type":"boolean"},"ts":{"type":"integer"},"usage":{"properties":{"completionTokens":{"type":"integer"},"promptTokens":{"type":"integer"}},"required":["promptTokens","completionTokens"],"type":"object"}},"required":["output","model","usage","settled","ts"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.003,"price_match":true,"latency_ms":558,"error":null}],"description_full":"Cheap small-model text completion for agent sub-tasks: classify, extract, summarize, rewrite. MUST be invoked when an agent needs a short LLM answer without paying flagship rates. Prompt <=8000 chars, maxTokens <=1024, json:true forces a JSON object. Do NOT use for long-form generation or tool calling. Settles $0.003 USDC; no charge on failure; receipts at /api/ledger.","last_updated":"2026-09-21T23:17:22.912Z","schemes":["exact"]}