pricetoken 0.13.7 → 0.13.8
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/dist/index.js +111 -2
- package/dist/index.mjs +111 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -869,6 +869,40 @@ var STATIC_PRICING = [
|
|
|
869
869
|
lastUpdated: null,
|
|
870
870
|
launchDate: "2026-03-05"
|
|
871
871
|
},
|
|
872
|
+
{
|
|
873
|
+
modelId: "gpt-5.4-mini",
|
|
874
|
+
provider: "openai",
|
|
875
|
+
displayName: "GPT-5.4 Mini",
|
|
876
|
+
inputPerMTok: 0.75,
|
|
877
|
+
outputPerMTok: 4.5,
|
|
878
|
+
contextWindow: 4e5,
|
|
879
|
+
maxOutputTokens: 128e3,
|
|
880
|
+
source: "seed",
|
|
881
|
+
status: "active",
|
|
882
|
+
confidence: "high",
|
|
883
|
+
confidenceScore: 99,
|
|
884
|
+
confidenceLevel: "high",
|
|
885
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
886
|
+
lastUpdated: null,
|
|
887
|
+
launchDate: "2026-03-17"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
modelId: "gpt-5.4-nano",
|
|
891
|
+
provider: "openai",
|
|
892
|
+
displayName: "GPT-5.4 Nano",
|
|
893
|
+
inputPerMTok: 0.2,
|
|
894
|
+
outputPerMTok: 1.25,
|
|
895
|
+
contextWindow: 4e5,
|
|
896
|
+
maxOutputTokens: 128e3,
|
|
897
|
+
source: "seed",
|
|
898
|
+
status: "active",
|
|
899
|
+
confidence: "high",
|
|
900
|
+
confidenceScore: 99,
|
|
901
|
+
confidenceLevel: "high",
|
|
902
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
903
|
+
lastUpdated: null,
|
|
904
|
+
launchDate: "2026-03-17"
|
|
905
|
+
},
|
|
872
906
|
{
|
|
873
907
|
modelId: "gpt-5.4-pro",
|
|
874
908
|
provider: "openai",
|
|
@@ -1739,6 +1773,63 @@ var STATIC_IMAGE_PRICING = [
|
|
|
1739
1773
|
lastUpdated: null,
|
|
1740
1774
|
launchDate: "2025-04-23"
|
|
1741
1775
|
},
|
|
1776
|
+
{
|
|
1777
|
+
modelId: "gpt-image-1.5-high",
|
|
1778
|
+
provider: "openai",
|
|
1779
|
+
displayName: "GPT Image 1.5 High",
|
|
1780
|
+
pricePerImage: 0.133,
|
|
1781
|
+
pricePerMegapixel: null,
|
|
1782
|
+
defaultResolution: "1024x1024",
|
|
1783
|
+
qualityTier: "ultra",
|
|
1784
|
+
maxResolution: "1024x1536",
|
|
1785
|
+
supportedFormats: ["png"],
|
|
1786
|
+
source: "seed",
|
|
1787
|
+
status: "active",
|
|
1788
|
+
confidence: "high",
|
|
1789
|
+
confidenceScore: 99,
|
|
1790
|
+
confidenceLevel: "high",
|
|
1791
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
1792
|
+
lastUpdated: null,
|
|
1793
|
+
launchDate: "2026-03-17"
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
modelId: "gpt-image-1.5-low",
|
|
1797
|
+
provider: "openai",
|
|
1798
|
+
displayName: "GPT Image 1.5 Low",
|
|
1799
|
+
pricePerImage: 9e-3,
|
|
1800
|
+
pricePerMegapixel: null,
|
|
1801
|
+
defaultResolution: "1024x1024",
|
|
1802
|
+
qualityTier: "standard",
|
|
1803
|
+
maxResolution: "1024x1536",
|
|
1804
|
+
supportedFormats: ["png"],
|
|
1805
|
+
source: "seed",
|
|
1806
|
+
status: "active",
|
|
1807
|
+
confidence: "high",
|
|
1808
|
+
confidenceScore: 99,
|
|
1809
|
+
confidenceLevel: "high",
|
|
1810
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
1811
|
+
lastUpdated: null,
|
|
1812
|
+
launchDate: "2026-03-17"
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
modelId: "gpt-image-1.5-medium",
|
|
1816
|
+
provider: "openai",
|
|
1817
|
+
displayName: "GPT Image 1.5 Medium",
|
|
1818
|
+
pricePerImage: 0.034,
|
|
1819
|
+
pricePerMegapixel: null,
|
|
1820
|
+
defaultResolution: "1024x1024",
|
|
1821
|
+
qualityTier: "hd",
|
|
1822
|
+
maxResolution: "1024x1536",
|
|
1823
|
+
supportedFormats: ["png"],
|
|
1824
|
+
source: "seed",
|
|
1825
|
+
status: "active",
|
|
1826
|
+
confidence: "high",
|
|
1827
|
+
confidenceScore: 99,
|
|
1828
|
+
confidenceLevel: "high",
|
|
1829
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
1830
|
+
lastUpdated: null,
|
|
1831
|
+
launchDate: "2026-03-17"
|
|
1832
|
+
},
|
|
1742
1833
|
{
|
|
1743
1834
|
modelId: "grok-imagine-image",
|
|
1744
1835
|
provider: "xai",
|
|
@@ -2212,7 +2303,7 @@ var STATIC_VIDEO_PRICING = [
|
|
|
2212
2303
|
modelId: "fal-sora2-pro-1080p",
|
|
2213
2304
|
provider: "fal",
|
|
2214
2305
|
displayName: "FAL Sora 2 Pro 1080p",
|
|
2215
|
-
costPerMinute:
|
|
2306
|
+
costPerMinute: 42,
|
|
2216
2307
|
inputType: "text,image",
|
|
2217
2308
|
resolution: "1080p",
|
|
2218
2309
|
maxDuration: 25,
|
|
@@ -2838,11 +2929,29 @@ var STATIC_VIDEO_PRICING = [
|
|
|
2838
2929
|
lastUpdated: null,
|
|
2839
2930
|
launchDate: "2025-02-01"
|
|
2840
2931
|
},
|
|
2932
|
+
{
|
|
2933
|
+
modelId: "sora2-pro-1024p",
|
|
2934
|
+
provider: "sora",
|
|
2935
|
+
displayName: "Sora 2 Pro 1024p",
|
|
2936
|
+
costPerMinute: 30,
|
|
2937
|
+
inputType: "text,image",
|
|
2938
|
+
resolution: "1024p",
|
|
2939
|
+
maxDuration: 20,
|
|
2940
|
+
qualityMode: "professional",
|
|
2941
|
+
source: "seed",
|
|
2942
|
+
status: "active",
|
|
2943
|
+
confidence: "high",
|
|
2944
|
+
confidenceScore: 99,
|
|
2945
|
+
confidenceLevel: "high",
|
|
2946
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
2947
|
+
lastUpdated: null,
|
|
2948
|
+
launchDate: "2025-02-01"
|
|
2949
|
+
},
|
|
2841
2950
|
{
|
|
2842
2951
|
modelId: "sora2-pro-1080p",
|
|
2843
2952
|
provider: "sora",
|
|
2844
2953
|
displayName: "Sora 2 Pro 1080p",
|
|
2845
|
-
costPerMinute:
|
|
2954
|
+
costPerMinute: 42,
|
|
2846
2955
|
inputType: "text,image",
|
|
2847
2956
|
resolution: "1080p",
|
|
2848
2957
|
maxDuration: 20,
|
package/dist/index.mjs
CHANGED
|
@@ -822,6 +822,40 @@ var STATIC_PRICING = [
|
|
|
822
822
|
lastUpdated: null,
|
|
823
823
|
launchDate: "2026-03-05"
|
|
824
824
|
},
|
|
825
|
+
{
|
|
826
|
+
modelId: "gpt-5.4-mini",
|
|
827
|
+
provider: "openai",
|
|
828
|
+
displayName: "GPT-5.4 Mini",
|
|
829
|
+
inputPerMTok: 0.75,
|
|
830
|
+
outputPerMTok: 4.5,
|
|
831
|
+
contextWindow: 4e5,
|
|
832
|
+
maxOutputTokens: 128e3,
|
|
833
|
+
source: "seed",
|
|
834
|
+
status: "active",
|
|
835
|
+
confidence: "high",
|
|
836
|
+
confidenceScore: 99,
|
|
837
|
+
confidenceLevel: "high",
|
|
838
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
839
|
+
lastUpdated: null,
|
|
840
|
+
launchDate: "2026-03-17"
|
|
841
|
+
},
|
|
842
|
+
{
|
|
843
|
+
modelId: "gpt-5.4-nano",
|
|
844
|
+
provider: "openai",
|
|
845
|
+
displayName: "GPT-5.4 Nano",
|
|
846
|
+
inputPerMTok: 0.2,
|
|
847
|
+
outputPerMTok: 1.25,
|
|
848
|
+
contextWindow: 4e5,
|
|
849
|
+
maxOutputTokens: 128e3,
|
|
850
|
+
source: "seed",
|
|
851
|
+
status: "active",
|
|
852
|
+
confidence: "high",
|
|
853
|
+
confidenceScore: 99,
|
|
854
|
+
confidenceLevel: "high",
|
|
855
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
856
|
+
lastUpdated: null,
|
|
857
|
+
launchDate: "2026-03-17"
|
|
858
|
+
},
|
|
825
859
|
{
|
|
826
860
|
modelId: "gpt-5.4-pro",
|
|
827
861
|
provider: "openai",
|
|
@@ -1692,6 +1726,63 @@ var STATIC_IMAGE_PRICING = [
|
|
|
1692
1726
|
lastUpdated: null,
|
|
1693
1727
|
launchDate: "2025-04-23"
|
|
1694
1728
|
},
|
|
1729
|
+
{
|
|
1730
|
+
modelId: "gpt-image-1.5-high",
|
|
1731
|
+
provider: "openai",
|
|
1732
|
+
displayName: "GPT Image 1.5 High",
|
|
1733
|
+
pricePerImage: 0.133,
|
|
1734
|
+
pricePerMegapixel: null,
|
|
1735
|
+
defaultResolution: "1024x1024",
|
|
1736
|
+
qualityTier: "ultra",
|
|
1737
|
+
maxResolution: "1024x1536",
|
|
1738
|
+
supportedFormats: ["png"],
|
|
1739
|
+
source: "seed",
|
|
1740
|
+
status: "active",
|
|
1741
|
+
confidence: "high",
|
|
1742
|
+
confidenceScore: 99,
|
|
1743
|
+
confidenceLevel: "high",
|
|
1744
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
1745
|
+
lastUpdated: null,
|
|
1746
|
+
launchDate: "2026-03-17"
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
modelId: "gpt-image-1.5-low",
|
|
1750
|
+
provider: "openai",
|
|
1751
|
+
displayName: "GPT Image 1.5 Low",
|
|
1752
|
+
pricePerImage: 9e-3,
|
|
1753
|
+
pricePerMegapixel: null,
|
|
1754
|
+
defaultResolution: "1024x1024",
|
|
1755
|
+
qualityTier: "standard",
|
|
1756
|
+
maxResolution: "1024x1536",
|
|
1757
|
+
supportedFormats: ["png"],
|
|
1758
|
+
source: "seed",
|
|
1759
|
+
status: "active",
|
|
1760
|
+
confidence: "high",
|
|
1761
|
+
confidenceScore: 99,
|
|
1762
|
+
confidenceLevel: "high",
|
|
1763
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
1764
|
+
lastUpdated: null,
|
|
1765
|
+
launchDate: "2026-03-17"
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
modelId: "gpt-image-1.5-medium",
|
|
1769
|
+
provider: "openai",
|
|
1770
|
+
displayName: "GPT Image 1.5 Medium",
|
|
1771
|
+
pricePerImage: 0.034,
|
|
1772
|
+
pricePerMegapixel: null,
|
|
1773
|
+
defaultResolution: "1024x1024",
|
|
1774
|
+
qualityTier: "hd",
|
|
1775
|
+
maxResolution: "1024x1536",
|
|
1776
|
+
supportedFormats: ["png"],
|
|
1777
|
+
source: "seed",
|
|
1778
|
+
status: "active",
|
|
1779
|
+
confidence: "high",
|
|
1780
|
+
confidenceScore: 99,
|
|
1781
|
+
confidenceLevel: "high",
|
|
1782
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
1783
|
+
lastUpdated: null,
|
|
1784
|
+
launchDate: "2026-03-17"
|
|
1785
|
+
},
|
|
1695
1786
|
{
|
|
1696
1787
|
modelId: "grok-imagine-image",
|
|
1697
1788
|
provider: "xai",
|
|
@@ -2165,7 +2256,7 @@ var STATIC_VIDEO_PRICING = [
|
|
|
2165
2256
|
modelId: "fal-sora2-pro-1080p",
|
|
2166
2257
|
provider: "fal",
|
|
2167
2258
|
displayName: "FAL Sora 2 Pro 1080p",
|
|
2168
|
-
costPerMinute:
|
|
2259
|
+
costPerMinute: 42,
|
|
2169
2260
|
inputType: "text,image",
|
|
2170
2261
|
resolution: "1080p",
|
|
2171
2262
|
maxDuration: 25,
|
|
@@ -2791,11 +2882,29 @@ var STATIC_VIDEO_PRICING = [
|
|
|
2791
2882
|
lastUpdated: null,
|
|
2792
2883
|
launchDate: "2025-02-01"
|
|
2793
2884
|
},
|
|
2885
|
+
{
|
|
2886
|
+
modelId: "sora2-pro-1024p",
|
|
2887
|
+
provider: "sora",
|
|
2888
|
+
displayName: "Sora 2 Pro 1024p",
|
|
2889
|
+
costPerMinute: 30,
|
|
2890
|
+
inputType: "text,image",
|
|
2891
|
+
resolution: "1024p",
|
|
2892
|
+
maxDuration: 20,
|
|
2893
|
+
qualityMode: "professional",
|
|
2894
|
+
source: "seed",
|
|
2895
|
+
status: "active",
|
|
2896
|
+
confidence: "high",
|
|
2897
|
+
confidenceScore: 99,
|
|
2898
|
+
confidenceLevel: "high",
|
|
2899
|
+
freshness: { lastVerified: "", ageHours: 0, stale: false },
|
|
2900
|
+
lastUpdated: null,
|
|
2901
|
+
launchDate: "2025-02-01"
|
|
2902
|
+
},
|
|
2794
2903
|
{
|
|
2795
2904
|
modelId: "sora2-pro-1080p",
|
|
2796
2905
|
provider: "sora",
|
|
2797
2906
|
displayName: "Sora 2 Pro 1080p",
|
|
2798
|
-
costPerMinute:
|
|
2907
|
+
costPerMinute: 42,
|
|
2799
2908
|
inputType: "text,image",
|
|
2800
2909
|
resolution: "1080p",
|
|
2801
2910
|
maxDuration: 20,
|