Skip to content

Conversation

@matias-biatoz
Copy link
Contributor

@agola11

Issue
#6193

I added the new pricing for the new models.

Also, now gpt-3.5-turbo got split into "input" and "output" pricing. It currently does not support that.

@vercel
Copy link

vercel bot commented Jun 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
langchain ❌ Failed (Inspect) Jun 16, 2023 1:55pm

@vercel vercel bot temporarily deployed to Preview June 16, 2023 13:55 Inactive
@hinthornw
Copy link
Collaborator

We should update the logic in this line to split the turbo pricing by prompt and completion tokens as well

elif is_completion and model_name.startswith("gpt-4"):
        return model_name + "-completion"

to check for gpt-3.5-turbo prefixes as well

@wqj97
Copy link
Contributor

wqj97 commented Jun 16, 2023

I'm depending on ths MR too~

@vercel
Copy link

vercel bot commented Jun 19, 2023

@dev2049 is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

"gpt-4-0613-completion": 0.06,
"gpt-4-32k-completion": 0.12,
"gpt-4-32k-0314-completion": 0.12,
"gpt-4-0613": 0.06,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't think function-calling models cost anymore than their regular counterparts but maybe im missing something. cc @hinthornw @hwchase17?

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

Successfully merging this pull request may close these issues.

5 participants