Cortex Code in Snowflake: How to Use It Without Burning Credits
Towards AI
•
Machine Learning
Generative AI
AI Tools
Snowflake Cortex Code (CoCo) is like an AI assistant inside Snowsight (and CLI also). You can ask it to write SQL, create dbt models, explore data, help in ML work, and even do some admin tasks. But one thing people don’t realise early - this tool is powerful, but also costly if used wrongly. Bad prompts → tokens → credits → surprise bill. Prompt Engineering (this directly impacts cost) CoCo works on token consumption. what you type → counted 2. what it replies → counted If your prompt is vague → tool calls → cost. Example: Bad: Help me with my data Good: Create staging model for.