Skip to content

Releases: Cainier/gpt-tokens

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

v1.0.10

30 Jun 03:26
df93ffb
Compare
Choose a tag to compare

Fix the problem that the tokens of gpt-3.5 series models except gpt-3.5-turbo-0301 are incorrectly calculated due to the update of the openai model

v1.0.9

15 Jun 02:56
f929736
Compare
Choose a tag to compare

support:

  • gpt-4-0613
  • gpt-4-32k-0613
  • gpt-3.5-turbo-16k-0613

v1.0.8

14 Jun 03:20
01faefd
Compare
Choose a tag to compare
  1. Support gpt-3.5-turbo-16k
  2. Support gpt-3.5-turbo-0613
  3. Support plus

v1.0.7

11 May 16:08
b3f5fb1
Compare
Choose a tag to compare

Fix memeory lea bug