# Action Pricing

The **Action Pricing** section of the Assisfy SDK outlines the various factors that determine the cost of actions performed by an agent during a session. Understanding how pricing is calculated is crucial for developers, as it helps them manage their session costs effectively, optimize resource usage, and anticipate expenses.



## **Pricing Overview**

Each action performed by your agent is chargeable, and the pricing is based on several factors such as the type of action, its complexity, the resources involved, and the time spent on performing the action. Assisfy's pricing model is designed to be transparent, flexible, and scalable to suit a wide range of use cases, from basic actions to more complex operations requiring external resources.

## **Key Pricing Factors**

#### **Action Type**: Different actions incur different costs. Simple actions like page navigation or filling in a form may have lower costs, while complex actions such as processing large data or interacting with external services could be more expensive.

#### **Action Complexity**: Actions requiring advanced logic, machine learning models, or integration with other systems might cost more due to the computational resources involved.

#### **External Resource Involvement**: Actions that involve external resource requests (e.g., requiring user input or admin approval) will often incur higher charges because the action cannot proceed until the external resource is provided.

#### **Time Spent**: Actions that take longer to execute (e.g., waiting for external systems or interacting with multiple pages) may incur additional charges for the session’s duration.

#### **Concurrent Actions**: Multiple actions running concurrently during a session can have a higher cumulative cost due to resource contention and parallel execution.

#### **Action Frequency**: Frequent repetitions of the same action (e.g., multiple clicks or form submissions) can lead to a volume-based discount or a scaled pricing model based on usage.
