AI Cost Query
AI prices with their sources, as JSON
SubscriptionAICodeAPI20 impressions2 comments
Maker links to DevHunt
Comments
>log in to comment
Sejal Asnani· 2h agoLove that AI Cost Query brings current model prices into one place. Comparing a couple of models can easily turn into five open tabs 😅 Congrats on the launch, Andre!

Finding up‑to‑date AI model pricing is a hassle because prices are scattered across many sites. AI Cost Query aggregates current prices from 22 providers into a single JSON API, showing the source page for each price and when it was checked. It works without an API key in beta. Let me know what you think!
More AI tools →83 free dev tools →
AI Cost Query provides a free JSON API delivering current AI model, plan, service and tool pricing with source citations.
- for
- Developers building cost dashboards, model routers, or budgeting tools for AI services.
- pricing
- free
Key features
- Unified pricing API — Fetch up-to-date prices for models, plans, services and tools from 22 providers in a single JSON endpoint.
- Source attribution — Each price includes the URL and timestamp of the page it was read from.
- No-key access — Start querying without an API key, receiving 20 daily price requests.
- Free API key boost — Obtain a free key to double daily limits and increase per-minute request quota.
- Health check endpoint — GET /v1/health returns service status without counting against limits.
- Open data license — Data is contributed to the public domain under CC0, with upstream rights retained.
Use cases
- Build a cost dashboard that monitors AI model expenses across providers.
- Implement a model router that selects the cheapest API based on real-time pricing.
- Validate budget forecasts by querying plan prices for OpenAI or Google services.
AI Cost Query vs alternatives
OpenRouter | ||
|---|---|---|
| Best for | API-driven AI pricing data | Unified model access |
| Pricing | Free | Subscription |
| DevHunt upvotes | 2 | 0 |
| Launched | Dec 2026 | — |
- AI Cost Query vs OpenRouter: Provides a single endpoint for many AI models but without source-level price citations.
AI Cost Query FAQ
Do I need to sign up to use the API?+
No, you can make requests without an account; a free API key is optional for higher limits.
What are the daily request limits?+
Without a key you get 20 price requests per UTC day; a free key raises this to 40.
Is there any paid plan?+
There is currently no paid plan; the service is offered as a free beta.
How can I verify the accuracy of a price?+
Each price lists its source URL and check timestamp; you should confirm with the provider before relying on it.
What format does the API return?+
Responses are JSON objects containing provider, model, currency, unit, rates and source details.
Can I check the service health?+
Yes, GET /v1/health returns a JSON status without consuming your quota.
Summarized by DevHunt from aicostquery.com · Nov 29, 2026. Details may change; check the official site.
OpenRouter






