@goliapkg/tiktoken-wasm 3.2.5 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/tiktoken_wasm.d.ts +1 -0
- package/tiktoken_wasm.js +1 -0
- package/tiktoken_wasm_bg.wasm +0 -0
package/package.json
CHANGED
package/tiktoken_wasm.d.ts
CHANGED
|
@@ -104,6 +104,7 @@ export function estimateCost(model_id: string, input_tokens: number, output_toke
|
|
|
104
104
|
* Supported encodings:
|
|
105
105
|
* - `"cl100k_base"` — GPT-4, GPT-3.5-turbo
|
|
106
106
|
* - `"o200k_base"` — GPT-4o, GPT-4.1, o1, o3
|
|
107
|
+
* - `"o200k_harmony"` — gpt-oss (harmony chat format)
|
|
107
108
|
* - `"p50k_base"` — text-davinci-002/003
|
|
108
109
|
* - `"p50k_edit"` — text-davinci-edit
|
|
109
110
|
* - `"r50k_base"` — GPT-3 (davinci, curie, etc.)
|
package/tiktoken_wasm.js
CHANGED
|
@@ -344,6 +344,7 @@ export function estimateCost(model_id, input_tokens, output_tokens) {
|
|
|
344
344
|
* Supported encodings:
|
|
345
345
|
* - `"cl100k_base"` — GPT-4, GPT-3.5-turbo
|
|
346
346
|
* - `"o200k_base"` — GPT-4o, GPT-4.1, o1, o3
|
|
347
|
+
* - `"o200k_harmony"` — gpt-oss (harmony chat format)
|
|
347
348
|
* - `"p50k_base"` — text-davinci-002/003
|
|
348
349
|
* - `"p50k_edit"` — text-davinci-edit
|
|
349
350
|
* - `"r50k_base"` — GPT-3 (davinci, curie, etc.)
|
package/tiktoken_wasm_bg.wasm
CHANGED
|
Binary file
|