{"service":"HALOWERK modellwerk","endpoint":"/v1/cost-estimate","method":"POST","content_type":"application/json","inputSchema":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string","maxLength":200000,"description":"The prompt text. Either this or input_tokens."},"input_tokens":{"type":"integer","minimum":0,"maximum":10000000,"description":"Known input token count. Either this or text."},"output_tokens":{"type":"integer","minimum":0,"maximum":1000000,"default":500,"description":"Expected output length in tokens."},"models":{"type":"array","items":{"type":"string"},"maxItems":20,"description":"Model ids to price. All known models if omitted."},"calls":{"type":"integer","minimum":1,"maximum":1000000,"default":1,"description":"Number of identical calls to multiply by."},"cached_input_tokens":{"type":"integer","minimum":0,"description":"Of the input tokens, how many are served from cache."},"batch":{"type":"boolean","default":false,"description":"Apply the batch discount where the model has one."}}},"requestExample":{"output_tokens":500,"calls":1,"batch":false},"operations":[{"method":"POST","inputSchema":{"type":"object","additionalProperties":false,"properties":{"text":{"type":"string","maxLength":200000,"description":"The prompt text. Either this or input_tokens."},"input_tokens":{"type":"integer","minimum":0,"maximum":10000000,"description":"Known input token count. Either this or text."},"output_tokens":{"type":"integer","minimum":0,"maximum":1000000,"default":500,"description":"Expected output length in tokens."},"models":{"type":"array","items":{"type":"string"},"maxItems":20,"description":"Model ids to price. All known models if omitted."},"calls":{"type":"integer","minimum":1,"maximum":1000000,"default":1,"description":"Number of identical calls to multiply by."},"cached_input_tokens":{"type":"integer","minimum":0,"description":"Of the input tokens, how many are served from cache."},"batch":{"type":"boolean","default":false,"description":"Apply the batch discount where the model has one."}}},"requestExample":{"output_tokens":500,"calls":1,"batch":false}}],"example_request":{"output_tokens":500,"calls":1,"batch":false},"serviceName":"cost_estimate","tags":["llm","cost","planning"],"outputSchema":{"type":"object"}}