#!/usr/bin/env node
var i={opus:{input:15,output:75},sonnet:{input:3,output:15},haiku:{input:.25,output:1.25}};function s(e,n){let t=i[n],o=e.input/1e6*t.input,r=e.output/1e6*t.output;return o+r}function a(e){return e<.01?`$${(e*100).toFixed(3)}\xA2`:`$${e.toFixed(4)}`}function u(e){return e>=1e6?`${(e/1e6).toFixed(2)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:e.toString()}export{i as a,s as b,a as c,u as d};