API Pricing for agents
Let Claude, ChatGPT, Cursor or your own code read AI API prices across six platforms. Read-only, free, no sign-in.
MCP
https://apipricing.codertony.com/mcp01
One prompt for any agent
Paste this into Claude Code, Codex, Cursor or any coding agent. It reads the setup guide, adds the MCP server for the client it runs in, checks it with one call and tells you what is left to do.
Read https://apipricing.codertony.com/setup.md and add the API Pricing MCP server02
MCP server
Add one URL to Claude Code, Codex, Cursor or any MCP client and ask in plain words: “which platform is cheapest for image-to-video?”. Streamable HTTP, no sign-in. Each client writes the config a little differently; use the line for yours.
- Tools
search_pricesSearch every current price by words in the model, platform or variant.get_model_pricesEvery price of one model on one platform, with the same family on other platforms.cheapestThe cheapest exact prices for a task (video/image-to-video) or a family (video/kling).compare_familyA model family across platforms: cheapest per platform and the prices behind it.
Claude Code
claude mcp add --transport http --scope user apipricing https://apipricing.codertony.com/mcpCodex
codex mcp add apipricing --url https://apipricing.codertony.com/mcp{ "mcpServers": { "apipricing": { "url": "https://apipricing.codertony.com/mcp" } }}
VS Code
Install in VS Codecode --add-mcp '{"name":"apipricing","type":"http","url":"https://apipricing.codertony.com/mcp"}'Gemini CLI
gemini mcp add --transport http apipricing https://apipricing.codertony.com/mcp -s userClaude.ai / Claude Desktop
Connectors → Add custom connector. Paste the MCP URL and choose no sign-in.
ChatGPT
Add a custom MCP server with the MCP URL and no authentication. Whether your plan allows it is up to OpenAI.
03
Copy for agent
Every model, family, task and category page has a “Copy for agent” button. It copies the page as compact Markdown: the API model id, every price by variant, the same model on other platforms, when it was read and where. Paste it into any chat. The menu also opens the page in ChatGPT or Claude.
# Image to video pricing, every platform > Image to video: … endpoints on 6 platforms. | Platform | Model | Variant | USD | | --- | --- | --- | --- | | fal | `fal-ai/…` | Image to video · 480p | $0.005/s |
04
Markdown for every page
Add .md to any page URL, or send Accept: text/markdown. No navigation, no scripts, about a tenth of the tokens of the HTML. Chinese versions are under /zh.
curl https://apipricing.codertony.com/video/image-to-video.mdcurl https://apipricing.codertony.com/prices/replicate/google/veo-3.1.mdcurl -H "Accept: text/markdown" https://apipricing.codertony.com/image/flux
05
llms.txt
An index of the site for language models: what it covers, and a Markdown link for every category, task and model family with its current from-price.
curl https://apipricing.codertony.com/llms.txt06
JSON API
Read-only, no key, CORS open, cached for ten minutes. Prices are USD per unit; each row has the API model id, the variant, the platform’s own wording and a link to its page.
# Searchcurl "https://apipricing.codertony.com/api/v1/search?q=kling%202.6&category=video&limit=10" # Cheapest for a task or a model familycurl "https://apipricing.codertony.com/api/v1/cheapest?task=video/image-to-video&limit=10"curl "https://apipricing.codertony.com/api/v1/cheapest?family=image/nano-banana" # One model on one platformcurl "https://apipricing.codertony.com/api/v1/models/replicate/google/veo-3.1"