irq-1 a day ago

> This equates to approximately $0.06 per minute of audio input and $0.24 per minute of audio output.

https://openai.com/index/introducing-the-realtime-api/

About the nextjs site, I was thinking maybe its difficult to have supabase hold long connections, or route the response? I'm curious too.

  • akadeb a day ago

    The long connections are ultimately handled by Deno Edge so the site isn't used there. The NextJS frontend (which also could be an iOS/Android app) helps provide an interface to select character, create AI characters, set ESP32 volume, and view conversation history.

akadeb a day ago

thank you! The nextjs frontend is to set things like device volume, selecting which character you are interacting with, viewing conversation history etc. I just tried it and for a 15 minute chat, it's roughly 20c. Roughly 570 input tokens

JKCalhoun a day ago

And I am wondering, why use an ESP32 if you don't need the WiFi? (And, please, no WiFi in a toy!)

  • akadeb a day ago

    Currently we connect to a Wifi network to reach the Deno edge server. Some popular toys doing it: Yoto, Toniebox