Status: [LIVE] Endpoints found: https://pricetoken.ai/api/v1 https://pricetoken.ai/api/v1/image/gpt https://pricetoken.ai/api/v1/text/compare?models=claude-sonnet-4-6,gpt Source: https://github.com/affromero/pricetoken
# PriceToken **The missing API for AI pricing.** Real-time pricing data across text, image, video, avatar, TTS, and STT — scraped from providers, served via REST API, visualized on a website, and distributed as npm and PyPI packages. [![CI](https://github.com/affromero/pricetoken/actions/workflows/ci.yml/badge.svg)](https://github.com/affromero/pricetoken/actions/workflows/ci.yml) [![npm](https://img.shields.io/npm/v/pricetoken)](https://www.npmjs.com/package/pricetoken) [![PyPI](https://img.shields.io/pypi/v/pricetoken)](https://pypi.org/project/pricetoken/) [![npm downloads](https://img.shields.io/npm/dt/pricetoken)](https://www.npmjs.com/package/pricetoken) [![PyPI downloads](https://img.shields.io/pypi/dm/pricetoken)](https://pypi.org/project/pricetoken/) [![npm package size](https://img.shields.io/npm/unpacked-size/pricetoken)](https://www.npmjs.com/package/pricetoken) [![TypeScript](https://img.shields.io/badge/TypeScript-strict-blue)](https://www.typescriptlang.org/) [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) [![Docker](https://img.shields.io/badge/Docker-deployed-2496ED?logo=docker&logoColor=white)](https://www.docker.com) [![Socket](https://img.shields.io/badge/Socket-protected-blueviolet?logo=socket.dev)](https://socket.dev) [![min-release-age](https://img.shields.io/badge/min--release--age-7%20days-brightgreen)](https://docs.npmjs.com/cli/v10/using-npm/config#min-release-age) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/affromero/pricetoken/pulls) [**pricetoken.ai**](https://pricetoken.ai) — Live dashboard, cost calculator, and API docs
![PriceToken — Real-time AI pricing dashboard](assets/hero.png) ## Quick Start ### JavaScript / TypeScript ```bash npm install pricetoken ``` ```typescript import { PriceTokenClient, calculateModelCost } from 'pricetoken'; // Fetch live pricing const client = new Pri