{"id":5163,"date":"2026-06-18T14:17:09","date_gmt":"2026-06-18T14:17:09","guid":{"rendered":"https:\/\/rimanagency.com\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/"},"modified":"2026-06-18T14:17:09","modified_gmt":"2026-06-18T14:17:09","slug":"ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call","status":"publish","type":"page","link":"https:\/\/rimanagency.com\/fr\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/","title":{"rendered":"Calculateur de co\u00fbts des API d&#039;IA \u2014 Estimation des co\u00fbts par appel des API ChatGPT, Claude et Gemini"},"content":{"rendered":"<style>.rt-h{background:linear-gradient(135deg,#f1f5e8,#e8efdb);border-radius:14px;padding:32px;margin:0 0 24px;text-align:center}.rt-h h1{margin:0 0 10px;font-size:28px;color:#4a6320}.rt-g{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0 0 24px}.rt-f,.rt-o{background:#fff;border:1px solid #e0e6d8;border-radius:10px;padding:22px}.rt-f h3,.rt-o h3{margin:0 0 14px;color:#4a6320;font-size:18px}.rt-f label{display:block;font-size:13px;color:#516048;font-weight:600;margin:10px 0 6px}.rt-f input,.rt-f select,.rt-f textarea{width:100%;padding:9px;border:1px solid #d4dac6;border-radius:6px;font-size:14px;box-sizing:border-box;font-family:inherit}.rt-btn{background:#719430;color:#fff;border:none;padding:11px 20px;border-radius:6px;font-weight:700;cursor:pointer;width:100%;margin-top:14px;font-size:15px}.rt-btn:hover{background:#4a6320}.rt-cta{background:linear-gradient(135deg,#719430,#4a6320);color:#fff;border-radius:14px;padding:32px;text-align:center;margin:30px 0}.rt-cta h3{margin:0 0 6px;color:#fff}.rt-cta a{background:#fff;color:#4a6320;padding:12px 28px;border-radius:6px;font-weight:700;text-decoration:none;display:inline-block;margin-top:14px}.rt-o-big{font-size:36px;font-weight:800;color:#719430;text-align:center;margin:6px 0;word-break:break-word}@media(max-width:768px){.rt-g{grid-template-columns:1fr}}<\/style>\n<div class=\"rt-h\">\n<h1>AI API Cost Calculator<\/h1>\n<p>Estimate the cost of API calls to GPT-4, Claude, Gemini, and other LLMs based on input + output token counts and your monthly call volume. Forecast monthly bills and compare models side-by-side before committing.<\/p>\n<\/div>\n<div class=\"rt-g\">\n<div class=\"rt-f\">\n<h3>Usage Inputs<\/h3>\n<p><label>Model<\/label><select id=\"ac-model\"><option value=\"gpt4o\" selected>GPT-4o ($2.50\/M in, $10\/M out)<\/option><option value=\"gpt4omini\">GPT-4o-mini ($0.15\/M in, $0.60\/M out)<\/option><option value=\"gpt4turbo\">GPT-4 Turbo ($10\/M in, $30\/M out)<\/option><option value=\"o1\">o1 ($15\/M in, $60\/M out)<\/option><option value=\"o1mini\">o1-mini ($3\/M in, $12\/M out)<\/option><option value=\"claude35sonnet\">Claude 3.5 Sonnet ($3\/M in, $15\/M out)<\/option><option value=\"claude35haiku\">Claude 3.5 Haiku ($0.80\/M in, $4\/M out)<\/option><option value=\"claude3opus\">Claude 3 Opus ($15\/M in, $75\/M out)<\/option><option value=\"gemini15pro\">Gemini 1.5 Pro ($1.25\/M in, $5\/M out)<\/option><option value=\"gemini15flash\">Gemini 1.5 Flash ($0.075\/M in, $0.30\/M out)<\/option><\/select><label>Average INPUT tokens per call<\/label><input type=\"number\" id=\"ac-intokens\" placeholder=\"\" value=\"1000\"><label>Average OUTPUT tokens per call<\/label><input type=\"number\" id=\"ac-outtokens\" placeholder=\"\" value=\"500\"><label>Monthly API calls<\/label><input type=\"number\" id=\"ac-calls\" placeholder=\"\" value=\"10000\"><\/div>\n<div class=\"rt-o\">\n<h3>Cost Estimate<\/h3>\n<div class=\"rt-o-big\" id=\"ac-big\">\u2014<\/div>\n<div id=\"ac-detail\" style=\"margin-top:14px;font-size:13px;color:#516048\"><\/div>\n<\/div>\n<\/div>\n<p><script>function cAc(){var prices={gpt4o:[2.5,10],gpt4omini:[0.15,0.60],gpt4turbo:[10,30],o1:[15,60],o1mini:[3,12],claude35sonnet:[3,15],claude35haiku:[0.80,4],claude3opus:[15,75],gemini15pro:[1.25,5],gemini15flash:[0.075,0.30]};var model=document.getElementById(\"ac-model\").value;var inT=parseInt(document.getElementById(\"ac-intokens\").value)||0;var outT=parseInt(document.getElementById(\"ac-outtokens\").value)||0;var calls=parseInt(document.getElementById(\"ac-calls\").value)||0;var p=prices[model];var perCall=(inT*p[0]+outT*p[1])\/1000000;var monthly=perCall*calls;var annual=monthly*12;document.getElementById(\"ac-big\").textContent=\"$\"+monthly.toFixed(2)+\"\/mo\";document.getElementById(\"ac-detail\").innerHTML=\"<b>Per call:<\/b> $\"+perCall.toFixed(6)+\" &nbsp;|&nbsp; <b>Annual:<\/b> $\"+annual.toFixed(2)+\" &nbsp;|&nbsp; <b>Per 1K calls:<\/b> $\"+(perCall*1000).toFixed(2)+\"<\/p>\n<div style=\\\"margin-top:10px;font-size:12px;color:#516048\\\"><b>Tip:<\/b> 1 token \u2248 0.75 English word. 1000 input tokens \u2248 750 words, ~1.5 pages of context.<\/div>\n<p>\"}[\"ac-model\",\"ac-intokens\",\"ac-outtokens\",\"ac-calls\"].forEach(function(id){document.getElementById(id).addEventListener(\"input\",cAc);document.getElementById(id).addEventListener(\"change\",cAc)});cAc();<\/script><\/p>\n<h2>How to use the AI API Cost Calculator<\/h2>\n<p>Pick the model. Enter your average input tokens per call (1000 \u2248 750 words of context) and average output tokens (500 \u2248 375 words). Enter your expected monthly call volume. The cost per call, per month, and per year update in real time.<\/p>\n<h2>Why this tool matters<\/h2>\n<p>AI API costs scale unpredictably. A feature that costs $20\/month at 1K calls can cost $20,000\/month at 1M calls \u2014 the difference between profitable and ruinous. Modeling cost before building (or before scaling) prevents surprise bills and informs which model to choose. Cheap-but-capable models like GPT-4o-mini and Gemini 1.5 Flash are often 95% as good for 20\u00d7 less money.<\/p>\n<h2>Common use cases<\/h2>\n<ul>\n<li>Forecasting monthly costs before launching an AI-powered feature<\/li>\n<li>Comparing model costs to choose the right one for your use case<\/li>\n<li>Building business cases for AI product investments<\/li>\n<li>Budgeting AI marketing automation programs<\/li>\n<li>Estimating ROI of switching between models<\/li>\n<li>Planning safety margins for unexpected usage spikes<\/li>\n<\/ul>\n<h2>Token estimation rules of thumb<\/h2>\n<p>1 token \u2248 0.75 English words \u2248 4 characters. A typical email is ~200 tokens. A blog post draft is ~2,000 tokens. A 10-page document is ~5,000 tokens. Multilingual content uses more tokens (CJK and code-heavy content can be 2-3\u00d7 higher per character).<\/p>\n<h2>Frequently Asked Questions<\/h2>\n<p><strong>Are these prices current?<\/strong><br \/>Prices are accurate as of mid-2026 list pricing. Check the model providers\\u2019 pricing pages before committing to budgets \u2014 pricing changes frequently and volume discounts apply at scale.<\/p>\n<p><strong>What about caching and batch discounts?<\/strong><br \/>OpenAI offers 50% off via batch API, Anthropic offers prompt-caching discounts up to 90% on repeated context. For high-volume systems, factor those in \u2014 our calculator uses standard rates.<\/p>\n<p><strong>Why is the output more expensive than input?<\/strong><br \/>Output tokens require generation (compute-intensive). Input tokens are just read (cheaper). The output\/input ratio varies by model \u2014 usually 3-5\u00d7 more expensive on output.<\/p>\n<p><strong>Should I use the cheapest model?<\/strong><br \/>Test before committing. GPT-4o-mini and Gemini 1.5 Flash handle 80% of marketing tasks indistinguishably from their flagship siblings at 5-20% the cost. Reserve flagship models for tasks requiring deep reasoning.<\/p>\n<div class=\"rt-cta\">\n<h3>Building AI-powered marketing infrastructure that scales cost-effectively?<\/h3>\n<p style=\"margin:0;opacity:.95\">Riman Agency builds AI marketing automation with cost discipline.<\/p>\n<p><a href=\"\/contact\/\">Talk to AI Strategy<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>AI API Cost Calculator Estimate the cost of API calls to GPT-4, Claude, Gemini, and other LLMs based on input + output token counts and your monthly call volume. Forecast monthly bills and compare models side-by-side before committing. Usage Inputs ModelGPT-4o ($2.50\/M in, $10\/M out)GPT-4o-mini ($0.15\/M in, $0.60\/M out)GPT-4 Turbo ($10\/M in, $30\/M out)o1 ($15\/M [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-5163","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AI API Cost Calculator \u2014 Estimate ChatGPT, Claude, Gemini API Costs Per Call - Riman Agency<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rimanagency.com\/fr\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/\" \/>\n<meta property=\"og:locale\" content=\"fr_CA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AI API Cost Calculator \u2014 Estimate ChatGPT, Claude, Gemini API Costs Per Call - Riman Agency\" \/>\n<meta property=\"og:description\" content=\"AI API Cost Calculator Estimate the cost of API calls to GPT-4, Claude, Gemini, and other LLMs based on input + output token counts and your monthly call volume. Forecast monthly bills and compare models side-by-side before committing. Usage Inputs ModelGPT-4o ($2.50\/M in, $10\/M out)GPT-4o-mini ($0.15\/M in, $0.60\/M out)GPT-4 Turbo ($10\/M in, $30\/M out)o1 ($15\/M [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rimanagency.com\/fr\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/\" \/>\n<meta property=\"og:site_name\" content=\"Riman Agency\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rimanagency.com\\\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\\\/\",\"url\":\"https:\\\/\\\/rimanagency.com\\\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\\\/\",\"name\":\"AI API Cost Calculator \u2014 Estimate ChatGPT, Claude, Gemini API Costs Per Call - Riman Agency\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#website\"},\"datePublished\":\"2026-06-18T14:17:09+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rimanagency.com\\\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\\\/#breadcrumb\"},\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rimanagency.com\\\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rimanagency.com\\\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rimanagency.com\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI API Cost Calculator \u2014 Estimate ChatGPT, Claude, Gemini API Costs Per Call\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#website\",\"url\":\"https:\\\/\\\/rimanagency.com\\\/\",\"name\":\"Riman Agency\",\"description\":\"A Full Service Digital Marketing Agency\",\"publisher\":{\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rimanagency.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-CA\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#organization\",\"name\":\"Riman Agency\",\"url\":\"https:\\\/\\\/rimanagency.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/rimanagency.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/RIMANagency-all-logos-1-2.png\",\"contentUrl\":\"https:\\\/\\\/rimanagency.com\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/RIMANagency-all-logos-1-2.png\",\"width\":694,\"height\":211,\"caption\":\"Riman Agency\"},\"image\":{\"@id\":\"https:\\\/\\\/rimanagency.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Calculateur de co\u00fbts des API d&#039;IA \u2014 Estimation des co\u00fbts par appel des API ChatGPT, Claude et Gemini - Agence Riman","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rimanagency.com\/fr\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/","og_locale":"fr_CA","og_type":"article","og_title":"AI API Cost Calculator \u2014 Estimate ChatGPT, Claude, Gemini API Costs Per Call - Riman Agency","og_description":"AI API Cost Calculator Estimate the cost of API calls to GPT-4, Claude, Gemini, and other LLMs based on input + output token counts and your monthly call volume. Forecast monthly bills and compare models side-by-side before committing. Usage Inputs ModelGPT-4o ($2.50\/M in, $10\/M out)GPT-4o-mini ($0.15\/M in, $0.60\/M out)GPT-4 Turbo ($10\/M in, $30\/M out)o1 ($15\/M [&hellip;]","og_url":"https:\/\/rimanagency.com\/fr\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/","og_site_name":"Riman Agency","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rimanagency.com\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/","url":"https:\/\/rimanagency.com\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/","name":"Calculateur de co\u00fbts des API d&#039;IA \u2014 Estimation des co\u00fbts par appel des API ChatGPT, Claude et Gemini - Agence Riman","isPartOf":{"@id":"https:\/\/rimanagency.com\/#website"},"datePublished":"2026-06-18T14:17:09+00:00","breadcrumb":{"@id":"https:\/\/rimanagency.com\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/#breadcrumb"},"inLanguage":"fr-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rimanagency.com\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/rimanagency.com\/ai-api-cost-calculator-estimate-chatgpt-claude-gemini-api-costs-per-call\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rimanagency.com\/home\/"},{"@type":"ListItem","position":2,"name":"AI API Cost Calculator \u2014 Estimate ChatGPT, Claude, Gemini API Costs Per Call"}]},{"@type":"WebSite","@id":"https:\/\/rimanagency.com\/#website","url":"https:\/\/rimanagency.com\/","name":"Agence Riman","description":"Une agence de marketing num\u00e9rique \u00e0 service complet","publisher":{"@id":"https:\/\/rimanagency.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rimanagency.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-CA"},{"@type":"Organization","@id":"https:\/\/rimanagency.com\/#organization","name":"Agence Riman","url":"https:\/\/rimanagency.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/rimanagency.com\/#\/schema\/logo\/image\/","url":"https:\/\/rimanagency.com\/wp-content\/uploads\/2022\/02\/RIMANagency-all-logos-1-2.png","contentUrl":"https:\/\/rimanagency.com\/wp-content\/uploads\/2022\/02\/RIMANagency-all-logos-1-2.png","width":694,"height":211,"caption":"Riman Agency"},"image":{"@id":"https:\/\/rimanagency.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/pages\/5163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/comments?post=5163"}],"version-history":[{"count":0,"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/pages\/5163\/revisions"}],"wp:attachment":[{"href":"https:\/\/rimanagency.com\/fr\/wp-json\/wp\/v2\/media?parent=5163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}