{"_id":"@ai-billing/baseten","_rev":"4-8b1b803f680270b9ccd7ce76001162ea","name":"@ai-billing/baseten","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0":{"name":"@ai-billing/baseten","version":"0.0.0","license":"Apache-2.0","_id":"@ai-billing/baseten@0.0.0","maintainers":[{"name":"audrzejq","email":"audrzejq@gmail.com"},{"name":"osquar","email":"oskar@narev.ai"}],"homepage":"https://github.com/narevai/ai-billing#readme","bugs":{"url":"https://github.com/narevai/ai-billing/issues"},"dist":{"shasum":"596907959e2b44b218df1920645e770fe69c2ab1","tarball":"https://registry.npmjs.org/@ai-billing/baseten/-/baseten-0.0.0.tgz","fileCount":9,"integrity":"sha512-cRmFDUNOfbxnUUcD0y6Ldd4Mqz16WhLkJqpjmXo1BKR4byTpU9tgwD4q2tSzaMdmBr38AMID3+nLuNBkL5Dk1A==","signatures":[{"sig":"MEQCIDEDdcGWh7Z+3TGMj3FfOROWTfqLSNZjZOSwEo1FGQo4AiBy5M7T1TSqyOkldrv4R1bylzBIcU3KsrKwC/Q7um13mw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35554},"main":"./dist/index.js","type":"module","_from":"file:ai-billing-baseten-0.0.0.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"oxlint","test":"vitest run","build":"tsup","test:watch":"vitest","check-types":"tsc --noEmit","docs:generate":"typedoc --options typedoc.json","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"osquar","email":"oskar@narev.ai"},"_resolved":"/tmp/4fb2e4e487de412fef1cdf7cd2e9baaf/ai-billing-baseten-0.0.0.tgz","_integrity":"sha512-cRmFDUNOfbxnUUcD0y6Ldd4Mqz16WhLkJqpjmXo1BKR4byTpU9tgwD4q2tSzaMdmBr38AMID3+nLuNBkL5Dk1A==","repository":{"url":"git+https://github.com/narevai/ai-billing.git","type":"git","directory":"packages/baseten"},"_npmVersion":"11.16.0","description":"Baseten billing for the AI Billing SDK. Uses free cache-hit semantics: cached tokens are subtracted from the prompt bucket and are not billed separately.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@ai-billing/core":"0.1.4","@ai-billing/types":"0.0.2"},"publishConfig":{"access":"public","provenance":false},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.138","zod":"^4.3.6","tsup":"^8.5.1","vitest":"4.1.10","typedoc":"^0.28.19","typescript":"5.9.3","@ai-sdk/provider":"^3.0.8","@edge-runtime/vm":"^5.0.0","@ai-billing/testing":"0.1.0","typedoc-plugin-markdown":"^4.11.0","@ai-billing/typescript-config":"0.0.1"},"peerDependencies":{"@ai-sdk/baseten":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/baseten_0.0.0_1784643094969_0.6336145736045642","host":"s3://npm-registry-packages-npm-production"}},"0.0.1":{"name":"@ai-billing/baseten","version":"0.0.1","license":"Apache-2.0","_id":"@ai-billing/baseten@0.0.1","maintainers":[{"name":"audrzejq","email":"audrzejq@gmail.com"},{"name":"osquar","email":"oskar@narev.ai"}],"homepage":"https://github.com/narevai/ai-billing#readme","bugs":{"url":"https://github.com/narevai/ai-billing/issues"},"dist":{"shasum":"4f014efab7da9f3f43509e3302b83dbdc588c5bb","tarball":"https://registry.npmjs.org/@ai-billing/baseten/-/baseten-0.0.1.tgz","fileCount":9,"integrity":"sha512-sa388paBWviPO7M6mM4D8qaFZr3WeW3mNE1ahlvHXPpUF/YZU3jFeBp8en8xSLAhzFzKtaqjCF/hgw2zrNaEIg==","signatures":[{"sig":"MEYCIQChEP8otdz808IsHjI9EH5M/DXuYtZngQpfBCqAdkzfCwIhANfe13gzy1UfeXkFqHqLTWgQyNJuqMMKkElJdLfiBgww","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-billing%2fbaseten@0.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35553},"main":"./dist/index.js","type":"module","_from":"file:ai-billing-baseten-0.0.1.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"oxlint","test":"vitest run","build":"tsup","test:watch":"vitest","check-types":"tsc --noEmit","docs:generate":"typedoc --options typedoc.json","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d6009d0-1ec0-4c52-8941-0ac0ae65995e"}},"_resolved":"/tmp/d6ef6f41e020848c71ed8630266ba420/ai-billing-baseten-0.0.1.tgz","_integrity":"sha512-sa388paBWviPO7M6mM4D8qaFZr3WeW3mNE1ahlvHXPpUF/YZU3jFeBp8en8xSLAhzFzKtaqjCF/hgw2zrNaEIg==","repository":{"url":"git+https://github.com/narevai/ai-billing.git","type":"git","directory":"packages/baseten"},"_npmVersion":"11.16.0","description":"Baseten billing for the AI Billing SDK. Uses free cache-hit semantics: cached tokens are subtracted from the prompt bucket and are not billed separately.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@ai-billing/core":"0.1.4","@ai-billing/types":"0.0.2"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.138","zod":"^4.3.6","tsup":"^8.5.1","vitest":"4.1.10","typedoc":"^0.28.19","typescript":"5.9.3","@ai-sdk/provider":"^3.0.8","@edge-runtime/vm":"^5.0.0","@ai-billing/testing":"0.1.0","typedoc-plugin-markdown":"^4.11.0","@ai-billing/typescript-config":"0.0.1"},"peerDependencies":{"@ai-sdk/baseten":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/baseten_0.0.1_1784646067250_0.4544554167498287","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@ai-billing/baseten","version":"0.0.2","license":"Apache-2.0","_id":"@ai-billing/baseten@0.0.2","maintainers":[{"name":"audrzejq","email":"audrzejq@gmail.com"},{"name":"osquar","email":"oskar@narev.ai"}],"homepage":"https://github.com/narevai/ai-billing#readme","bugs":{"url":"https://github.com/narevai/ai-billing/issues"},"dist":{"shasum":"57024b10ad679a64c583d6297b1c34c8058caa9b","tarball":"https://registry.npmjs.org/@ai-billing/baseten/-/baseten-0.0.2.tgz","fileCount":9,"integrity":"sha512-NUTYmql3d+U47g9WsPyZ7C7BfhwdbJMINmPkDjvsY3FVNM1KwwYny+jHOjF5AbB1RrPG8+1AQJs9p9skuKWxSg==","signatures":[{"sig":"MEUCIE7pf+56SAZg1npKAhtKBYUCVDqEXF8PkrIg9lOCm141AiEAq6awolpVOfi4WZxForSR5ijyGwhyJmUwSBmjzBShcZc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-billing%2fbaseten@0.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35553},"main":"./dist/index.js","type":"module","_from":"file:ai-billing-baseten-0.0.2.tgz","types":"./dist/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"oxlint","test":"vitest run","build":"tsup","test:watch":"vitest","check-types":"tsc --noEmit","docs:generate":"typedoc --options typedoc.json","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d6009d0-1ec0-4c52-8941-0ac0ae65995e"}},"_resolved":"/tmp/c784fedee9e36eb944404c435c80d9c4/ai-billing-baseten-0.0.2.tgz","_integrity":"sha512-NUTYmql3d+U47g9WsPyZ7C7BfhwdbJMINmPkDjvsY3FVNM1KwwYny+jHOjF5AbB1RrPG8+1AQJs9p9skuKWxSg==","repository":{"url":"git+https://github.com/narevai/ai-billing.git","type":"git","directory":"packages/baseten"},"_npmVersion":"11.17.0","description":"Baseten billing for the AI Billing SDK. Uses free cache-hit semantics: cached tokens are subtracted from the prompt bucket and are not billed separately.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@ai-billing/core":"0.1.5","@ai-billing/types":"0.0.3"},"publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"ai":"^6.0.138","zod":"^4.3.6","tsup":"^8.5.1","vitest":"4.1.10","typedoc":"^0.28.19","typescript":"5.9.3","@ai-sdk/provider":"^3.0.8","@edge-runtime/vm":"^5.0.0","@ai-billing/testing":"0.1.0","typedoc-plugin-markdown":"^4.11.0","@ai-billing/typescript-config":"0.0.1"},"peerDependencies":{"@ai-sdk/baseten":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/baseten_0.0.2_1788264048951_0.36818171726251747","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@ai-billing/baseten","version":"0.1.0","license":"Apache-2.0","type":"module","repository":{"type":"git","url":"git+https://github.com/narevai/ai-billing.git","directory":"packages/baseten"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"publishConfig":{"access":"public","provenance":true},"dependencies":{"@ai-billing/core":"0.1.6","@ai-billing/types":"0.0.4"},"devDependencies":{"tsup":"^8.5.1","typedoc":"^0.28.19","typedoc-plugin-markdown":"^4.11.0","typescript":"5.9.3","vitest":"4.1.11","ai":"^7.0.0","ai-v6":"npm:ai@^6.0.138","@ai-sdk/provider":"^4.0.10","@edge-runtime/vm":"^5.0.0","zod":"^4.3.6","@ai-billing/typescript-config":"0.0.1","@ai-billing/testing":"0.1.0"},"peerDependencies":{"@ai-sdk/baseten":"^1.0.0 || ^2.0.0"},"engines":{"node":">=22.0.0"},"scripts":{"build":"tsup","check-types":"tsc --noEmit","docs:generate":"typedoc --options typedoc.json","lint":"oxlint","dev":"tsup --watch","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest"},"_id":"@ai-billing/baseten@0.1.0","description":"Baseten billing for the AI Billing SDK. Uses free cache-hit semantics: cached tokens are subtracted from the prompt bucket and are not billed separately.","bugs":{"url":"https://github.com/narevai/ai-billing/issues"},"homepage":"https://github.com/narevai/ai-billing#readme","_integrity":"sha512-XkS/AxLwJq7ox4dKmds6RC1MmIOV2ObHa2DNwxG/tCd4gxqALY/ut+R0PJrj0Nc3fMScm8ZT3Tv0JJH07tF3Wg==","_resolved":"/tmp/0e26d0ba6cdb5feb5b6742904ee39603/ai-billing-baseten-0.1.0.tgz","_from":"file:ai-billing-baseten-0.1.0.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-XkS/AxLwJq7ox4dKmds6RC1MmIOV2ObHa2DNwxG/tCd4gxqALY/ut+R0PJrj0Nc3fMScm8ZT3Tv0JJH07tF3Wg==","shasum":"7b99ded903ac14c07022ff0161485e4bdccd77e7","tarball":"https://registry.npmjs.org/@ai-billing/baseten/-/baseten-0.1.0.tgz","fileCount":57,"unpackedSize":65685,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai-billing%2fbaseten@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDCFwOYojy/FqoWITOJI0FrO5P1j++3R9/QHScFNoxiUgIgVyG5dXwmBrgpGaYO44rEnNh1MUhF7Mzs/XAABUtG1mQ="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7d6009d0-1ec0-4c52-8941-0ac0ae65995e"}},"directories":{},"maintainers":[{"name":"audrzejq","email":"audrzejq@gmail.com"},{"name":"osquar","email":"oskar@narev.ai"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/baseten_0.1.0_1788375268622_0.8528406602652927"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-21T14:11:34.798Z","modified":"2026-09-02T18:54:29.212Z","0.0.0":"2026-07-21T14:11:35.124Z","0.0.1":"2026-07-21T15:01:07.377Z","0.0.2":"2026-09-01T12:00:49.089Z","0.1.0":"2026-09-02T18:54:28.795Z"},"bugs":{"url":"https://github.com/narevai/ai-billing/issues"},"license":"Apache-2.0","homepage":"https://github.com/narevai/ai-billing#readme","repository":{"type":"git","url":"git+https://github.com/narevai/ai-billing.git","directory":"packages/baseten"},"description":"Baseten billing for the AI Billing SDK. Uses free cache-hit semantics: cached tokens are subtracted from the prompt bucket and are not billed separately.","maintainers":[{"name":"audrzejq","email":"audrzejq@gmail.com"},{"name":"osquar","email":"oskar@narev.ai"}],"readme":"# @ai-billing/baseten\n\nBaseten billing for the AI Billing SDK. Uses free cache-hit semantics: cached tokens are subtracted from the prompt bucket and are not billed separately.\n\n**Installation**\n\n```bash\npnpm add @ai-billing/core @ai-billing/baseten\n```\n\n**Documentation**\n\nFor full usage instructions and examples, see the [Documentation](https://www.narev.ai/docs/sdk/ai-billing).\n","readmeFilename":"README.md"}