---
title: "Discussion on \"How to build your own OpenAI cost calculator\" | Hashnode"
description: "Discussion on \"How to build your own OpenAI cost calculator\". Includes Python code"
url: "https://hashnode.com/posts/how-to-build-your-own-openai-cost-calculator/64759186846e3bd54829f2b3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to build your own OpenAI cost calculator](https://taranjeet.hashnode.dev/how-to-build-your-own-openai-cost-calculator?utm_source=hashnode&utm_medium=feed)

Includes Python code

May 30, 2023 · 7 min read · taranjeet.hashnode.dev  
Updated May 31, 2023  
Read the article

-   [#ai](https://hashnode.com/tag/ai)
-   [#openai](https://hashnode.com/tag/openai)
-   [#gpt-4](https://hashnode.com/tag/gpt-4)
-   [#chatgpt](https://hashnode.com/tag/chatgpt)
-   [#python](https://hashnode.com/tag/python)

## Written by

[Taranjeet Singh](https://hashnode.com/@taranjeet)

@taranjeet

  
[View profile](https://hashnode.com/@taranjeet)

Building Embedchain.ai

Currently building Embedstore.ai • Prev built cookup.ai (AI app store, 450K+ monthly traffic) • eval.ai (42K+ monthly users, used by Microsoft, Stanford, etc) • ML based camera scanner app featured at Google I/O • built &amp; scaled an alternate Android app store to 3M organic users &amp; 300K monthly active • co-authored a chapter in a major book in AI &amp; been working in AI/Ml since 2014.

## Responses 1

Markdown supported · ⌘↵ to post

[Kavir Kaycee](https://hashnode.com/@kavir)

[May 30, 2023](https://hashnode.com/posts/how-to-build-your-own-openai-cost-calculator/64759186846e3bd54829f2b3/comment/6475deb6deb8b4bf8d801c2e)

Good to see you posting on Hashnode!

[Taranjeet Singh](https://hashnode.com/@taranjeet)

[May 30, 2023](https://hashnode.com/posts/how-to-build-your-own-openai-cost-calculator/64759186846e3bd54829f2b3/comment/6475deb6deb8b4bf8d801c2e#reply-64760c2bbdd34abc7cb100ab)

Thank you :)
