Skip to content

Releases: Cainier/gpt-tokens

v1.3.6

16 May 06:53
b8bc10c
Compare
Choose a tag to compare

What's Changed

  • fix: missing gpt-4o ts type in supportedModels and README.md by @kingchan818 in #48
  • chore: Update package.json and pricing.ts by @Cainier in #49

Full Changelog: v1.3.5...v1.3.6

v1.3.5

15 May 06:18
f9c7a5a
Compare
Choose a tag to compare

What's Changed

  • feat: add supportModelType, gpt-4o, gpt-4o-2024-05-13 by @kingchan818 in #47

New Contributors

Full Changelog: v1.3.4...v1.3.5

v1.3.4

16 Apr 01:46
Compare
Choose a tag to compare

New model support:

  • gpt-4-turbo-2024-04-09
  • gpt-4-turbo

v1.3.3

23 Feb 15:02
c7183ee
Compare
Choose a tag to compare

Fix import bug

v1.3.2

18 Feb 02:12
Compare
Choose a tag to compare
  • Optimize mapping relationship (For most updates, just maintain the file src/pricing.ts)
  • Add model support
    • gpt-3.5-turbo-0125
    • gpt-4-0125-preview
    • gpt-4-turbo-preview

v1.2.0

02 Dec 10:25
8297df1
Compare
Choose a tag to compare
  1. Add fine tune training calc tokens
  2. Add fine tune model calc tokens
  3. Add function calling tools calc tokens
  4. Default disable warning tips, pass in "debug: true" to enable warnings

v1.1.3

08 Nov 05:37
Compare
Choose a tag to compare

Add model support

  • gpt-3.5-turbo-1106
  • gpt-4-1106-preview

Thanks for @sebastiansandqvist

v1.1.2

24 Jul 14:52
65843e3
Compare
Choose a tag to compare
  • remote parameter plus
  • fix gpt-3.5-turbo usd calc

v1.1.1

23 Jul 08:47
da3e19f
Compare
Choose a tag to compare

Improved performance (thanks lox)

v1.1.0

10 Jul 07:07
676662a
Compare
Choose a tag to compare

fix completion calc error

Added some properties to the instance object

See README.md for details