# Juno \<\> OpenAI demo

**URL:** <https://forum.dfinity.org/t/juno-openai-demo/28176>\
**Category:** Developers\
**Created:** [March 6, 2024, 6:39pm UTC](https://forum.dfinity.org/t/juno-openai-demo/28176 "2024-03-06T18:39:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [March 6, 2024, 6:39pm UTC](https://forum.dfinity.org/t/juno-openai-demo/28176/1 "2024-03-06T18:39:21Z")

</div>

Hey 👋

I’ve built a demo app that leverages [Juno](https://juno.build) serverless functions to query the OpenAI API from a satellite canister with HTTP outcalls.

You can have fun here 👉 [https://pycrs-xiaaa-aaaal-ab6la-cai.icp0.io](https://pycrs-xiaaa-aaaal-ab6la-cai.icp0.io)

But probably more interesting for the forum, the solution is open source 👉 [GitHub - peterpeterparker/juno-openai: A demo showcasing the integration of OpenAI with Juno.](https://github.com/peterpeterparker/juno-openai)

Ping me for questions!

* * *

Dall-E:

 ![Capture d’écran 2024-03-06 à 19.38.31](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/d/e/deb90b878b861bdf37def2318a63c554fa9d2818.jpeg)

Vision preview:

 ![Capture d’écran 2024-03-06 à 19.37.43](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/1/9/19c16522e265ff51c685d901b5ab3030a8eee9d6.jpeg)

---

<div class="post-metadata">

**Author:** ![bblist](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bblist](https://forum.dfinity.org/u/bblist)\
**Post date:** [March 10, 2024, 3:12pm UTC](https://forum.dfinity.org/t/juno-openai-demo/28176/2 "2024-03-10T15:12:23Z")

</div>

Thats cool, but what are the cost factor with the Out Calls needing to take place?

---

<div class="post-metadata">

**Author:** ![peterparker](https://avatars.discourse-cdn.com/v4/letter/p/b9bd4f/32.png) [@peterparker](https://forum.dfinity.org/u/peterparker)\
**Post date:** [March 10, 2024, 3:22pm UTC](https://forum.dfinity.org/t/juno-openai-demo/28176/3 "2024-03-10T15:22:27Z")

</div>

It’s just a **demo**. I’ve allocated enough cycles to make my showcase happen, but the solution can be improved. If you want to explore it further, you can fork and deploy the repo here: [https://github.com/peterpeterparker/juno-openai](https://github.com/peterpeterparker/juno-openai)

---

<div class="post-metadata">

**Author:** ![bblist](https://avatars.discourse-cdn.com/v4/letter/b/8e7dd6/32.png) [@bblist](https://forum.dfinity.org/u/bblist)\
**Post date:** [March 10, 2024, 6:54pm UTC](https://forum.dfinity.org/t/juno-openai-demo/28176/4 "2024-03-10T18:54:21Z")

</div>

What i am saying is that Outcalls are expensive! and they need to start comparing all prices to Amazon if they want to be taken seriously - not comparing to Ethereum etc…
