AgentsToolsHub
Calculate the API cost of an LLM call: input and output tokens × published per-million prices for 15 current models (OpenAI, Anthropic, Google, DeepSeek, xAI, Meta). Batch multiplier included for monthly estimates. Use this when an agent needs to tokens × current per-model prices = USD.
Offering
- Provider
- agentstoolshub.com
- Method
- GET
- Offering type
- Api Endpoint
- Transport type
- http
- Category
- General Utilities
- Delivery
- Not provided
- Pricing model
- Not provided
- x402 version
- 2
Endpoint context
- URL
https://agentstoolshub.com/api/v1/dev/llm-cost-calculator- MIME type
- Not provided
- First seen
- 2026-10-16T01:50:32.458Z
- Last seen
- Tags
- Dev, crypto-dev
Payment pricing
x402 payment terms are the authoritative price for calling this endpoint.
- Payment option 1
- 0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
{
"scheme": "exact",
"network": "eip155:8453",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"payTo": "0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6"
}
]Observed health
- Status
- Degraded
- Latest latency
- 37 ms
- Average latency
- 292 ms
- HTTP status
- 503
- Last checked
- Reachability
- 100% over 11 checks
Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.
Input schema
{
"method": "GET",
"queryParams": {
"calls": 1,
"inputTokens": 12000,
"model": "gpt-4o",
"outputTokens": 1500
},
"type": "http"
}Output schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"calls": {
"description": "Number of calls",
"type": "number"
},
"inputTokens": {
"description": "Input tokens",
"type": "number"
},
"model": {
"description": "Model",
"enum": [
"gpt-5",
"gpt-5-mini",
"gpt-4.1",
"gpt-4.1-mini",
"gpt-4o",
"o4-mini",
"claude-opus-4",
"claude-sonnet-4",
"claude-haiku-4",
"gemini-2.5-pro",
"gemini-2.5-flash",
"gemini-2.0-flash",
"deepseek-v3",
"grok-3",
"llama-4-maverick"
],
"type": "string"
},
"outputTokens": {
"description": "Output tokens",
"type": "number"
}
},
"required": [
"inputTokens"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}