[{"data":1,"prerenderedAt":224},["ShallowReactive",2],{"copy:en:site:":3,"copy:en:cost:":122,"copy:en:models:ui":187,"copy:en:site:common":222},{"common":4,"nav":16,"footer":44,"home":51,"error":115},{"skip":5,"menu":6,"language":7,"sections":8,"footer":9,"tool":10,"home":11,"breadcrumbs":12,"copy":13,"copied":14,"download":15},"Skip to content","Menu","Language","Sections","Footer","tool","Home","Breadcrumbs","Copy","Copied","Download",{"groups":17,"items":25},{"build":18,"connect":19,"instruct":20,"run":21,"web":22,"secure":23,"track":24},"Build","Connect","Instruct","Run","Open your site","Secure","Track",{"models":26,"cost":27,"frameworks":28,"mcp":29,"mcpConfig":30,"mcpClients":31,"agentsMd":32,"files":33,"openclaw":34,"agentReady":35,"llmsTxt":36,"robotsTxt":37,"apiCatalog":38,"bots":39,"security":40,"incidents":41,"checklist":42,"changelog":43},"Models and API prices","Agent cost calculator","Frameworks and SDKs","MCP servers","MCP config generator","MCP clients","AGENTS.md generator","Instruction files","Self-host OpenClaw","Agent-ready websites","llms.txt generator","robots.txt for AI bots","API catalog generator","AI bot directory","Agent security","Incident log","Security checklist","Changelog",{"about":45,"privacy":46,"terms":47,"sitemap":48,"disclaimer":49,"checked":50},"About","Privacy","Terms","Sitemap","Independent reference for people who build AI agents. Not affiliated with any vendor named here.","Facts checked {date}",{"seo":52,"eyebrow":55,"title":56,"lead":57,"ctaMcp":58,"ctaCost":59,"ctaAgents":60,"sheetLabel":61,"sheetTitle":62,"sheet":63,"sheetNote":69,"sectionsTitle":70,"sections":71,"latestTitle":98,"allChanges":99,"rulesTitle":100,"rules":101,"aboutLink":114},{"title":53,"description":54},"DotsAgent: reference and tools for building AI agents","LLM API prices, an agent cost calculator, MCP configs for 13 clients, AGENTS.md and llms.txt generators, and agent security notes. Free, in 18 languages.","For developers building AI agents","The agent builder's desk reference","Prices, protocols, config files and security notes for agent work, each checked against the vendor's own docs. Look a fact up, generate the file you need and get back to your code.","Generate an MCP config","Price an agent task","Write AGENTS.md","Current figures","State of the stack",{"mcp":64,"openclaw":65,"cheapest":66,"models":67,"servers":29,"bots":68},"MCP spec","OpenClaw","Cheapest model, $\u002FM in\u002Fout","Models priced","AI bots tracked","Each figure is checked by hand against vendor docs.","What's on the site",{"models":72,"mcp":76,"instructions":79,"frameworks":82,"openclaw":85,"agentReady":88,"security":91,"changelog":94},{"title":73,"body":74,"unit":75},"Models and prices","Input, output and cached token prices per million, side by side, with a calculator for whole agent runs.","models",{"title":29,"body":77,"unit":78},"A catalogue of Model Context Protocol servers and a config generator that writes the right file for each client.","servers",{"title":33,"body":80,"unit":81},"Write an AGENTS.md and see how CLAUDE.md, .cursor\u002Frules and similar files are read by each tool.","file formats",{"title":28,"body":83,"unit":84},"Compare agent frameworks and vendor SDKs by language, licence, MCP support and multi-agent features.","frameworks",{"title":34,"body":86,"unit":87},"Install, configure and update OpenClaw on your own machine or server, step by step.","current release",{"title":35,"body":89,"unit":90},"Generate llms.txt, robots.txt rules for AI crawlers and an api-catalog, and look up any bot by user agent.","bots listed",{"title":40,"body":92,"unit":93},"The OWASP risks for agents, a log of real incidents and a checklist you can tick off before launch.","incidents logged",{"title":95,"body":96,"unit":97},"API changelog","Dated changes to model APIs, SDKs and protocols, each linked to the vendor's announcement.","entries","Latest changes","All changes","How we keep it accurate",[102,105,108,111],{"title":103,"body":104},"Sourced facts.","Every price, version and flag links to the vendor page it came from, so you can check it yourself.",{"title":106,"body":107},"Dated checks.","Each page shows when its facts were last checked, and stale entries are rechecked or removed.",{"title":109,"body":110},"No paid placement.","Nobody pays to be listed, ranked higher or described more kindly.",{"title":112,"body":113},"Tools run in your browser.","Generators and calculators work locally, and what you type is not sent to a server.","About DotsAgent",{"title":116,"body":117,"home":118,"popular":119,"failed":120,"failedBody":121},"Page not found","This address doesn't match any page. It may have moved, or the link may have a typo.","Go to the home page","Popular tools","Something went wrong","The page failed to load on our side. Try again in a minute, or start from the home page.",{"seo":123,"crumb":27,"eyebrow":126,"title":27,"lead":127,"presets":128,"form":145,"table":160,"method":167,"faqTitle":173,"faq":174},{"title":124,"description":125},"AI agent cost calculator: price a task on 28 models","Estimate what one agent task and a month of tasks cost on 28 LLM APIs. Set prompt size, context growth, steps, output and cache hit rate; long-prompt rates included.","Build · tool","An agent is a loop: each call resends everything so far plus the newest tool result. Describe that loop once and see what a task, and a month of tasks, costs on every model in our price table.",{"support":129,"coding":133,"browser":137,"research":141},{"name":130,"shape":131,"about":132},"Support bot","{steps} calls, short tool lookups","Answers a customer by looking up an order or a help article: a compact prompt, a few tool calls and short replies.",{"name":134,"shape":135,"about":136},"Coding agent","{steps} calls, files and test output","Reads files, edits code and runs tests in a repository. A large system prompt with tool schemas, and each step adds a file or a test log.",{"name":138,"shape":139,"about":140},"Browser agent","{steps} calls, screenshots and page text","Clicks through websites to fill a form or collect prices. Every step adds a screenshot or page extract, while each reply is a short action.",{"name":142,"shape":143,"about":144},"Research agent","{steps} calls, long search results","Searches the web, reads sources and writes a report. Search results are long and only part of them repeat, so caching helps less.",{"preset":146,"base":147,"baseHint":148,"growth":149,"growthHint":150,"steps":151,"stepsHint":152,"output":153,"outputHint":154,"cacheHit":155,"cacheHitHint":156,"perDay":157,"provider":158,"summary":159},"Start from a workload","First prompt, tokens","System prompt, tool definitions and the task itself.","Added per step, tokens","Tool results and the model's own previous turn.","Model calls per task","How many times the loop calls the model before it finishes.","Output per call, tokens","Include reasoning tokens; they are billed as output.","Prompt served from cache","Share of each prompt after the first call that hits the provider's cache.","Tasks per day","Show provider","One task sends {input} input tokens and receives {output} output tokens. The largest single prompt is {peak} tokens.",{"caption":161,"perTask":162,"perMonth":163,"overflow":164,"longCalls":165,"legend":166},"Estimated cost per task and per month on each model","Per task","30 days at {n} a day","exceeds context window","{n} calls at long-prompt rate","List prices, standard tier, US dollars. Cache writes, taxes, tool fees such as web search and regional surcharges are not included.",{"title":168,"body":169,"limits":172},"How the estimate works",[170,171],"For each call in the loop we take the prompt size, the first prompt plus the growth from every earlier step, and split it into a cached share and a fresh share. The first call is always fresh. Fresh tokens are billed at the input rate, cached tokens at the cached rate, and the output at the output rate.","If a single prompt passes a provider's long-context threshold, that whole call is billed at the long-prompt rate, as OpenAI, Google, xAI and Qwen do. If the largest prompt is bigger than the model's context window, the row is flagged, because a real agent would have to trim or summarise its history first.","Real agents vary from task to task, retry failed steps and sometimes stop early. Treat these figures as a way to compare models on the same workload, then measure the actual token counts from your own traces before you budget.","Questions about agent costs",[175,178,181,184],{"q":176,"a":177},"How many tokens does an AI agent use per task?","It depends mostly on the number of steps and how much each step adds. A short support exchange may use 30K input tokens; a 30-step coding task with a 25K-token starting prompt sends over three million, because the whole history is resent every call.",{"q":179,"a":180},"How do I lower the cost of an agent?","Keep the start of the prompt identical between calls so it caches, trim tool results to what the model needs, summarise or drop old turns, use a small model for routine steps and a large one only for planning, and lower the reasoning effort where quality allows.",{"q":182,"a":183},"Does prompt caching happen automatically?","With OpenAI, DeepSeek, Kimi and Gemini's implicit caching it does when prompts share a long prefix. Anthropic and some Qwen endpoints need explicit cache markers, and Anthropic charges extra for the first write.",{"q":185,"a":186},"Why is the cheapest model per token not the cheapest per task?","Cache discounts differ by model, some providers bill long prompts at a higher rate, and reasoning models spend output tokens thinking. A model that needs fewer steps or fewer retries can also come out ahead, which this calculator cannot see.",{"ui":188},{"crumb":189,"sources":190,"filters":191,"tiers":196,"table":200,"flags":210,"caps":214},"Models","Sources",{"provider":192,"tier":193,"all":194,"anyTier":195},"Filter by provider","Filter by tier","All providers","Any tier",{"flagship":197,"mid":198,"small":199},"Flagship","Workhorse","Small and fast",{"caption":201,"model":202,"provider":203,"input":204,"cached":205,"output":206,"context":207,"released":208,"perM":209},"API list prices of models used to build agents","Model","Provider","Input","Cached input","Output","Context","Released","US dollars per million tokens, standard tier, short-prompt rate",{"preview":211,"thirdParty":212,"long":213},"preview","third-party price","long prompts cost more",{"tools":215,"structured":216,"computerUse":217,"mcp":218,"webSearch":219,"reasoning":220,"vision":221},"Tool calling","Structured output","Computer use","Remote MCP","Built-in web search","Adjustable reasoning","Image input",{"common":223},{"skip":5,"menu":6,"language":7,"sections":8,"footer":9,"tool":10,"home":11,"breadcrumbs":12,"copy":13,"copied":14,"download":15},1790863348950]