{"slug":"agent-kit-light-production-up-railway-app-v1-text-auf-tokens-d868ea","title":"Truncates a text to a maximum number of tokens without cutting a token in half, ","host":"agent-kit-light-production.up.railway.app","method":"POST","resource":"https://agent-kit-light-production.up.railway.app/v1/text-auf-tokens-kuerzen","category":"market","description":"Truncates a text to a maximum number of tokens without cutting a token in half, optionally at the last sentence or paragraph boundary, keeping the start, the end, or both ends. Kürzt Text auf ein Token-Budget.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":790,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"max_tokens":12,"text":"Erster Satz mit Inhalt. Zweiter Satz mit mehr Inhalt. Dritter Satz, der wegfallen soll."},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"an_satzgrenze":{"default":true,"description":"","type":"boolean"},"behalten":{"default":"anfang","description":"","enum":["anfang","ende","beides"],"maxLength":200000,"type":"string"},"max_tokens":{"description":"","maximum":2000000,"minimum":1,"type":"integer"},"modell":{"default":"o200k","description":"Tokenizer: o200k (GPT-4o, o1, GPT-4.1) oder cl100k (GPT-4, GPT-3.5); für andere Modelle eine Näherung","enum":["o200k","cl100k"],"maxLength":200000,"type":"string"},"text":{"description":"Text","maxLength":5000000,"type":"string"}},"required":["text","max_tokens"],"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":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":522,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":641,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":939,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1305,"error":null}],"description_full":"Truncates a text to a maximum number of tokens without cutting a token in half, optionally at the last sentence or paragraph boundary, keeping the start, the end, or both ends. Kürzt Text auf ein Token-Budget.","last_updated":"2026-11-24T16:00:51.219Z","schemes":["exact"]}