Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Update pricing numbers for gpt-4o-mini-2024-07-18 (#703)

Josh Purtell1525e9e524be
diff --git a/sweagent/agent/models.py b/sweagent/agent/models.py
index 0c7228f3..64d15eef 100644
--- a/sweagent/agent/models.py
+++ b/sweagent/agent/models.py
@@ -227,8 +227,8 @@ class OpenAIModel(BaseModel):
},
"gpt-4o-mini-2024-07-18": {
"max_context": 128_000,
- "cost_per_input_token": 5e-06,
- "cost_per_output_token": 15e-06,
+ "cost_per_input_token": 1.5e-07,
+ "cost_per_output_token": 6e-07,
},
}