← Agent Data Hub · Search endpoints · /llms.txt

LLM Token Count & Multi-Model API Cost Comparison 360° Briefing

Estimates BPE token count for any prompt or document and compares API execution cost across Gemini Pro/Flash, Claude Opus/Sonnet, GPT-4o, and DeepSeek.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/dev-llm-context-cost-briefing?text_length_chars=40000&expected_output_tokens=1000&compact=1

Full metadata: without compact=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"dev-llm-context-cost-briefing"}

Parameters

text_length_charsCharacter count of prompt/context (default: 40000)
expected_output_tokensExpected output tokens (default: 1000)

Example response (live, compact)

{
  "apiId": "dev-llm-context-cost-briefing",
  "data_freshness": "live",
  "data": {
    "input_characters": 40000,
    "estimated_input_tokens": 10527,
    "expected_output_tokens": 1000,
    "cost_per_call_usd": {
      "gemini_flash": 0.00145,
      "gemini_pro": 0.01816,
      "claude_sonnet": 0.04658,
      "claude_opus": 0.2329,
      "gpt_4o": 0.03632,
      "deepseek_r1": 0.00798
    }
  },
  "source": "100% Platform AI FinOps Pricing Engine",
  "license": "100% Platform Owned Compute"
}

Source & license

Source100% Platform AI FinOps Pricing Engine
License100% Platform Owned Compute
Source URLhttps://localhost:3000/api/v1/call/dev-llm-context-cost-briefing
Termshttps://localhost:3000/llms.txt
CategoryDeveloper, Tech & Web › 1. AI Dev & Security 360° Briefings