3 ms·
It is not possible to pay anywhere close to $5 for a hundred requests, even if you used the max payload size every time. Is it possible you had a bug that caus
by sebzim4500 4y ago
It is not possible to pay anywhere close to $5 for a hundred requests, even if you used the max payload size every time.
Is it possible you had a bug that caused you to send far more requests than you were intending to send? Or maybe you used the older models which are 10x more expensive?
- Ultimatt 4y agoCould be I used an older API with the newer model. But there was no loop around the request only human input with mouse clicks from two people. Whatever was happening on the billing side there is zero chance Id ever post a project to HN for example. fetch("https://api.openai.com/v1/chat/completions", { method: "POST", headers: { "Content-Type": "application/json", Authorization: `Bearer ${window.localStorage.getItem('apikey')}`, }, body: JSON.stringify({ "messages":[ {"role":"system","content":""}, {"role":"user","content":""} ], "temperature":0.9, "max_tokens":300, "top_p":1, "frequency_penalty":0, "presence_penalty":0.6, "model":"gpt-3.5-turbo", "stream":false}), }) ])
- sebzim4500 4y agoWeird. My other guess was that you might be using best_of but you aren't doing that either.