Skip to content

OpenAI usage tracker #236

Open
Open

Description

@Mole1424

Usage tracker broken
image
site 403s could fix or not include given openAI keys have changed so dont know what price is, maybe ask Joey?

Activity

  1. self-assigned this
    on Oct 10, 2023
  2. Mole1424 commented on Oct 13, 2023

    @Mole1424
    MemberAuthor

    So had a look into this:

    currently everything is undocumented and their is no official way (although apparently one is coming). The only working way I found is to run a get request to https://api.openai.com/v1/usage?date=YYYY-MM-DD every day. This will then return token usage which you can map to the public pricing at https://openai.com/pricing and then calculate cost in $ then convert to £.

    This is very jank so ive decided to temp remove this feature until there is a more official method.

    PS the original method that joey used now needs a browser session id as auth which caused the implementation to break.

  3. added
    enhancementImprovement to existing command/feature
    waitingSomething is holding up progress
    large/long termLarger changes for the soonTM pile
    on Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementImprovement to existing command/featurelarge/long termLarger changes for the soonTM pilewaitingSomething is holding up progress

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions