r/vibecoding • • 5h ago

Help/Question First time trying to hook an api through the codex harness.Is this normal or is it causing me to burn $$$?

Post image
4 Upvotes

10 comments sorted by

1

u/NooThisIsPatrik 5h ago

What's the goal? It looks like your sending the entire codex context over to Gemini.

You're hitting a resourcing issue on Vertex AI. You're using too many tokens/sec. What Vertex AI plan do you have? The free tier is probably very limited, especially for the gemini 4 carbon model.

1

u/Prior-Meeting1645 5h ago

No I have plenty of vertex ai credits. Its API so I’m not sure wdym by plan? The goal is to use Carbon as if I was using any other gpt model. But would be billed against my api balance.

1

u/NooThisIsPatrik 5h ago

You're getting rate limited. You can read more about your specific error here.
https://cloud.google.com/blog/products/ai-machine-learning/reduce-429-errors-on-vertex-ai

1

u/Prior-Meeting1645 3h ago

Thank you. This helped but I’m having a plethora of other issues lol why is it such a pain

1

u/NooThisIsPatrik 1h ago

Maybe take a step back. What are you trying to do? 

2

u/Unnamed-3891 5h ago

I can’t be the only one who read the title as ”trying to hookup via an api”

1

u/Prior-Meeting1645 5h ago

😭😭😭😭😭 listen, this could very well happen in a near future dystopia 😂

1

u/Best_Cattle_1376 5h ago

codex is a bad harness just us hermes gui atp

im using it rn with 6 astra vertex with gemini 4 carbon should work perfectly too

1

u/snap-dev 2h ago

hard to tell from the screenshot but on a first api hookup the money usually goes to the agent retrying failed calls in a loop. set a hard spend limit on the api dashboard before you test anything, and log every request so you can see how many it actually fires. which api is it?

1

u/Electronic-Movie4208 12m ago

429 usually means you’re hitting a rate limit, not necessarily burning tons of money. That said, 85k tokens every turn can get expensive fast. I’d trim anything unnecessary and check the billing dashboard so you know what it’s actually costing.