Billing

The SnowConvert Migration Assistant uses the Snowflake Cortex REST API, which incurs compute costs based on the number of tokens processed. You can view current rates in the Snowflake Service Consumption Table, and get more information on how to monitor LLM usage and costs in your account in the Snowflake documentation for using Large Language Models.

It’s not possible to precisely estimate the cost of a given interaction with the Migration Assistant because each response is custom-generated based on the code object you’re working on. A reasonable estimate for a common, one-cycle interaction to resolve an EWI is 3500 tokens. At current rates of 2.55 credits per million tokens, this results in 0.0089 credits used, at a cost of ~$0.027 for Enterprise Edition in AWS, US East (Northern Virginia). This is only an estimate, and it is possible for interactions to use significantly more tokens than this, especially if they involve multiple rounds of conversation with the LLM.

Since SnowConvert Migration Assistant is using Snowflake Cortex REST API, the only way to get the required information to estimate the costs of the requests executed is by consulting the CORTEX_ACCOUNT_USAGE_HISTORY view by running the following query:

SELECT * FROM SNOWFLAKE.ACCOUNT_USAGE.CORTEX_FUNCTIONS_USAGE_HISTORY WHERE warehouse_id = 0 ORDER BY start_time DESC;

The provided query isolates requests made by the SnowConvert Migration Assistant by filtering for calls that did not use a virtual warehouse. This condition is effective because Cortex REST API calls are processed without a warehouse, allowing us to distinguish them from standard SQL-based queries.

Last updated