Skip to content

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

Open

Description

@lirilkumar

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

Activity

  1. Jasonlin00 commented on Sep 19, 2024

    @Jasonlin00

    same

  2. areibman commented on Sep 19, 2024

    @areibman
    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?

  3. dot-agi commented on Sep 29, 2024

    @dot-agi
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions