erebor
erebor3w ago

Credit Usage Question (Sonnet)

I have noticed that a fair chunk of my credits for my deployed chatbot is being used up by Cluade 4 Sonnet, however I don't have any blocks enabled in my workflow that use this model. I confirmed this by opening the .vf file of the project in an IDE and searching for any occurences of 'Sonnet'. Is there some sort of background activity that is using Sonnet? Or is it default for anything that wouldn't show up within the source code of the project file? Thanks!
7 Replies
erebor
ereborOP2w ago
hello @Braden (Voiceflow CEO) - could you help with this question please? Any ideas why Sonnet 4 is being used for credits
Braden
Braden2w ago
it's the default model for agents, it may have been used when you first srtarted testing the project. also it is used for prompt generation if you use that feature @erebor
erebor
ereborOP2w ago
UPDATE: I found the issue! There was a set AI block still using sonnet 4, I have changed now, thanks 🙂
erebor
ereborOP2w ago
I also have a semi-related question that maybe you can clear up @Braden (Voiceflow CEO) ? In my workflow, I have lots of programatically triggered 'Events' (i.e. I have code in my frontend that triggers events in my wflow based on certain conditions). I have noticed that when these events are trigerred, it sends a 'user message' into the conversation which isn't actually a message from the user. However it still uses up one credit. See attached screenshot for an example. Is this expected behaviour? imo this shouldn't consume a credit as it is not actually a message from the user, it is system generated. lmk your thoughts. i really apreciate everything you and the team have done with Voiceflow btw! Super intuitive software with loads of possibilities for devs 🙂
No description
Braden
Braden2w ago
oh interesting, yes it shouldn't consume a credit You are right, we will make a change for this
erebor
ereborOP2w ago
amazing, thanks @Braden (Voiceflow CEO)!! I will keep an eye on the changelog
Braden
Braden2w ago
np!

Did you find this page helpful?