Llm Pricing
by Agent Extraction API in AI models & inference
AI model list prices (USD per 1M input/output/cached tokens, context window, vision/tools/reasoning flags) for ~3,000 models across OpenAI, Anthropic, Google, Mistral, Groq, Bedrock, Azure, Together, Fireworks and more, plus verified free tiers/rate limits of AI APIs. Filters: q, provider, free=yes, max_input_per_m, min_context, vision=yes, tools=yes, sort=input|output|context, limit<=100.
https://freetier-agent-api.pages.dev/api/llm-pricing- Price
- $0.005
- per call in USDC
- Uptime
- 98.0%
- last 30 days
- Response time
- 44 ms
- 188 ms slowest 5%
- Last check
- Passed
- 5 h ago, next any minute now
Reliability
Status and outage history · Atom feed · Watch with other listings
How to call it
GET https://freetier-agent-api.pages.dev/api/llm-pricing
Each call costs $0.005 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
GET https://freetier-agent-api.pages.dev/api/llm-pricing?free=yes&limit=10&q=llamaParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
free | string | No | One of: yes. |
limit | string | No | |
max_input_per_m | string | No | |
min_context | string | No | |
provider | string | No | |
q | string | No | |
sort | string | No | One of: input, output, context. |
tools | string | No | One of: yes. |
vision | string | No | One of: yes. |
Example response
The provider's example. We can't check it without paying.
Example response, 65 lines
{
"count": 42,
"free_tiers": [
{
"checked_at": "2026-10-16",
"free_tier": "Free tier with rate limits",
"provider_model": "Cerebras - Llama / Qwen models",
"source_url": "https://inference-docs.cerebras.ai/support/rate-limits"
},
{
"checked_at": "2026-10-16",
"free_tier": "10,000 Neurons/day free",
"provider_model": "Cloudflare Workers AI - LLMs (Llama, Mistral, etc.)",
"source_url": "https://developers.cloudflare.com/workers-ai/platform/pricing/"
}
],
"models": [
{
"cached_input_per_m_usd": null,
"context_length": 8192,
"free": true,
"function_calling": false,
"id": "cloudflare/@cf/meta-llama/llama-2-7b-chat-hf-lora",
"input_per_m_usd": 0,
"max_input_tokens": 8192,
"max_output_tokens": 8192,
"output_per_m_usd": 0,
"provider": "cloudflare",
"reasoning": false,
"rpm": 300,
"tpm": null,
"vision": false
},
{
"cached_input_per_m_usd": null,
"context_length": 32768,
"free": true,
"function_calling": false,
"id": "ollama/codegeex4",
"input_per_m_usd": 0,
"max_input_tokens": 32768,
"max_output_tokens": 8192,
"output_per_m_usd": 0,
"provider": "ollama",
"reasoning": false,
"rpm": null,
"tpm": null,
"vision": false
}
],
"returned": 10,
"sources": [
{
"license": "MIT",
"name": "BerriAI/litellm model_prices_and_context_window.json (provider list prices)",
"note": "USD list prices per provider/model id; check the provider page before committing spend.",
"snapshot": "2026-10-17",
"url": "https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json"
},
{
"license": "CC BY 4.0",
"name": "Provider official pricing / rate-limit pages (URL per row), checked 2026-10-16 by FreeTier Kits"
}
]
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.005.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i 'https://freetier-agent-api.pages.dev/api/llm-pricing?free=yes&limit=10&q=llama'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - 'https://freetier-agent-api.pages.dev/api/llm-pricing?free=yes&limit=10&q=llama' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffreetier-agent-api.pages.dev%2Fapi%2Fllm-pricing
const res = await pay("https://freetier-agent-api.pages.dev/api/llm-pricing?free=yes&limit=10&q=llama");
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.get("https://freetier-agent-api.pages.dev/api/llm-pricing?free=yes&limit=10&q=llama")
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 5 h ago | Passed | 402 | 41 ms | $0.005 |
| 23 h ago | Timed out | - | - | - |
| 3 days ago | Timed out | - | - | - |
| 4 days ago | Passed | 402 | 72 ms | $0.005 |
| 4 days ago | Passed | 402 | 308 ms | $0.005 |
Show 10 older checks
| 5 days ago | Passed | 402 | 69 ms | $0.005 |
| 5 days ago | Passed | 402 | 41 ms | $0.005 |
| 6 days ago | Passed | 402 | 29 ms | $0.005 |
| 6 days ago | Passed | 402 | 36 ms | $0.005 |
| 6 days ago | Passed | 402 | 24 ms | $0.005 |
| 7 days ago | Passed | 402 | 55 ms | $0.005 |
| 7 days ago | Passed | 402 | 33 ms | $0.005 |
| 7 days ago | Passed | 402 | 54 ms | $0.005 |
| 7 days ago | Passed | 402 | 69 ms | $0.005 |
| 8 days ago | Passed | 402 | 35 ms | $0.005 |