From 5848056c495af113c8bb7aeb967d9efef6548eb8 Mon Sep 17 00:00:00 2001 From: karen-veigas <62535022+karen-veigas@users.noreply.github.com> Date: Thu, 19 Jun 2025 00:49:36 +0930 Subject: [PATCH] Fix #11856: Update billing.md docs to call the new GPT-4o model (#11858) * Fix: #11853 Updated alerting.md to call the latest model for adding metadata. * Fix: #11856 Updated billing docs to call newer GPT model for Langchain and CURL --- docs/my-website/docs/proxy/alerting.md | 2 +- docs/my-website/docs/proxy/billing.md | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/my-website/docs/proxy/alerting.md b/docs/my-website/docs/proxy/alerting.md index e2f6223c8f..4cbcd0cffc 100644 --- a/docs/my-website/docs/proxy/alerting.md +++ b/docs/my-website/docs/proxy/alerting.md @@ -148,7 +148,7 @@ client = openai.OpenAI( # request sent to model set on litellm proxy, `litellm --model` response = client.chat.completions.create( - model="gpt-3.5-turbo", + model="gpt-4o", messages = [], extra_body={ "metadata": { diff --git a/docs/my-website/docs/proxy/billing.md b/docs/my-website/docs/proxy/billing.md index 902801cd0a..c1d01467a3 100644 --- a/docs/my-website/docs/proxy/billing.md +++ b/docs/my-website/docs/proxy/billing.md @@ -101,7 +101,7 @@ client = openai.OpenAI( ) # request sent to model set on litellm proxy, `litellm --model` -response = client.chat.completions.create(model="gpt-3.5-turbo", messages = [ +response = client.chat.completions.create(model="gpt-4o", messages = [ { "role": "user", "content": "this is a test request, write a short poem" @@ -127,7 +127,7 @@ os.environ["OPENAI_API_KEY"] = "sk-tXL0wt5-lOOVK9sfY2UacA" # 👈 Team's Key chat = ChatOpenAI( openai_api_base="http://0.0.0.0:4000", - model = "gpt-3.5-turbo", + model = "gpt-4o", temperature=0.1, ) @@ -198,7 +198,7 @@ For: curl --location 'http://0.0.0.0:4000/chat/completions' \ --header 'Content-Type: application/json' \ --data ' { - "model": "gpt-3.5-turbo", + "model": "gpt-4o", "messages": [ { "role": "user", @@ -220,7 +220,7 @@ For: ) # request sent to model set on litellm proxy, `litellm --model` - response = client.chat.completions.create(model="gpt-3.5-turbo", messages = [ + response = client.chat.completions.create(model="gpt-4o", messages = [ { "role": "user", "content": "this is a test request, write a short poem" @@ -247,7 +247,7 @@ For: chat = ChatOpenAI( openai_api_base="http://0.0.0.0:4000", - model = "gpt-3.5-turbo", + model = "gpt-4o", temperature=0.1, extra_body={ "user": "my_customer_id" # 👈 whatever your customer id is @@ -306,7 +306,7 @@ client = openai.OpenAI( ) # request sent to model set on litellm proxy, `litellm --model` -response = client.chat.completions.create(model="gpt-3.5-turbo", messages = [ +response = client.chat.completions.create(model="gpt-4o", messages = [ { "role": "user", "content": "this is a test request, write a short poem"