tokencost icon indicating copy to clipboard operation
tokencost copied to clipboard

OpenAI o1 pricing

Open squinn1 opened this issue 1 year ago • 5 comments

Hi, Can we get openai o1 pricing added to this package please?

squinn1 avatar Sep 17 '24 14:09 squinn1

it would be super nice!

williambrach avatar Sep 26 '24 16:09 williambrach

@squinn1 I took a quick look into code and I assume we just need to update this file https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json with adding o1-preview and o1-mini. Do you wanna open PR or should I?

williambrach avatar Sep 27 '24 07:09 williambrach

Hi @williambrach it looks like its already been implemented in the last couple of PRs, could do with a bump to the pypi version though

squinn1 avatar Sep 27 '24 11:09 squinn1

@squinn1 thanks! I was just confused because readme was not updated :D !

williambrach avatar Sep 27 '24 11:09 williambrach

@squinn1 thanks! I was just confused because readme was not updated :D !

pricing_list.md has the updated cost but it's not reflected in the README. So that should either be updated or it reflects the list file.

dot-agi avatar Sep 28 '24 15:09 dot-agi