Demo, all content is generated
Question

Replit Agent charged $3.80 for changing a button color??

Solved · 871 views · asked by halima_s · edited

Asked the Agent "make the submit button green and a bit bigger". It ran for a few minutes, checked things, restarted the app, took a screenshot... and the checkpoint cost $3.80. Earlier simple things were like $0.25.

Am I doing something wrong or is this just how it is now?

What I’ve tried

Read the pricing page about effort-based pricing. Didn't understand how the effort is decided.

Comment
same here, my usage alerts go crazy since the last agent update blessing_a · edited

3 answers

Marked as helpful by the asker
deploydan · edited

With effort-based pricing the agent decides how much work a request is, and you see the cost after. On a larger app, even a tiny request can trigger it to read a lot of code, run the app, test, and verify, all of which you pay for.

What helps:

  • For trivial visual changes, edit the file yourself (the Tailwind class or CSS). It's free and faster.
  • Use the lighter Assistant/edit mode for small scoped changes instead of the full Agent.
  • Be specific: "In client/src/components/ContactForm.tsx, change the submit button class to bg-green-600 px-6 py-3. Don't test or restart." gives it nothing to explore.
  • Set a usage alert and a budget limit in your account billing settings so a bad week can't surprise you.

Save the Agent for multi-file features where its autonomy actually earns the money.

Comment
Tried the super specific prompt, $0.30. The "don't test or restart" part seems to matter halima_s · edited
Setting a budget limit was the best thing I did on Replit bongani · edited
ruby_t · edited

The screenshot/testing step is the expensive part in my experience. You can tell it upfront to skip it for small things.

Comment
good to know halima_s · edited
amara_v · edited

Watch out that it doesn't "improve" other things along the way. I asked for a color change and it refactored my navbar. Saying "only this change" helped a lot.

Comment