AbanteAI / spice

accelerant
Apache License 2.0
4 stars 2 forks source link

Add GPT-4o-2024-08-06 model to spice/models.py with updated costs #100

Closed mentatai[bot] closed 3 months ago

mentatai[bot] commented 3 months ago

This commit adds the new GPT-4o-2024-08-06 model to the spice/models.py file. The new model supports Structured Outputs and has reduced costs compared to previous versions. Specifically, the input cost is reduced to 250 (from 500) and the output cost is reduced to 1000 (from 1500). Additionally, the model supports a maximum output of 16,384 tokens.

Changes made:

  1. Added a new TextModel instance for GPT-4o-2024-08-06.
  2. Updated the comment for the existing GPT-4o model to reflect that it currently points to gpt-4o-2024-05-13.

Closes #99

Thanks for using MentatBot. Give comments a :+1: or :-1: to help me improve!