[{"data":1,"prerenderedAt":198},["ShallowReactive",2],{"copy:en:site:":3,"copy:en:models:index,ui":122,"copy:en:site:common":196},{"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.",{"index":123,"ui":162},{"seo":124,"crumb":26,"eyebrow":127,"title":128,"lead":129,"cheapestLabel":130,"perCodingTask":131,"tableTitle":132,"toCalculator":133,"readTitle":134,"read":135,"faqTitle":148,"faq":149},{"title":125,"description":126},"LLM API pricing for AI agents: 28 models compared","Input, cached and output prices per million tokens for 28 models from OpenAI, Anthropic, Google, xAI, DeepSeek, Qwen and more, with context sizes and agent features.","Build · prices checked 1 October 2026","Models and API prices for agent builders","An agent pays for every step it takes, and most of what it pays for is input it has already sent. This table puts list prices, cache discounts and context limits side by side so you can pick a model by what a whole task costs, not by the headline rate.","cheapest per task","for one 30-step coding task, our reference workload","Every model, one table","Price your own workload","How to read these prices",[136,139,142,145],{"title":137,"body":138},"Cached input is the number that matters","In an agent loop the system prompt, tool definitions and earlier turns are resent on every call. Providers charge a fraction of the normal input rate when that prefix is served from cache, often a tenth or less, so a model with a cheap cache can beat one with a cheaper headline price.",{"title":140,"body":141},"Long prompts can reprice the whole call","OpenAI, Google's Pro preview, xAI and Qwen charge a higher rate once a single prompt passes a threshold such as 200K or 272K tokens, and the higher rate applies to every token in that request. Anthropic currently bills its full million-token window at the standard rate.",{"title":143,"body":144},"Reasoning tokens are billed as output","Models that think before answering charge their hidden reasoning at the output rate. Lower the effort setting for routine steps and keep the high settings for planning or hard debugging.",{"title":146,"body":147},"Batch and off-peak discounts rarely fit agents","Batch endpoints halve the price but return results within hours, which suits evaluations and backfills rather than live agents. DeepSeek's off-peak rate is the exception that can work for scheduled jobs.","Questions builders ask",[150,153,156,159],{"q":151,"a":152},"Which model is cheapest for an AI agent?","On our 30-step coding workload the cheapest models are small ones: GPT-6 Luna, Qwen3.7-Flash and GLM-5.3-Flash, each around 10 to 20 cents a task. Cheap per step does not mean cheap per task if the model needs more steps or retries, so test two or three candidates on your own traces.",{"q":154,"a":155},"Why does my agent cost far more than the price per token suggests?","Because every step resends the growing conversation. A 30-step task with a 25K-token starting prompt sends well over three million input tokens in total. Prompt caching, shorter tool outputs and summarising old turns cut that more than switching models.",{"q":157,"a":158},"Are these prices final?","They are list prices in US dollars from each provider's pricing page on 1 October 2026, before taxes, regional surcharges or negotiated discounts. Prices marked third-party could not be read from the vendor's own page.",{"q":160,"a":161},"What is the difference between cached input and cache writes?","A cache read is the discounted rate for tokens already in the cache. Some providers, Anthropic among them, also charge a premium the first time a prefix is written to the cache. The table shows read prices; write prices are noted on each model page where they apply.",{"crumb":163,"sources":164,"filters":165,"tiers":170,"table":174,"flags":184,"caps":188},"Models","Sources",{"provider":166,"tier":167,"all":168,"anyTier":169},"Filter by provider","Filter by tier","All providers","Any tier",{"flagship":171,"mid":172,"small":173},"Flagship","Workhorse","Small and fast",{"caption":175,"model":176,"provider":177,"input":178,"cached":179,"output":180,"context":181,"released":182,"perM":183},"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":185,"thirdParty":186,"long":187},"preview","third-party price","long prompts cost more",{"tools":189,"structured":190,"computerUse":191,"mcp":192,"webSearch":193,"reasoning":194,"vision":195},"Tool calling","Structured output","Computer use","Remote MCP","Built-in web search","Adjustable reasoning","Image input",{"common":197},{"skip":5,"menu":6,"language":7,"sections":8,"footer":9,"tool":10,"home":11,"breadcrumbs":12,"copy":13,"copied":14,"download":15},1790863348946]