My API keep charging me GPT-4 usage even thought i'm not using it

Hello, OpenAi keep charging me for gpt-4 usage when i execute my code even thought i’m not even using gpt-4 here is my code, i’m using autogen with it:

%pip install pyautogen~=0.1.0

%pip install openai

import autogen
import openai

openai.api_key = ‘’

config_list_gpt = autogen.config_list_from_json(
“model”: [ “ft:gpt-3.5-turbo-0613:lnd-education::87Q1ikNa”, “gpt-3.5-turbo-16k”, “gpt-3.5-turbo-16k”],

config_list_gpt35 = autogen.config_list_from_json(



“model”: {









llm_config = {
“config_list”: config_list_gpt,
“seed”: 42,
“temperature”: 0,


user_proxy = autogen.UserProxyAgent(
name=“Assistant 1”,
system_message=“Administrateur humain.”,
code_execution_config={“last_n_messages”: 2, “work_dir”: “groupchat”},
coder = autogen.AssistantAgent(
name=“Asistant 2”,
pm = autogen.AssistantAgent(
name=“Gestionnaire des reponses.”,
system_message=“auditeur asisant”,
groupchat = autogen.GroupChat(agents=[user_proxy, coder, pm], messages=, max_round=6)
manager = autogen.GroupChatManager(groupchat=groupchat, llm_config=llm_config)

user_proxy.initiate_chat(manager, message=“Explique moi les étapes de l’audit”)

Don’t use software from Chinese nationals where OpenAI is not supported.
Generate a new API key and delete all existing ones. Then when you say “my code” it should be your code and not something you found on some online guide.

1 Like