estimate_llm_cost
ActiveTool of IA-QA — 130+ QA & Dev Tools for AI Agents
Estimate the API cost in USD for a given model and token counts. Supports all major 2024–2026 models: GPT-4o, GPT-4.1, o3, o4-mini, Claude Opus 4, Claude Sonnet 4/4.5, Gemini 2.5 Pro/Flash, DeepSeek V3/R1, Grok 3, and legacy models.
Parameters schema
{
"type": "object",
"required": [
"model",
"input_tokens"
],
"properties": {
"model": {
"type": "string",
"description": "Model name, e.g. \"gpt-4o\", \"claude-3.5-sonnet\", \"deepseek-v3\""
},
"input_tokens": {
"type": "number",
"description": "Number of input/prompt tokens"
},
"output_tokens": {
"type": "number",
"description": "Number of output/completion tokens (default: 0)"
}
}
}Parent server
IA-QA — 130+ QA & Dev Tools for AI Agents
https://github.com/jcjamet/ia-qa
1/7 registries