ai-model-prices 2026.4.23
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/async.d.mts +15 -0
- package/dist/async.d.ts +15 -0
- package/dist/async.js +1 -0
- package/dist/async.mjs +1 -0
- package/dist/chunk-7GLTQ5HC.mjs +1 -0
- package/dist/index.d.mts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/dist/providers/302ai.js +1 -0
- package/dist/providers/_manifest.js +1 -0
- package/dist/providers/abacus.js +1 -0
- package/dist/providers/aihubmix.js +1 -0
- package/dist/providers/alibaba-cn.js +1 -0
- package/dist/providers/alibaba-coding-plan-cn.js +1 -0
- package/dist/providers/alibaba-coding-plan.js +1 -0
- package/dist/providers/alibaba.js +1 -0
- package/dist/providers/amazon-bedrock.js +1 -0
- package/dist/providers/anthropic.js +1 -0
- package/dist/providers/azure-cognitive-services.js +1 -0
- package/dist/providers/azure.js +1 -0
- package/dist/providers/bailing.js +1 -0
- package/dist/providers/baseten.js +1 -0
- package/dist/providers/berget.js +1 -0
- package/dist/providers/cerebras.js +1 -0
- package/dist/providers/chutes.js +1 -0
- package/dist/providers/clarifai.js +1 -0
- package/dist/providers/cloudferro-sherlock.js +1 -0
- package/dist/providers/cloudflare-ai-gateway.js +1 -0
- package/dist/providers/cloudflare-workers-ai.js +1 -0
- package/dist/providers/cohere.js +1 -0
- package/dist/providers/cortecs.js +1 -0
- package/dist/providers/deepinfra.js +1 -0
- package/dist/providers/deepseek.js +1 -0
- package/dist/providers/digitalocean.js +1 -0
- package/dist/providers/dinference.js +1 -0
- package/dist/providers/drun.js +1 -0
- package/dist/providers/evroc.js +1 -0
- package/dist/providers/fastrouter.js +1 -0
- package/dist/providers/fireworks-ai.js +1 -0
- package/dist/providers/firmware.js +1 -0
- package/dist/providers/friendli.js +1 -0
- package/dist/providers/github-copilot.js +1 -0
- package/dist/providers/github-models.js +1 -0
- package/dist/providers/gitlab.js +1 -0
- package/dist/providers/google-vertex-anthropic.js +1 -0
- package/dist/providers/google-vertex.js +1 -0
- package/dist/providers/google.js +1 -0
- package/dist/providers/groq.js +1 -0
- package/dist/providers/helicone.js +1 -0
- package/dist/providers/hpc-ai.js +1 -0
- package/dist/providers/huggingface.js +1 -0
- package/dist/providers/iflowcn.js +1 -0
- package/dist/providers/inception.js +1 -0
- package/dist/providers/inference.js +1 -0
- package/dist/providers/io-net.js +1 -0
- package/dist/providers/jiekou.js +1 -0
- package/dist/providers/kilo.js +1 -0
- package/dist/providers/kimi-for-coding.js +1 -0
- package/dist/providers/kuae-cloud-coding-plan.js +1 -0
- package/dist/providers/llama.js +1 -0
- package/dist/providers/llmgateway.js +1 -0
- package/dist/providers/lmstudio.js +1 -0
- package/dist/providers/lucidquery.js +1 -0
- package/dist/providers/meganova.js +1 -0
- package/dist/providers/minimax-cn-coding-plan.js +1 -0
- package/dist/providers/minimax-cn.js +1 -0
- package/dist/providers/minimax-coding-plan.js +1 -0
- package/dist/providers/minimax.js +1 -0
- package/dist/providers/mistral.js +1 -0
- package/dist/providers/mixlayer.js +1 -0
- package/dist/providers/moark.js +1 -0
- package/dist/providers/modelscope.js +1 -0
- package/dist/providers/moonshotai-cn.js +1 -0
- package/dist/providers/moonshotai.js +1 -0
- package/dist/providers/morph.js +1 -0
- package/dist/providers/nano-gpt.js +1 -0
- package/dist/providers/nebius.js +1 -0
- package/dist/providers/nova.js +1 -0
- package/dist/providers/novita-ai.js +1 -0
- package/dist/providers/nvidia.js +1 -0
- package/dist/providers/openai.js +1 -0
- package/dist/providers/opencode-go.js +1 -0
- package/dist/providers/opencode.js +1 -0
- package/dist/providers/openrouter.js +1 -0
- package/dist/providers/ovhcloud.js +1 -0
- package/dist/providers/package.json +1 -0
- package/dist/providers/perplexity-agent.js +1 -0
- package/dist/providers/perplexity.js +1 -0
- package/dist/providers/poe.js +1 -0
- package/dist/providers/privatemode-ai.js +1 -0
- package/dist/providers/qihang-ai.js +1 -0
- package/dist/providers/regolo-ai.js +1 -0
- package/dist/providers/requesty.js +1 -0
- package/dist/providers/sap-ai-core.js +1 -0
- package/dist/providers/scaleway.js +1 -0
- package/dist/providers/siliconflow-cn.js +1 -0
- package/dist/providers/siliconflow.js +1 -0
- package/dist/providers/stackit.js +1 -0
- package/dist/providers/stepfun.js +1 -0
- package/dist/providers/submodel.js +1 -0
- package/dist/providers/synthetic.js +1 -0
- package/dist/providers/tencent-coding-plan.js +1 -0
- package/dist/providers/tencent-tokenhub.js +1 -0
- package/dist/providers/togetherai.js +1 -0
- package/dist/providers/upstage.js +1 -0
- package/dist/providers/v0.js +1 -0
- package/dist/providers/venice.js +1 -0
- package/dist/providers/vercel.js +1 -0
- package/dist/providers/vivgrid.js +1 -0
- package/dist/providers/vultr.js +1 -0
- package/dist/providers/wafer.ai.js +1 -0
- package/dist/providers/wandb.js +1 -0
- package/dist/providers/xai.js +1 -0
- package/dist/providers/xiaomi-token-plan-ams.js +1 -0
- package/dist/providers/xiaomi-token-plan-cn.js +1 -0
- package/dist/providers/xiaomi-token-plan-sgp.js +1 -0
- package/dist/providers/xiaomi.js +1 -0
- package/dist/providers/zai-coding-plan.js +1 -0
- package/dist/providers/zai.js +1 -0
- package/dist/providers/zenmux.js +1 -0
- package/dist/providers/zhipuai-coding-plan.js +1 -0
- package/dist/providers/zhipuai.js +1 -0
- package/dist/types-DaFmEj4i.d.mts +149 -0
- package/dist/types-DaFmEj4i.d.ts +149 -0
- package/package.json +67 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const provider={"name":"Xiaomi Token Plan (China)","models":{"mimo-v2-omni":{"name":"MiMo-V2-Omni","cost":{"input":0,"output":0,"cache_read":0},"limit":{"context":256000}},"mimo-v2-tts":{"name":"MiMo-V2-TTS","cost":{"input":0,"output":0},"limit":{"context":8000}},"mimo-v2-pro":{"name":"MiMo-V2-Pro","cost":{"input":0,"output":0,"cache_read":0},"limit":{"context":1000000}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const provider={"name":"Xiaomi Token Plan (Singapore)","models":{"mimo-v2-pro":{"name":"MiMo-V2-Pro","cost":{"input":0,"output":0,"cache_read":0},"limit":{"context":1000000}},"mimo-v2-tts":{"name":"MiMo-V2-TTS","cost":{"input":0,"output":0},"limit":{"context":8000}},"mimo-v2-omni":{"name":"MiMo-V2-Omni","cost":{"input":0,"output":0,"cache_read":0},"limit":{"context":256000}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const provider={"name":"Xiaomi","models":{"mimo-v2-omni":{"name":"MiMo-V2-Omni","cost":{"input":0.4,"output":2,"cache_read":0.08},"limit":{"context":256000}},"mimo-v2-pro":{"name":"MiMo-V2-Pro","cost":{"input":1,"output":3,"cache_read":0.2},"limit":{"context":1000000}},"mimo-v2-flash":{"name":"MiMo-V2-Flash","cost":{"input":0.1,"output":0.3,"cache_read":0.01},"limit":{"context":256000}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const provider={"name":"Z.AI Coding Plan","models":{"glm-5v-turbo":{"name":"glm-5v-turbo","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000}},"glm-4.7":{"name":"GLM-4.7","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":204800}},"glm-5":{"name":"GLM-5","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":204800}},"glm-4.7-flashx":{"name":"GLM-4.7-FlashX","cost":{"input":0.07,"output":0.4,"cache_read":0.01,"cache_write":0},"limit":{"context":200000}},"glm-5.1":{"name":"GLM-5.1","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000}},"glm-4.5":{"name":"GLM-4.5","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":131072}},"glm-4.5-air":{"name":"GLM-4.5-Air","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":131072}},"glm-5-turbo":{"name":"GLM-5-Turbo","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000}},"glm-4.5v":{"name":"GLM-4.5V","cost":{"input":0,"output":0},"limit":{"context":64000}},"glm-4.6":{"name":"GLM-4.6","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":204800}},"glm-4.6v":{"name":"GLM-4.6V","cost":{"input":0,"output":0},"limit":{"context":128000}},"glm-4.5-flash":{"name":"GLM-4.5-Flash","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":131072}},"glm-4.7-flash":{"name":"GLM-4.7-Flash","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const provider={"name":"Z.AI","models":{"glm-5v-turbo":{"name":"glm-5v-turbo","cost":{"input":1.2,"output":4,"cache_read":0.24,"cache_write":0},"limit":{"context":200000}},"glm-4.7":{"name":"GLM-4.7","cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":204800}},"glm-5":{"name":"GLM-5","cost":{"input":1,"output":3.2,"cache_read":0.2,"cache_write":0},"limit":{"context":204800}},"glm-4.7-flashx":{"name":"GLM-4.7-FlashX","cost":{"input":0.07,"output":0.4,"cache_read":0.01,"cache_write":0},"limit":{"context":200000}},"glm-5.1":{"name":"GLM-5.1","cost":{"input":1.4,"output":4.4,"cache_read":0.26,"cache_write":0},"limit":{"context":200000}},"glm-4.5":{"name":"GLM-4.5","cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":131072}},"glm-4.5-air":{"name":"GLM-4.5-Air","cost":{"input":0.2,"output":1.1,"cache_read":0.03,"cache_write":0},"limit":{"context":131072}},"glm-5-turbo":{"name":"GLM-5-Turbo","cost":{"input":1.2,"output":4,"cache_read":0.24,"cache_write":0},"limit":{"context":200000}},"glm-4.5v":{"name":"GLM-4.5V","cost":{"input":0.6,"output":1.8},"limit":{"context":64000}},"glm-4.6":{"name":"GLM-4.6","cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":204800}},"glm-4.6v":{"name":"GLM-4.6V","cost":{"input":0.3,"output":0.9},"limit":{"context":128000}},"glm-4.5-flash":{"name":"GLM-4.5-Flash","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":131072}},"glm-4.7-flash":{"name":"GLM-4.7-Flash","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const provider={"name":"ZenMux","models":{"deepseek/deepseek-chat":{"name":"DeepSeek-V3.2 (Non-thinking Mode)","cost":{"input":0.28,"output":0.42,"cache_read":0.03},"limit":{"context":128000}},"deepseek/deepseek-v3.2-exp":{"name":"DeepSeek-V3.2-Exp","cost":{"input":0.22,"output":0.33},"limit":{"context":163000}},"deepseek/deepseek-v3.2":{"name":"DeepSeek V3.2","cost":{"input":0.28,"output":0.43},"limit":{"context":128000}},"inclusionai/ring-1t":{"name":"Ring-1T","cost":{"input":0.56,"output":2.24,"cache_read":0.11},"limit":{"context":128000}},"inclusionai/ling-1t":{"name":"Ling-1T","cost":{"input":0.56,"output":2.24,"cache_read":0.11},"limit":{"context":128000}},"stepfun/step-3.5-flash-free":{"name":"Step 3.5 Flash (Free)","cost":{"input":0,"output":0},"limit":{"context":256000}},"stepfun/step-3.5-flash":{"name":"Step 3.5 Flash","cost":{"input":0.1,"output":0.3},"limit":{"context":256000}},"stepfun/step-3":{"name":"Step-3","cost":{"input":0.21,"output":0.57},"limit":{"context":65536}},"kuaishou/kat-coder-pro-v2":{"name":"KAT-Coder-Pro-V2","cost":{"input":0.3,"output":1.2,"cache_read":0.06},"limit":{"context":256000}},"x-ai/grok-4-fast":{"name":"Grok 4 Fast","cost":{"input":0.2,"output":0.5,"cache_read":0.05},"limit":{"context":2000000}},"x-ai/grok-code-fast-1":{"name":"Grok Code Fast 1","cost":{"input":0.2,"output":1.5,"cache_read":0.02},"limit":{"context":256000}},"x-ai/grok-4.1-fast-non-reasoning":{"name":"Grok 4.1 Fast Non Reasoning","cost":{"input":0.2,"output":0.5,"cache_read":0.05},"limit":{"context":2000000}},"x-ai/grok-4":{"name":"Grok 4","cost":{"input":3,"output":15,"cache_read":0.75},"limit":{"context":256000}},"x-ai/grok-4.1-fast":{"name":"Grok 4.1 Fast","cost":{"input":0.2,"output":0.5,"cache_read":0.05},"limit":{"context":2000000}},"x-ai/grok-4.2-fast":{"name":"Grok 4.2 Fast","cost":{"input":3,"output":9},"limit":{"context":2000000}},"x-ai/grok-4.2-fast-non-reasoning":{"name":"Grok 4.2 Fast Non Reasoning","cost":{"input":3,"output":9},"limit":{"context":2000000}},"openai/gpt-5.3-chat":{"name":"GPT-5.3 Chat","cost":{"input":1.75,"output":14},"limit":{"context":128000}},"openai/gpt-5.2-pro":{"name":"GPT-5.2-Pro","cost":{"input":21,"output":168},"limit":{"context":400000}},"openai/gpt-5.3-codex":{"name":"GPT-5.3 Codex","cost":{"input":1.75,"output":14},"limit":{"context":400000}},"openai/gpt-5.2":{"name":"GPT-5.2","cost":{"input":1.75,"output":14,"cache_read":0.17},"limit":{"context":400000}},"openai/gpt-5.4-mini":{"name":"GPT-5.4 Mini","cost":{"input":0.75,"output":4.5},"limit":{"context":400000}},"openai/gpt-5.1-chat":{"name":"GPT-5.1 Chat","cost":{"input":1.25,"output":10,"cache_read":0.12},"limit":{"context":128000}},"openai/gpt-5.4-nano":{"name":"GPT-5.4 Nano","cost":{"input":0.2,"output":1.25},"limit":{"context":400000}},"openai/gpt-5.2-codex":{"name":"GPT-5.2-Codex","cost":{"input":1.75,"output":14,"cache_read":0.17},"limit":{"context":400000}},"openai/gpt-5.1-codex-mini":{"name":"GPT-5.1-Codex-Mini","cost":{"input":0.25,"output":2,"cache_read":0.03},"limit":{"context":400000}},"openai/gpt-5.1":{"name":"GPT-5.1","cost":{"input":1.25,"output":10,"cache_read":0.12},"limit":{"context":400000}},"openai/gpt-5.4-pro":{"name":"GPT-5.4 Pro","cost":{"input":45,"output":225},"limit":{"context":1050000}},"openai/gpt-5-codex":{"name":"GPT-5 Codex","cost":{"input":1.25,"output":10,"cache_read":0.12},"limit":{"context":400000}},"openai/gpt-5.4":{"name":"GPT-5.4","cost":{"input":3.75,"output":18.75},"limit":{"context":1050000}},"openai/gpt-5":{"name":"GPT-5","cost":{"input":1.25,"output":10,"cache_read":0.12},"limit":{"context":400000}},"openai/gpt-5.1-codex":{"name":"GPT-5.1-Codex","cost":{"input":1.25,"output":10,"cache_read":0.12},"limit":{"context":400000}},"z-ai/glm-4.7-flash-free":{"name":"GLM 4.7 Flash (Free)","cost":{"input":0,"output":0},"limit":{"context":200000}},"z-ai/glm-5v-turbo":{"name":"GLM 5V Turbo","cost":{"input":0.726,"output":3.1946,"cache_read":0.1743},"limit":{"context":200000}},"z-ai/glm-4.7":{"name":"GLM 4.7","cost":{"input":0.28,"output":1.14,"cache_read":0.06},"limit":{"context":200000}},"z-ai/glm-5":{"name":"GLM 5","cost":{"input":0.58,"output":2.6,"cache_read":0.14},"limit":{"context":200000}},"z-ai/glm-4.7-flashx":{"name":"GLM 4.7 FlashX","cost":{"input":0.07,"output":0.42,"cache_read":0.01},"limit":{"context":200000}},"z-ai/glm-4.6v-flash-free":{"name":"GLM 4.6V Flash (Free)","cost":{"input":0,"output":0},"limit":{"context":200000}},"z-ai/glm-5.1":{"name":"GLM-5.1","cost":{"input":0.8781,"output":3.5126,"cache_read":0.1903},"limit":{"context":200000}},"z-ai/glm-4.6v-flash":{"name":"GLM 4.6V FlashX","cost":{"input":0.02,"output":0.21,"cache_read":0.0043},"limit":{"context":200000}},"z-ai/glm-4.5":{"name":"GLM 4.5","cost":{"input":0.35,"output":1.54,"cache_read":0.07},"limit":{"context":128000}},"z-ai/glm-4.5-air":{"name":"GLM 4.5 Air","cost":{"input":0.11,"output":0.56,"cache_read":0.02},"limit":{"context":128000}},"z-ai/glm-5-turbo":{"name":"GLM 5 Turbo","cost":{"input":0.88,"output":3.48},"limit":{"context":200000}},"z-ai/glm-4.6":{"name":"GLM 4.6","cost":{"input":0.35,"output":1.54,"cache_read":0.07},"limit":{"context":200000}},"z-ai/glm-4.6v":{"name":"GLM 4.6V","cost":{"input":0.14,"output":0.42,"cache_read":0.03},"limit":{"context":200000}},"volcengine/doubao-seed-2.0-code":{"name":"Doubao Seed 2.0 Code","cost":{"input":0.9,"output":4.48},"limit":{"context":256000}},"volcengine/doubao-seed-code":{"name":"Doubao-Seed-Code","cost":{"input":0.17,"output":1.12,"cache_read":0.03},"limit":{"context":256000}},"volcengine/doubao-seed-2.0-mini":{"name":"Doubao-Seed-2.0-mini","cost":{"input":0.03,"output":0.28,"cache_read":0.01,"cache_write":0.0024},"limit":{"context":256000}},"volcengine/doubao-seed-2.0-lite":{"name":"Doubao-Seed-2.0-lite","cost":{"input":0.09,"output":0.51,"cache_read":0.02,"cache_write":0.0024},"limit":{"context":256000}},"volcengine/doubao-seed-1.8":{"name":"Doubao-Seed-1.8","cost":{"input":0.11,"output":0.28,"cache_read":0.02,"cache_write":0.0024},"limit":{"context":256000}},"volcengine/doubao-seed-2.0-pro":{"name":"Doubao-Seed-2.0-pro","cost":{"input":0.45,"output":2.24,"cache_read":0.09,"cache_write":0.0024},"limit":{"context":256000}},"baidu/ernie-5.0-thinking-preview":{"name":"ERNIE 5.0","cost":{"input":0.84,"output":3.37},"limit":{"context":128000}},"minimax/minimax-m2.7":{"name":"MiniMax M2.7","cost":{"input":0.3055,"output":1.2219},"limit":{"context":204800}},"minimax/minimax-m2.7-highspeed":{"name":"MiniMax M2.7 highspeed","cost":{"input":0.611,"output":2.4439},"limit":{"context":204800}},"minimax/minimax-m2":{"name":"MiniMax M2","cost":{"input":0.3,"output":1.2,"cache_read":0.03,"cache_write":0.38},"limit":{"context":204000}},"minimax/minimax-m2.1":{"name":"MiniMax M2.1","cost":{"input":0.3,"output":1.2,"cache_read":0.03,"cache_write":0.38},"limit":{"context":204000}},"minimax/minimax-m2.5-lightning":{"name":"MiniMax M2.5 highspeed","cost":{"input":0.6,"output":4.8,"cache_read":0.06,"cache_write":0.75},"limit":{"context":204800}},"minimax/minimax-m2.5":{"name":"MiniMax M2.5","cost":{"input":0.3,"output":1.2,"cache_read":0.03,"cache_write":0.375},"limit":{"context":204800}},"qwen/qwen3-coder-plus":{"name":"Qwen3-Coder-Plus","cost":{"input":1,"output":5,"cache_read":0.1,"cache_write":1.25},"limit":{"context":1000000}},"qwen/qwen3.5-flash":{"name":"Qwen3.5 Flash","cost":{"input":0.1,"output":0.4},"limit":{"context":1020000}},"qwen/qwen3.6-plus":{"name":"Qwen3.6-Plus","cost":{"input":0.5,"output":3,"cache_read":0.05,"cache_write":0.625,"context_over_200k":{"input":2,"output":6,"cache_read":0.2,"cache_write":2.5}},"limit":{"context":1000000}},"qwen/qwen3-max":{"name":"Qwen3-Max-Thinking","cost":{"input":1.2,"output":6},"limit":{"context":256000}},"qwen/qwen3.5-plus":{"name":"Qwen3.5 Plus","cost":{"input":0.8,"output":4.8},"limit":{"context":1000000}},"google/gemini-3.1-flash-lite-preview":{"name":"Gemini 3.1 Flash Lite Preview","cost":{"input":0.25,"output":1.5},"limit":{"context":1050000}},"google/gemini-3.1-pro-preview":{"name":"Gemini 3.1 Pro Preview","cost":{"input":2,"output":12,"cache_read":0.2,"cache_write":4.5},"limit":{"context":1048000}},"google/gemini-3-flash-preview":{"name":"Gemini 3 Flash Preview","cost":{"input":0.5,"output":3,"cache_read":0.05,"cache_write":1},"limit":{"context":1048000}},"google/gemini-2.5-pro":{"name":"Gemini 2.5 Pro","cost":{"input":1.25,"output":10,"cache_read":0.31,"cache_write":4.5},"limit":{"context":1048000}},"google/gemini-2.5-flash":{"name":"Gemini 2.5 Flash","cost":{"input":0.3,"output":2.5,"cache_read":0.07,"cache_write":1},"limit":{"context":1048000}},"google/gemini-2.5-flash-lite":{"name":"Gemini 2.5 Flash Lite","cost":{"input":0.1,"output":0.4,"cache_read":0.03,"cache_write":1},"limit":{"context":1048000}},"sapiens-ai/agnes-1.5-lite":{"name":"Agnes 1.5 Lite","cost":{"input":0.12,"output":0.6},"limit":{"context":256000}},"sapiens-ai/agnes-1.5-pro":{"name":"Agnes 1.5 Pro","cost":{"input":0.16,"output":0.8},"limit":{"context":256000}},"moonshotai/kimi-k2.5":{"name":"Kimi K2.5","cost":{"input":0.58,"output":3.02,"cache_read":0.1},"limit":{"context":262000}},"moonshotai/kimi-k2-thinking-turbo":{"name":"Kimi K2 Thinking Turbo","cost":{"input":1.15,"output":8,"cache_read":0.15},"limit":{"context":262000}},"moonshotai/kimi-k2-0905":{"name":"Kimi K2 0905","cost":{"input":0.6,"output":2.5,"cache_read":0.15},"limit":{"context":262000}},"moonshotai/kimi-k2.6":{"name":"Kimi K2.6","cost":{"input":0.95,"output":4,"cache_read":0.16},"limit":{"context":262140}},"moonshotai/kimi-k2-thinking":{"name":"Kimi K2 Thinking","cost":{"input":0.6,"output":2.5,"cache_read":0.15},"limit":{"context":262000}},"anthropic/claude-opus-4.1":{"name":"Claude Opus 4.1","cost":{"input":15,"output":75,"cache_read":1.5,"cache_write":18.75},"limit":{"context":200000}},"anthropic/claude-3.7-sonnet":{"name":"Claude 3.7 Sonnet","cost":{"input":3,"output":15,"cache_read":0.3,"cache_write":3.75},"limit":{"context":200000}},"anthropic/claude-opus-4.6":{"name":"Claude Opus 4.6","cost":{"input":5,"output":25,"cache_read":0.5,"cache_write":6.25},"limit":{"context":1000000}},"anthropic/claude-opus-4.7":{"name":"Claude Opus 4.7","cost":{"input":5,"output":25,"cache_read":0.5,"cache_write":6.25},"limit":{"context":1000000}},"anthropic/claude-sonnet-4":{"name":"Claude Sonnet 4","cost":{"input":3,"output":15,"cache_read":0.3,"cache_write":3.75},"limit":{"context":1000000}},"anthropic/claude-sonnet-4.5":{"name":"Claude Sonnet 4.5","cost":{"input":3,"output":15,"cache_read":0.3,"cache_write":3.75},"limit":{"context":1000000}},"anthropic/claude-opus-4.5":{"name":"Claude Opus 4.5","cost":{"input":5,"output":25,"cache_read":0.5,"cache_write":6.25},"limit":{"context":200000}},"anthropic/claude-opus-4":{"name":"Claude Opus 4","cost":{"input":15,"output":75,"cache_read":1.5,"cache_write":18.75},"limit":{"context":200000}},"anthropic/claude-3.5-haiku":{"name":"Claude 3.5 Haiku","cost":{"input":0.8,"output":4,"cache_read":0.08,"cache_write":1},"limit":{"context":200000}},"anthropic/claude-haiku-4.5":{"name":"Claude Haiku 4.5","cost":{"input":1,"output":5,"cache_read":0.1,"cache_write":1.25},"limit":{"context":200000}},"anthropic/claude-sonnet-4.6":{"name":"Claude Sonnet 4.6","cost":{"input":3,"output":15,"cache_read":0.3,"cache_write":3.75},"limit":{"context":1000000}},"xiaomi/mimo-v2-omni":{"name":"MiMo V2 Omni","cost":{"input":0.4,"output":2},"limit":{"context":265000}},"xiaomi/mimo-v2-pro":{"name":"MiMo V2 Pro","cost":{"input":1.5,"output":4.5},"limit":{"context":1000000}},"xiaomi/mimo-v2-flash":{"name":"MiMo-V2-Flash","cost":{"input":0.1,"output":0.3,"cache_read":0.01},"limit":{"context":262000}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const provider={"name":"Zhipu AI Coding Plan","models":{"glm-5v-turbo":{"name":"glm-5v-turbo","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000}},"glm-5.1":{"name":"GLM-5.1","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000}},"glm-4.6v-flash":{"name":"GLM-4.6V-Flash","cost":{"input":0,"output":0},"limit":{"context":128000}},"glm-4.7-flash":{"name":"GLM-4.7-Flash","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000}},"glm-4.5-flash":{"name":"GLM-4.5-Flash","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":131072}},"glm-4.6v":{"name":"GLM-4.6V","cost":{"input":0,"output":0},"limit":{"context":128000}},"glm-4.6":{"name":"GLM-4.6","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":204800}},"glm-4.5v":{"name":"GLM-4.5V","cost":{"input":0,"output":0},"limit":{"context":64000}},"glm-5-turbo":{"name":"GLM-5-Turbo","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000}},"glm-4.5-air":{"name":"GLM-4.5-Air","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":131072}},"glm-4.5":{"name":"GLM-4.5","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":131072}},"glm-4.7-flashx":{"name":"GLM-4.7-FlashX","cost":{"input":0.07,"output":0.4,"cache_read":0.01,"cache_write":0},"limit":{"context":200000}},"glm-5":{"name":"GLM-5","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":204800}},"glm-4.7":{"name":"GLM-4.7","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":204800}}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const provider={"name":"Zhipu AI","models":{"glm-5v-turbo":{"name":"glm-5v-turbo","cost":{"input":5,"output":22,"cache_read":1.2,"cache_write":0},"limit":{"context":200000}},"glm-5":{"name":"GLM-5","cost":{"input":1,"output":3.2,"cache_read":0.2,"cache_write":0},"limit":{"context":204800}},"glm-5.1":{"name":"GLM-5.1","cost":{"input":6,"output":24,"cache_read":1.3,"cache_write":0},"limit":{"context":200000}},"glm-4.7-flash":{"name":"GLM-4.7-Flash","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":200000}},"glm-4.5-flash":{"name":"GLM-4.5-Flash","cost":{"input":0,"output":0,"cache_read":0,"cache_write":0},"limit":{"context":131072}},"glm-4.6v":{"name":"GLM-4.6V","cost":{"input":0.3,"output":0.9},"limit":{"context":128000}},"glm-4.6":{"name":"GLM-4.6","cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":204800}},"glm-4.5v":{"name":"GLM-4.5V","cost":{"input":0.6,"output":1.8},"limit":{"context":64000}},"glm-4.5-air":{"name":"GLM-4.5-Air","cost":{"input":0.2,"output":1.1,"cache_read":0.03,"cache_write":0},"limit":{"context":131072}},"glm-4.5":{"name":"GLM-4.5","cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":131072}},"glm-4.7-flashx":{"name":"GLM-4.7-FlashX","cost":{"input":0.07,"output":0.4,"cache_read":0.01,"cache_write":0},"limit":{"context":200000}},"glm-4.7":{"name":"GLM-4.7","cost":{"input":0.6,"output":2.2,"cache_read":0.11,"cache_write":0},"limit":{"context":204800}}}};
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
type ModalityInput = 'text' | 'image' | 'audio' | 'video' | 'pdf' | (string & {});
|
|
2
|
+
type ModalityOutput = 'text' | 'image' | 'audio' | (string & {});
|
|
3
|
+
interface ModelModalities {
|
|
4
|
+
input: ModalityInput[];
|
|
5
|
+
output: ModalityOutput[];
|
|
6
|
+
}
|
|
7
|
+
interface ModelCostContextOver200k {
|
|
8
|
+
input: number;
|
|
9
|
+
output: number;
|
|
10
|
+
cache_read?: number;
|
|
11
|
+
cache_write?: number;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
interface ModelCost {
|
|
15
|
+
/** Cost per 1M input tokens (USD) */
|
|
16
|
+
input: number;
|
|
17
|
+
/** Cost per 1M output tokens (USD) */
|
|
18
|
+
output: number;
|
|
19
|
+
/** Cost per 1M reasoning tokens (USD) */
|
|
20
|
+
reasoning?: number;
|
|
21
|
+
/** Cost per 1M cache read tokens (USD) */
|
|
22
|
+
cache_read?: number;
|
|
23
|
+
/** Cost per 1M cache write tokens (USD) */
|
|
24
|
+
cache_write?: number;
|
|
25
|
+
/** Cost per 1M input audio tokens (USD) */
|
|
26
|
+
input_audio?: number;
|
|
27
|
+
/** Cost per 1M output audio tokens (USD) */
|
|
28
|
+
output_audio?: number;
|
|
29
|
+
/** Pricing override for context windows over 200k tokens */
|
|
30
|
+
context_over_200k?: ModelCostContextOver200k;
|
|
31
|
+
}
|
|
32
|
+
interface ModelLimit {
|
|
33
|
+
/** Maximum context window size in tokens */
|
|
34
|
+
context: number;
|
|
35
|
+
/** Maximum output tokens */
|
|
36
|
+
output?: number;
|
|
37
|
+
/** Maximum input tokens (when different from context) */
|
|
38
|
+
input?: number;
|
|
39
|
+
}
|
|
40
|
+
interface Model {
|
|
41
|
+
id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
/** Model family (e.g. "gpt", "claude", "gemini", "llama") */
|
|
44
|
+
family?: string;
|
|
45
|
+
/** Supports file/image attachments */
|
|
46
|
+
attachment?: boolean;
|
|
47
|
+
/** Has extended reasoning / chain-of-thought capability */
|
|
48
|
+
reasoning?: boolean;
|
|
49
|
+
/** Supports tool/function calling */
|
|
50
|
+
tool_call?: boolean;
|
|
51
|
+
/** Supports temperature parameter */
|
|
52
|
+
temperature?: boolean;
|
|
53
|
+
/** Supports structured output / JSON mode */
|
|
54
|
+
structured_output?: boolean;
|
|
55
|
+
/** Supports interleaved thinking (may be an object with field config on some providers) */
|
|
56
|
+
interleaved?: boolean | Record<string, unknown>;
|
|
57
|
+
/** Model status (e.g. "deprecated") */
|
|
58
|
+
status?: string;
|
|
59
|
+
/** Knowledge cutoff date (YYYY-MM format) */
|
|
60
|
+
knowledge?: string;
|
|
61
|
+
/** Release date */
|
|
62
|
+
release_date?: string;
|
|
63
|
+
/** Last updated date */
|
|
64
|
+
last_updated?: string;
|
|
65
|
+
/** Whether model weights are publicly available */
|
|
66
|
+
open_weights?: boolean;
|
|
67
|
+
modalities?: ModelModalities;
|
|
68
|
+
cost?: ModelCost;
|
|
69
|
+
limit?: ModelLimit;
|
|
70
|
+
/** Forward-compatible: any additional fields from the API */
|
|
71
|
+
[key: string]: unknown;
|
|
72
|
+
}
|
|
73
|
+
interface Provider {
|
|
74
|
+
id: string;
|
|
75
|
+
name: string;
|
|
76
|
+
/** Required environment variable(s) for the API key */
|
|
77
|
+
env?: string[];
|
|
78
|
+
/** AI SDK npm package */
|
|
79
|
+
npm?: string;
|
|
80
|
+
/** Base API URL */
|
|
81
|
+
api?: string;
|
|
82
|
+
/** Documentation URL */
|
|
83
|
+
doc?: string;
|
|
84
|
+
models: Record<string, Model>;
|
|
85
|
+
}
|
|
86
|
+
interface TokenUsage {
|
|
87
|
+
/** Number of non-cached input tokens */
|
|
88
|
+
noCacheInput?: number;
|
|
89
|
+
/** Number of non-cached output tokens */
|
|
90
|
+
noCacheOutput?: number;
|
|
91
|
+
/** Number of reasoning tokens (billed separately on some models) */
|
|
92
|
+
reasoning?: number;
|
|
93
|
+
/** Number of cached input tokens (cache read) */
|
|
94
|
+
cacheInput?: number;
|
|
95
|
+
/** Number of cache write tokens */
|
|
96
|
+
cacheWrite?: number;
|
|
97
|
+
/** Number of input audio tokens */
|
|
98
|
+
inputAudio?: number;
|
|
99
|
+
/** Number of output audio tokens */
|
|
100
|
+
outputAudio?: number;
|
|
101
|
+
}
|
|
102
|
+
interface PriceBreakdown {
|
|
103
|
+
/** Cost for non-cached input tokens (USD) */
|
|
104
|
+
noCacheInput: number;
|
|
105
|
+
/** Cost for non-cached output tokens (USD) */
|
|
106
|
+
noCacheOutput: number;
|
|
107
|
+
/** Cost for reasoning tokens (USD) */
|
|
108
|
+
reasoning: number;
|
|
109
|
+
/** Cost for cached input tokens (USD) */
|
|
110
|
+
cacheInput: number;
|
|
111
|
+
/** Cost for cache write tokens (USD) */
|
|
112
|
+
cacheWrite: number;
|
|
113
|
+
/** Cost for audio tokens (USD) */
|
|
114
|
+
audio: number;
|
|
115
|
+
/** Total cost (USD) */
|
|
116
|
+
total: number;
|
|
117
|
+
}
|
|
118
|
+
interface ModelWithProvider extends Model {
|
|
119
|
+
/** Provider ID */
|
|
120
|
+
providerId: string;
|
|
121
|
+
/** Provider display name */
|
|
122
|
+
providerName: string;
|
|
123
|
+
}
|
|
124
|
+
interface ModelFilter {
|
|
125
|
+
/** Filter by one or more provider IDs */
|
|
126
|
+
provider?: string | string[];
|
|
127
|
+
/** Filter by reasoning capability */
|
|
128
|
+
reasoning?: boolean;
|
|
129
|
+
/** Filter by tool call support */
|
|
130
|
+
tool_call?: boolean;
|
|
131
|
+
/** Filter by attachment support */
|
|
132
|
+
attachment?: boolean;
|
|
133
|
+
/** Filter by structured output support */
|
|
134
|
+
structured_output?: boolean;
|
|
135
|
+
/** Filter by open weights availability */
|
|
136
|
+
open_weights?: boolean;
|
|
137
|
+
/** Filter by required input modalities */
|
|
138
|
+
inputModalities?: ModalityInput[];
|
|
139
|
+
/** Filter by required output modalities */
|
|
140
|
+
outputModalities?: ModalityOutput[];
|
|
141
|
+
/** Maximum input cost per 1M tokens (USD) */
|
|
142
|
+
maxInputCost?: number;
|
|
143
|
+
/** Maximum output cost per 1M tokens (USD) */
|
|
144
|
+
maxOutputCost?: number;
|
|
145
|
+
/** Minimum context window in tokens */
|
|
146
|
+
minContextWindow?: number;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export type { ModelFilter as M, PriceBreakdown as P, TokenUsage as T, ModelWithProvider as a, Model as b, Provider as c, ModalityInput as d, ModalityOutput as e, ModelCost as f, ModelCostContextOver200k as g, ModelLimit as h };
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
type ModalityInput = 'text' | 'image' | 'audio' | 'video' | 'pdf' | (string & {});
|
|
2
|
+
type ModalityOutput = 'text' | 'image' | 'audio' | (string & {});
|
|
3
|
+
interface ModelModalities {
|
|
4
|
+
input: ModalityInput[];
|
|
5
|
+
output: ModalityOutput[];
|
|
6
|
+
}
|
|
7
|
+
interface ModelCostContextOver200k {
|
|
8
|
+
input: number;
|
|
9
|
+
output: number;
|
|
10
|
+
cache_read?: number;
|
|
11
|
+
cache_write?: number;
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}
|
|
14
|
+
interface ModelCost {
|
|
15
|
+
/** Cost per 1M input tokens (USD) */
|
|
16
|
+
input: number;
|
|
17
|
+
/** Cost per 1M output tokens (USD) */
|
|
18
|
+
output: number;
|
|
19
|
+
/** Cost per 1M reasoning tokens (USD) */
|
|
20
|
+
reasoning?: number;
|
|
21
|
+
/** Cost per 1M cache read tokens (USD) */
|
|
22
|
+
cache_read?: number;
|
|
23
|
+
/** Cost per 1M cache write tokens (USD) */
|
|
24
|
+
cache_write?: number;
|
|
25
|
+
/** Cost per 1M input audio tokens (USD) */
|
|
26
|
+
input_audio?: number;
|
|
27
|
+
/** Cost per 1M output audio tokens (USD) */
|
|
28
|
+
output_audio?: number;
|
|
29
|
+
/** Pricing override for context windows over 200k tokens */
|
|
30
|
+
context_over_200k?: ModelCostContextOver200k;
|
|
31
|
+
}
|
|
32
|
+
interface ModelLimit {
|
|
33
|
+
/** Maximum context window size in tokens */
|
|
34
|
+
context: number;
|
|
35
|
+
/** Maximum output tokens */
|
|
36
|
+
output?: number;
|
|
37
|
+
/** Maximum input tokens (when different from context) */
|
|
38
|
+
input?: number;
|
|
39
|
+
}
|
|
40
|
+
interface Model {
|
|
41
|
+
id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
/** Model family (e.g. "gpt", "claude", "gemini", "llama") */
|
|
44
|
+
family?: string;
|
|
45
|
+
/** Supports file/image attachments */
|
|
46
|
+
attachment?: boolean;
|
|
47
|
+
/** Has extended reasoning / chain-of-thought capability */
|
|
48
|
+
reasoning?: boolean;
|
|
49
|
+
/** Supports tool/function calling */
|
|
50
|
+
tool_call?: boolean;
|
|
51
|
+
/** Supports temperature parameter */
|
|
52
|
+
temperature?: boolean;
|
|
53
|
+
/** Supports structured output / JSON mode */
|
|
54
|
+
structured_output?: boolean;
|
|
55
|
+
/** Supports interleaved thinking (may be an object with field config on some providers) */
|
|
56
|
+
interleaved?: boolean | Record<string, unknown>;
|
|
57
|
+
/** Model status (e.g. "deprecated") */
|
|
58
|
+
status?: string;
|
|
59
|
+
/** Knowledge cutoff date (YYYY-MM format) */
|
|
60
|
+
knowledge?: string;
|
|
61
|
+
/** Release date */
|
|
62
|
+
release_date?: string;
|
|
63
|
+
/** Last updated date */
|
|
64
|
+
last_updated?: string;
|
|
65
|
+
/** Whether model weights are publicly available */
|
|
66
|
+
open_weights?: boolean;
|
|
67
|
+
modalities?: ModelModalities;
|
|
68
|
+
cost?: ModelCost;
|
|
69
|
+
limit?: ModelLimit;
|
|
70
|
+
/** Forward-compatible: any additional fields from the API */
|
|
71
|
+
[key: string]: unknown;
|
|
72
|
+
}
|
|
73
|
+
interface Provider {
|
|
74
|
+
id: string;
|
|
75
|
+
name: string;
|
|
76
|
+
/** Required environment variable(s) for the API key */
|
|
77
|
+
env?: string[];
|
|
78
|
+
/** AI SDK npm package */
|
|
79
|
+
npm?: string;
|
|
80
|
+
/** Base API URL */
|
|
81
|
+
api?: string;
|
|
82
|
+
/** Documentation URL */
|
|
83
|
+
doc?: string;
|
|
84
|
+
models: Record<string, Model>;
|
|
85
|
+
}
|
|
86
|
+
interface TokenUsage {
|
|
87
|
+
/** Number of non-cached input tokens */
|
|
88
|
+
noCacheInput?: number;
|
|
89
|
+
/** Number of non-cached output tokens */
|
|
90
|
+
noCacheOutput?: number;
|
|
91
|
+
/** Number of reasoning tokens (billed separately on some models) */
|
|
92
|
+
reasoning?: number;
|
|
93
|
+
/** Number of cached input tokens (cache read) */
|
|
94
|
+
cacheInput?: number;
|
|
95
|
+
/** Number of cache write tokens */
|
|
96
|
+
cacheWrite?: number;
|
|
97
|
+
/** Number of input audio tokens */
|
|
98
|
+
inputAudio?: number;
|
|
99
|
+
/** Number of output audio tokens */
|
|
100
|
+
outputAudio?: number;
|
|
101
|
+
}
|
|
102
|
+
interface PriceBreakdown {
|
|
103
|
+
/** Cost for non-cached input tokens (USD) */
|
|
104
|
+
noCacheInput: number;
|
|
105
|
+
/** Cost for non-cached output tokens (USD) */
|
|
106
|
+
noCacheOutput: number;
|
|
107
|
+
/** Cost for reasoning tokens (USD) */
|
|
108
|
+
reasoning: number;
|
|
109
|
+
/** Cost for cached input tokens (USD) */
|
|
110
|
+
cacheInput: number;
|
|
111
|
+
/** Cost for cache write tokens (USD) */
|
|
112
|
+
cacheWrite: number;
|
|
113
|
+
/** Cost for audio tokens (USD) */
|
|
114
|
+
audio: number;
|
|
115
|
+
/** Total cost (USD) */
|
|
116
|
+
total: number;
|
|
117
|
+
}
|
|
118
|
+
interface ModelWithProvider extends Model {
|
|
119
|
+
/** Provider ID */
|
|
120
|
+
providerId: string;
|
|
121
|
+
/** Provider display name */
|
|
122
|
+
providerName: string;
|
|
123
|
+
}
|
|
124
|
+
interface ModelFilter {
|
|
125
|
+
/** Filter by one or more provider IDs */
|
|
126
|
+
provider?: string | string[];
|
|
127
|
+
/** Filter by reasoning capability */
|
|
128
|
+
reasoning?: boolean;
|
|
129
|
+
/** Filter by tool call support */
|
|
130
|
+
tool_call?: boolean;
|
|
131
|
+
/** Filter by attachment support */
|
|
132
|
+
attachment?: boolean;
|
|
133
|
+
/** Filter by structured output support */
|
|
134
|
+
structured_output?: boolean;
|
|
135
|
+
/** Filter by open weights availability */
|
|
136
|
+
open_weights?: boolean;
|
|
137
|
+
/** Filter by required input modalities */
|
|
138
|
+
inputModalities?: ModalityInput[];
|
|
139
|
+
/** Filter by required output modalities */
|
|
140
|
+
outputModalities?: ModalityOutput[];
|
|
141
|
+
/** Maximum input cost per 1M tokens (USD) */
|
|
142
|
+
maxInputCost?: number;
|
|
143
|
+
/** Maximum output cost per 1M tokens (USD) */
|
|
144
|
+
maxOutputCost?: number;
|
|
145
|
+
/** Minimum context window in tokens */
|
|
146
|
+
minContextWindow?: number;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export type { ModelFilter as M, PriceBreakdown as P, TokenUsage as T, ModelWithProvider as a, Model as b, Provider as c, ModalityInput as d, ModalityOutput as e, ModelCost as f, ModelCostContextOver200k as g, ModelLimit as h };
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ai-model-prices",
|
|
3
|
+
"version": "2026.4.23",
|
|
4
|
+
"description": "Typed AI model pricing and capabilities data, auto-updated from models.dev",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"llm",
|
|
8
|
+
"models",
|
|
9
|
+
"pricing",
|
|
10
|
+
"anthropic",
|
|
11
|
+
"openai",
|
|
12
|
+
"gemini"
|
|
13
|
+
],
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"author": "Corentin Thomas",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/corentints/ai-model-prices"
|
|
19
|
+
},
|
|
20
|
+
"main": "./dist/index.js",
|
|
21
|
+
"module": "./dist/index.mjs",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": {
|
|
25
|
+
"import": {
|
|
26
|
+
"types": "./dist/index.d.mts",
|
|
27
|
+
"default": "./dist/index.mjs"
|
|
28
|
+
},
|
|
29
|
+
"require": {
|
|
30
|
+
"types": "./dist/index.d.ts",
|
|
31
|
+
"default": "./dist/index.js"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"./async": {
|
|
35
|
+
"import": {
|
|
36
|
+
"types": "./dist/async.d.mts",
|
|
37
|
+
"default": "./dist/async.mjs"
|
|
38
|
+
},
|
|
39
|
+
"require": {
|
|
40
|
+
"types": "./dist/async.d.ts",
|
|
41
|
+
"default": "./dist/async.js"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "tsup",
|
|
50
|
+
"lint": "eslint src",
|
|
51
|
+
"lint:fix": "eslint src --fix",
|
|
52
|
+
"format": "prettier --write src",
|
|
53
|
+
"format:check": "prettier --check src",
|
|
54
|
+
"prepublishOnly": "npm run build",
|
|
55
|
+
"test": "node --import jiti/register --test tests/*.test.ts"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@types/node": "^25.6.0",
|
|
59
|
+
"eslint": "^10.2.1",
|
|
60
|
+
"eslint-config-prettier": "^10.1.8",
|
|
61
|
+
"jiti": "^2.6.1",
|
|
62
|
+
"prettier": "^3.8.3",
|
|
63
|
+
"tsup": "^8.4.0",
|
|
64
|
+
"typescript": "^5.8.0",
|
|
65
|
+
"typescript-eslint": "^8.59.0"
|
|
66
|
+
}
|
|
67
|
+
}
|