Usage Dashboard
Connect to Snowflake to view your Cortex AI usage and costs
Connect to Snowflake
Available Queries
Once connected, we'll run these queries to fetch your usage data:
AI Services Metering History
Track credits used for AI Services including LLM Functions
SELECT * FROM SNOWFLAKE.ACCOUNT_USAGE.METERING_DAILY_HISTORY WHERE SERVICE_TYPE='AI_SERVICES';
Cortex Functions Usage History
View credit and token consumption for each AI Function call
SELECT * FROM SNOWFLAKE.ACCOUNT_USAGE.CORTEX_FUNCTIONS_USAGE_HISTORY;
Cortex Functions Query Usage History
Credit and token consumption for each query in your account
SELECT * FROM SNOWFLAKE.ACCOUNT_USAGE.CORTEX_FUNCTIONS_QUERY_USAGE_HISTORY;
Required Permissions
To query ACCOUNT_USAGE views, your role needs the IMPORTED PRIVILEGES on the SNOWFLAKE database, or you need to use a role with ACCOUNTADMIN privileges.