{"id":1245,"date":"2026-06-22T17:35:50","date_gmt":"2026-06-22T17:35:50","guid":{"rendered":"https:\/\/convly.ai\/ai-api-cost-calculator\/"},"modified":"2026-06-22T17:35:50","modified_gmt":"2026-06-22T17:35:50","slug":"ai-api-cost-calculator","status":"publish","type":"page","link":"https:\/\/convly.ai\/es\/ai-api-cost-calculator\/","title":{"rendered":"AI API Cost Calculator \u2014 Compare LLM Pricing by Monthly Usage"},"content":{"rendered":"<p>How much will the OpenAI, Anthropic, Google or DeepSeek API actually cost you each month? Enter your usage and compare every model side by side \u2014 pricing is pulled live from our <a href=\"\/models\/\">AI models database<\/a>.<\/p>\n<div class=\"acc\" id=\"acc\">\n  <div class=\"acc-controls\">\n    <label>Input tokens \/ month (millions)<input type=\"number\" id=\"acc-in\" value=\"50\" min=\"0\" step=\"1\"><\/label>\n    <label>Output tokens \/ month (millions)<input type=\"number\" id=\"acc-out\" value=\"10\" min=\"0\" step=\"1\"><\/label>\n    <div class=\"acc-hint\">Tip: a typical chatbot turn is ~1K in \/ ~0.5K out. 50M in \/ 10M out \u2248 ~50,000 such turns a month.<\/div>\n  <\/div>\n  <table class=\"acc-table\">\n    <thead><tr><th>Model<\/th><th>Developer<\/th><th>$\/1M in<\/th><th>$\/1M out<\/th><th>Est. monthly cost<\/th><\/tr><\/thead>\n    <tbody id=\"acc-body\"><\/tbody>\n  <\/table>\n  <p class=\"acc-note\">Estimate = (input&nbsp;M \u00d7 input price) + (output&nbsp;M \u00d7 output price). Real bills vary with caching, batch discounts, and long-context surcharges. Open-weight models you self-host aren't listed here (their cost is your hardware\/electricity, not per-token).<\/p>\n<\/div>\n<script>(function(){\n  var DATA=[{\"name\":\"Claude Fable 5\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/claude-fable-5\\\/\",\"dev\":\"Anthropic\",\"in\":10,\"out\":50},{\"name\":\"Claude Haiku 4.5\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/claude-haiku-4-5\\\/\",\"dev\":\"Anthropic\",\"in\":1,\"out\":5},{\"name\":\"Claude Opus 4.8\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/claude-opus-4-8\\\/\",\"dev\":\"Anthropic\",\"in\":5,\"out\":25},{\"name\":\"Claude Sonnet 4.6\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/claude-sonnet-4-6\\\/\",\"dev\":\"Anthropic\",\"in\":3,\"out\":15},{\"name\":\"DeepSeek R1\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/deepseek-r1\\\/\",\"dev\":\"DeepSeek\",\"in\":0.5,\"out\":2.15},{\"name\":\"DeepSeek R1 Distill Llama 70B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/deepseek-r1-distill-llama-70b\\\/\",\"dev\":\"DeepSeek\",\"in\":0.8,\"out\":0.8},{\"name\":\"DeepSeek V4-Flash\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/deepseek-v4-flash\\\/\",\"dev\":\"DeepSeek\",\"in\":0.14,\"out\":0.28},{\"name\":\"DeepSeek V4-Pro\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/deepseek-v4-pro\\\/\",\"dev\":\"DeepSeek\",\"in\":0.435,\"out\":0.87},{\"name\":\"Gemini 3.1 Pro\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/gemini-3-1-pro\\\/\",\"dev\":\"Google\",\"in\":2,\"out\":12},{\"name\":\"Gemini 3.5 Flash\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/gemini-3-5-flash\\\/\",\"dev\":\"Google\",\"in\":1.5,\"out\":9},{\"name\":\"Gemma 3 12B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/gemma-3-12b\\\/\",\"dev\":\"Google\",\"in\":0.05,\"out\":0.15},{\"name\":\"Gemma 3 27B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/gemma-3-27b\\\/\",\"dev\":\"Google\",\"in\":0.08,\"out\":0.16},{\"name\":\"Gemma 3 4B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/gemma-3-4b\\\/\",\"dev\":\"Google\",\"in\":0.05,\"out\":0.1},{\"name\":\"GLM 5.2\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/glm-5-2\\\/\",\"dev\":\"Zhipu AI\",\"in\":1.4,\"out\":4.4},{\"name\":\"GPT-5.5\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/gpt-5-5\\\/\",\"dev\":\"OpenAI\",\"in\":5,\"out\":30},{\"name\":\"Kimi K2.7 Code\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/kimi-k2-7-code\\\/\",\"dev\":\"Moonshot AI\",\"in\":0.6,\"out\":2.5},{\"name\":\"Llama 3.1 8B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/llama-3-1-8b\\\/\",\"dev\":\"Meta\",\"in\":0.02,\"out\":0.03},{\"name\":\"Llama 3.3 70B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/llama-3-3-70b\\\/\",\"dev\":\"Meta\",\"in\":0.1,\"out\":0.32},{\"name\":\"Llama 4 Maverick\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/llama-4-maverick\\\/\",\"dev\":\"Meta\",\"in\":0.15,\"out\":0.6},{\"name\":\"Llama 4 Scout\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/llama-4-scout\\\/\",\"dev\":\"Meta\",\"in\":0.1,\"out\":0.3},{\"name\":\"Mistral 7B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/mistral-7b\\\/\",\"dev\":\"Mistral AI\",\"in\":0.02,\"out\":0.03},{\"name\":\"Mistral Large 3\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/mistral-large-3\\\/\",\"dev\":\"Mistral AI\",\"in\":2,\"out\":6},{\"name\":\"Mistral NeMo 12B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/mistral-nemo-12b\\\/\",\"dev\":\"Mistral AI\",\"in\":0.02,\"out\":0.04},{\"name\":\"Phi-4\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/phi-4\\\/\",\"dev\":\"Microsoft\",\"in\":0.07,\"out\":0.14},{\"name\":\"Qwen3 14B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/qwen3-14b\\\/\",\"dev\":\"Alibaba\",\"in\":0.12,\"out\":0.24},{\"name\":\"Qwen3 235B-A22B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/qwen3-235b-a22b\\\/\",\"dev\":\"Alibaba\",\"in\":0.45,\"out\":1.8},{\"name\":\"Qwen3 30B-A3B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/qwen3-30b-a3b\\\/\",\"dev\":\"Alibaba\",\"in\":0.12,\"out\":0.5},{\"name\":\"Qwen3 32B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/qwen3-32b\\\/\",\"dev\":\"Alibaba\",\"in\":0.08,\"out\":0.28},{\"name\":\"Qwen3 8B\",\"url\":\"https:\\\/\\\/convly.ai\\\/es\\\/model\\\/qwen3-8b\\\/\",\"dev\":\"Alibaba\",\"in\":0.04,\"out\":0.14}];\n  var $=function(id){return document.getElementById(id);};\n  function render(){\n    var im=parseFloat($('acc-in').value)||0, om=parseFloat($('acc-out').value)||0;\n    var list=DATA.map(function(m){return {m:m,cost:im*m.in+om*m.out};}).sort(function(a,b){return a.cost-b.cost;});\n    var body=$('acc-body'); body.innerHTML='';\n    list.forEach(function(x,i){\n      var tr=document.createElement('tr'); if(i===0)tr.className='acc-best';\n      tr.innerHTML='<td><a href=\"'+x.m.url+'\">'+x.m.name+'<\/a>'+(i===0?' <span class=\"acc-tag\">cheapest<\/span>':'')+'<\/td>'+\n        '<td>'+(x.m.dev||'\u2014')+'<\/td><td>$'+x.m.in.toFixed(2)+'<\/td><td>$'+x.m.out.toFixed(2)+'<\/td>'+\n        '<td><b>$'+x.cost.toLocaleString(undefined,{maximumFractionDigits:2})+'<\/b>\/mo<\/td>';\n      body.appendChild(tr);\n    });\n  }\n  ['acc-in','acc-out'].forEach(function(id){$(id).addEventListener('input',render);});\n  render();\n})();<\/script>\n\n<p>The cheapest model isn&#8217;t always the best fit \u2014 check each model&#8217;s page for context window, benchmarks and capabilities before you switch. And remember: open-weight models you self-host have no per-token cost at all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How much will the OpenAI, Anthropic, Google or DeepSeek API actually cost you each month? Enter your usage and compare [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-1245","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/convly.ai\/es\/wp-json\/wp\/v2\/pages\/1245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/convly.ai\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/convly.ai\/es\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/convly.ai\/es\/wp-json\/wp\/v2\/comments?post=1245"}],"version-history":[{"count":0,"href":"https:\/\/convly.ai\/es\/wp-json\/wp\/v2\/pages\/1245\/revisions"}],"wp:attachment":[{"href":"https:\/\/convly.ai\/es\/wp-json\/wp\/v2\/media?parent=1245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}