{
  "meta": {
    "name": "AI Token Price dataset",
    "license": "CC BY 4.0",
    "licenseUrl": "https://creativecommons.org/licenses/by/4.0/",
    "attribution": "AI Token Price (https://aitokenprice.com)",
    "verified": "2026-11-18",
    "generated": "2026-11-26T03:37:17.852Z",
    "currency": "USD"
  },
  "tools": [
    {
      "id": "openai-web-search",
      "provider": "openai",
      "kind": "search",
      "name": "Web search",
      "apiName": "web_search",
      "per1k": 10,
      "note": "Search content the model reads is billed at the model's token rates. The older web search preview tool costs $10 per 1,000 calls on reasoning models, or $25 on other models with search content tokens free.",
      "source": "https://developers.openai.com/api/docs/pricing",
      "sourceLabel": "OpenAI pricing"
    },
    {
      "id": "anthropic-web-search",
      "provider": "anthropic",
      "kind": "search",
      "name": "Web search",
      "apiName": "web_search",
      "per1k": 10,
      "note": "Results are billed as input tokens. Each search counts once however many results it returns, and a search that fails isn't billed.",
      "source": "https://platform.claude.com/docs/en/about-claude/pricing",
      "sourceLabel": "Claude API pricing"
    },
    {
      "id": "google-search-grounding",
      "provider": "google",
      "kind": "search",
      "name": "Grounding with Google Search",
      "apiName": "google_search",
      "per1k": 14,
      "free": "5,000 searches a month, shared across Gemini 3 and newer models",
      "freeMonthly": 5000,
      "note": "One request can run several searches, and each is billed. Default cap of 1,500 searches a day per project. On Gemini 2.5 models it's $35 per 1,000 grounded prompts after 1,500 free a day. Retrieved search content isn't billed as tokens.",
      "source": "https://ai.google.dev/gemini-api/docs/pricing",
      "sourceLabel": "Gemini API pricing"
    },
    {
      "id": "xai-web-search",
      "provider": "xai",
      "kind": "search",
      "name": "Web search",
      "apiName": "web_search",
      "per1k": 5,
      "note": "Searches the web and browses pages. Tokens the model reads are billed at its rates.",
      "source": "https://docs.x.ai/developers/pricing",
      "sourceLabel": "xAI pricing"
    },
    {
      "id": "xai-x-search",
      "provider": "xai",
      "kind": "search",
      "name": "X search",
      "apiName": "x_search",
      "per1k": 5,
      "note": "Searches X posts, profiles and threads: $5 per 1,000 posts, or $10 per 1,000 profiles.",
      "source": "https://docs.x.ai/developers/pricing",
      "sourceLabel": "xAI pricing"
    },
    {
      "id": "deepseek-search",
      "provider": "deepseek",
      "kind": "search",
      "name": "Search",
      "apiName": "web tools",
      "per1k": 0.75,
      "note": "Text and image search, billed per use whether you call the Search API directly or the model uses it as a tool. Charged since 1 November 2026.",
      "source": "https://api-docs.deepseek.com/quick_start/pricing",
      "sourceLabel": "DeepSeek pricing"
    },
    {
      "id": "zai-web-search",
      "provider": "zai",
      "kind": "search",
      "name": "Web search",
      "apiName": "web_search",
      "per1k": 10,
      "note": "Listed as $0.01 per use.",
      "source": "https://docs.z.ai/guides/overview/pricing",
      "sourceLabel": "Z.ai pricing"
    },
    {
      "id": "google-maps-grounding",
      "provider": "google",
      "kind": "search",
      "name": "Grounding with Google Maps",
      "apiName": "google_maps",
      "per1k": 14,
      "free": "5,000 a month, shared across Gemini 3 and newer models",
      "freeMonthly": 5000,
      "note": "On Gemini 2.5 models, $25 per 1,000 grounded prompts after the free allowance.",
      "source": "https://ai.google.dev/gemini-api/docs/pricing",
      "sourceLabel": "Gemini API pricing"
    },
    {
      "id": "anthropic-web-fetch",
      "provider": "anthropic",
      "kind": "fetch",
      "name": "Web fetch",
      "apiName": "web_fetch",
      "tokensOnly": true,
      "note": "No fee beyond the tokens of the fetched page: about 2,500 tokens for an average web page and 25,000 for a large documentation page, by Anthropic's estimate. Set max_content_tokens to cap them.",
      "source": "https://platform.claude.com/docs/en/about-claude/pricing",
      "sourceLabel": "Claude API pricing"
    },
    {
      "id": "google-url-context",
      "provider": "google",
      "kind": "fetch",
      "name": "URL context",
      "apiName": "url_context",
      "tokensOnly": true,
      "note": "No fee; the page content is billed as input tokens.",
      "source": "https://ai.google.dev/gemini-api/docs/pricing",
      "sourceLabel": "Gemini API pricing"
    },
    {
      "id": "deepseek-fetch",
      "provider": "deepseek",
      "kind": "fetch",
      "name": "Web fetch",
      "apiName": "web tools",
      "per1k": 0.75,
      "note": "Billed per fetch, plus the tokens the model reads.",
      "source": "https://api-docs.deepseek.com/quick_start/pricing",
      "sourceLabel": "DeepSeek pricing"
    },
    {
      "id": "openai-containers",
      "provider": "openai",
      "kind": "code",
      "name": "Code Interpreter and Hosted Shell",
      "apiName": "code_interpreter, shell",
      "perSession": [
        {
          "size": "1 GB",
          "usd": 0.03
        },
        {
          "size": "4 GB",
          "usd": 0.12
        },
        {
          "size": "16 GB",
          "usd": 0.48
        },
        {
          "size": "64 GB",
          "usd": 1.92
        }
      ],
      "sessionMinutes": 20,
      "note": "Per 20-minute session per container, by memory size. Eligible sessions are billed by the minute, with a 5-minute minimum.",
      "source": "https://developers.openai.com/api/docs/pricing",
      "sourceLabel": "OpenAI pricing"
    },
    {
      "id": "anthropic-code-execution",
      "provider": "anthropic",
      "kind": "code",
      "name": "Code execution",
      "apiName": "code_execution",
      "perHour": 0.05,
      "free": "1,550 container-hours a month per organisation",
      "freeMonthly": 1550,
      "note": "Free when the request also uses the web search or web fetch tool. Otherwise billed by execution time with a 5-minute minimum, including when files preload a container that's never called.",
      "source": "https://platform.claude.com/docs/en/about-claude/pricing",
      "sourceLabel": "Claude API pricing"
    },
    {
      "id": "google-code-execution",
      "provider": "google",
      "kind": "code",
      "name": "Code execution",
      "apiName": "code_execution",
      "tokensOnly": true,
      "note": "No runtime fee. Generated code and results are billed as output tokens when written and input tokens when the model reads them.",
      "source": "https://ai.google.dev/gemini-api/docs/pricing",
      "sourceLabel": "Gemini API pricing"
    },
    {
      "id": "xai-code-execution",
      "provider": "xai",
      "kind": "code",
      "name": "Code execution",
      "apiName": "code_execution",
      "per1k": 5,
      "note": "Runs Python in a sandbox.",
      "source": "https://docs.x.ai/developers/pricing",
      "sourceLabel": "xAI pricing"
    },
    {
      "id": "openai-file-search",
      "provider": "openai",
      "kind": "files",
      "name": "File search",
      "apiName": "file_search",
      "per1k": 2.5,
      "note": "Plus storage at $0.10 per GB a day, with the first 1 GB free. Responses API only.",
      "source": "https://developers.openai.com/api/docs/pricing",
      "sourceLabel": "OpenAI pricing"
    },
    {
      "id": "xai-collections-search",
      "provider": "xai",
      "kind": "files",
      "name": "Collections search",
      "apiName": "collections_search",
      "per1k": 2.5,
      "note": "Searches document collections you've uploaded. Searching files attached to a message (attachment_search) costs $5 per 1,000 calls.",
      "source": "https://docs.x.ai/developers/pricing",
      "sourceLabel": "xAI pricing"
    },
    {
      "id": "google-file-search",
      "provider": "google",
      "kind": "files",
      "name": "File search",
      "apiName": "file_search",
      "tokensOnly": true,
      "note": "No per-search fee. Indexing is billed at embedding rates (Gemini Embedding, $0.15 per 1M tokens), and retrieved passages as input tokens.",
      "source": "https://ai.google.dev/gemini-api/docs/pricing",
      "sourceLabel": "Gemini API pricing"
    },
    {
      "id": "anthropic-managed-agents",
      "provider": "anthropic",
      "kind": "runtime",
      "name": "Claude Managed Agents session",
      "apiName": "managed agents",
      "perHour": 0.08,
      "note": "Per session-hour while the session is running; idle time isn't billed. Replaces code-execution container billing, and the Batch discount doesn't apply.",
      "source": "https://platform.claude.com/docs/en/about-claude/pricing",
      "sourceLabel": "Claude API pricing"
    },
    {
      "id": "google-managed-agents",
      "provider": "google",
      "kind": "runtime",
      "name": "Managed agents and Antigravity agent",
      "apiName": "agents",
      "tokensOnly": true,
      "note": "Environment compute (CPU, memory, sandbox) isn't billed during the preview; model tokens and tool fees are.",
      "source": "https://ai.google.dev/gemini-api/docs/pricing",
      "sourceLabel": "Gemini API pricing"
    }
  ],
  "overhead": {
    "provider": "anthropic",
    "note": "Input tokens Anthropic adds to a request when tools are present, on current Claude models (Opus 5.5, Sonnet 5.5, Haiku 5.5), before your own tool definitions.",
    "rows": [
      {
        "what": "Tool use system prompt (tool_choice auto or none)",
        "tokens": 286
      },
      {
        "what": "Bash tool definition",
        "tokens": 325
      },
      {
        "what": "Text editor tool definition",
        "tokens": 974
      },
      {
        "what": "Computer use toolset",
        "tokens": 4500,
        "about": true
      },
      {
        "what": "Browser use toolset",
        "tokens": 6600,
        "about": true
      }
    ],
    "source": "https://platform.claude.com/docs/en/about-claude/pricing",
    "sourceLabel": "Claude API pricing"
  }
}