Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open AI - gpt-4o image cost feature missing #61

Open
lirilkumar opened this issue Jul 9, 2024 · 3 comments
Open

Open AI - gpt-4o image cost feature missing #61

lirilkumar opened this issue Jul 9, 2024 · 3 comments

Comments

@lirilkumar
Copy link

Currently, we do not have a capability to calculate cost for attached media (image) in context.
Could be a great feature?

Let me know if that is possible to calculate somehow in 0.1.11

@Jasonlin00
Copy link

same

@areibman
Copy link
Contributor

Would be a cool feature but I haven't put much thought into how multi-modal APIs handle images in general. From my narrow understanding, OpenAI does things differently than other providers. Any suggestions how to approach this?

@the-praxs
Copy link
Member

Would be a cool feature but I haven't put much thought into how multi-modal APIs handle images in general. From my narrow understanding, OpenAI does things differently than other providers. Any suggestions how to approach this?

Maybe this can help:
https://www.oranlooney.com/post/gpt-cnn/

We need to understand the image tokenizer of gpt-4o then reverse-engineer to get the tokenizer. Was searching for literature but haven't found much sadly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants