About CompareAIAPI

Our Mission

CompareAIAPI (https://compareaiapi.com) is an independent, free developer tool built to make AI API pricing transparent and easy to forecast.

How We Calculate Costs

We track official published pricing per 1 million input and output tokens across 50 models from 11 major makers (OpenAI, Anthropic, Google, DeepSeek, Meta, Alibaba Qwen, Mistral, xAI, Amazon Nova, Cohere, Perplexity) and regulated hosting providers (OpenRouter, Groq, Cerebras, DeepInfra, Together AI, Fireworks AI, AWS Bedrock, Alibaba Cloud Model Studio). Our calculators incorporate prompt caching hit rates and Batch API 50% discounts where officially supported.

Editorial Independence

CompareAIAPI is not affiliated with any AI model vendor. Some outbound provider links may include referral parameters that help keep this tool free—rankings and cost calculations are strictly math-driven and never altered for sponsorship.