Skip to content

The agent engineering platform.

The openai_info.py does not have gpt-35-turbo which is the underlying Azure Open AI model name (#6321)

rajib0f6ef048d2de
diff --git a/langchain/callbacks/openai_info.py b/langchain/callbacks/openai_info.py
index c66ec7ce87..549720e7c4 100644
--- a/langchain/callbacks/openai_info.py
+++ b/langchain/callbacks/openai_info.py
@@ -32,6 +32,7 @@ MODEL_COST_PER_1K_TOKENS = {
"gpt-3.5-turbo-16k-completion": 0.004,
"gpt-3.5-turbo-16k-0613-completion": 0.004,
# Others
+ "gpt-35-turbo": 0.002, # Azure OpenAI version of ChatGPT
"text-ada-001": 0.0004,
"ada": 0.0004,
"text-babbage-001": 0.0005,