How to estimate the cost of a workflow in Kotia
Estimate the cost of a workflow in Kotia by its steps, model choice and repeats. Check a test run and reuse saved results to limit token spend.
On this page6
Check the cost of one item before you start preparing a series of articles or regular posts. In Kotia, the cost of a workflow is made up of the actions it performs: services, model work, the amount of input data, and repeats. The charges for each step show where your tokens went.
A workflow as a whole has no single fixed price. A test run with your settings gives you a budget estimate and helps you decide which steps you need, which model to choose, and where you can use a result you already have instead of running it again.
Example: searching for news and writing a post
Let's look at the workflow "News search" → "Pick what matters" → "Social media post" → "Document". In it, the cost is split across actions:
| Step | What the work is charged for |
|---|---|
| News search | Running the search service; if the assistant is turned on, its work too |
| Material selection | The work of AI with the news found and your requirements |
| Preparing the post | The work of the selected model with the material, the task, and the connected settings |
| Saving to the selected document | Saving itself does not require a separate model charge |
If you change only how the post is presented, you don't need to search for and select the news again. When results from a previous run are available, you can start a run from the step you need. The material you already prepared is then reused, and new charges apply only to the actions that run.
How to check the cost of your workflow
- Review the paid steps: which services are called and which models are selected for writing and processing text.
- Check the extra actions in the settings: the service's assistant, memory updates, and the agent choosing the data.
- For the first check, set up one item or a small batch. If the workflow has a loop, check the number of its repeats before you run it.
- Run the workflow and make sure you get the result you want, for example, one post that is ready to publish.
- Look at the amounts on the completed cards and in the balance history. Compare the charges with the actions that actually ran.
- After you change the model, the size of the input text, or the number of repeats, check the cost again. The earlier amount may not match the new settings.
Don't estimate the cost of a large series from just one short article. If the items differ a lot in size, check several typical examples and take the difference into account when you choose the size of your next run.
What the cost depends on
| Type of action | What affects the cost |
|---|---|
| AI writes or reworks text | The model, the amount of material passed in, the task, and the response |
| Service with a fixed price | The number of its runs and the selected mode, if the service offers one |
| Service billed by volume | The size of the text, the number of images, or other parameters of the work |
| Assistant inside a service | Extra processing of the incoming data by the model |
| Style, skill, and memory | The amount of context for the step; for automatic memory, its updates are charged too |
The data cards themselves and the layout of the workflow do not trigger paid work. Reading the selected document and saving the result don't require separate generation either. But if the agent chooses a document or processes its contents on your instructions, its work is counted separately. For more about charges, see the article about tokens.
What the amount on a card means
After a run, the card shows the tokens that were actually charged. For some services, the fixed price is visible before the run starts. It helps you estimate a specific action, but it is not a calculation for the whole workflow.
When you reuse a result, a card may still show an amount from the previous run. That number is not a new charge. Check the tooltip on the marker and the balance history. To see when and which step ran, use the run history.
The amount for a step inside a loop includes its completed repeats. So the cost can grow as the workflow runs, even if you see only one card for that step on the screen.
How to avoid unnecessary repeat charges
- Redo only the part you need. If the source data has already been collected, run the work from the step you want to change instead of repeating the whole chain.
- Test your settings on one result. First get a post you're happy with, then increase the batch size and the number of repeats.
- Pass only the materials you need. To edit one paragraph, you don't need the whole archive of documents, but keep the context needed for an accurate result.
- Turn on the assistant when it solves the problem. If the request to the service is already ready, extra processing may not be needed. If the request has to be picked out of a large body of material, the assistant is useful.
- Save a good result. Regenerating an image or rechecking text is new work, even if the input is the same.
A saved list is not always a free repeat either. For example, the "Keyword collection" card charges a fee for issuing the next batch of an already collected list. Check the terms of a specific card before you set up frequent runs.
What happens when there is an error or the run stops
Charges are applied as individual steps run. The total for the whole workflow is not reserved in advance. If the last step fails, the earlier steps that completed remain charged, and their results are saved.
Refunds depend on the service and the cause of the failure. Don't assume that any unsuccessful run is completely free. For example, an image may have been created before the error occurred while saving it. First read the reason the run stopped, check the results that are ready, and review the balance entries. After you fix the problem, repeat only the work that is needed.