In brief: The lowest published rate is usually not the lowest bill. Real cost depends on your input-to-output token ratio, whether caching applies, which models are currently available, and which costs sit outside per-token pricing. Compare on total cost for your own traffic mix.
Input and output are priced differently
Most models charge more for output tokens than input tokens. If your workload is long input and short output — summarization, classification, extraction — input pricing dominates. If it is short input and long output — generation, writing — output pricing dominates.
So before comparing providers at all, estimate your own input-to-output ratio.
A worked example—not a provider quote
Suppose your workload uses 10 million input tokens and 2 million output tokens. With hypothetical rates of $0.20 per million input tokens and $0.80 per million output tokens, the token subtotal is (10 × $0.20) + (2 × $0.80) = $3.60. These numbers illustrate the method; they are not FlowBarAI prices. Replace them with the current rates for the model and provider you are evaluating.
Calculate cached-token usage separately only when a provider explicitly publishes a distinct applicable rate; a cache hit alone does not guarantee a customer discount. Include other billed usage, taxes or fees where relevant, and compare the same workload and output requirements across providers.
Cache pricing changes the math
If the same prefix is sent repeatedly — a long system prompt, a fixed context block — providers that support prompt caching can reduce cost substantially. Cache policies differ between providers, so check each one's documentation rather than assuming parity.
Model availability, not just unit price
Providers may have different model availability, subscriptions or spending requirements. Check the conditions attached to a quoted rate before comparing total cost.
No subscription or membership upgrade is required. FlowBarAI users can use currently available models with sufficient balance. Model availability, account safety checks and rate limits still apply. Check the current model catalog before integrating a model.
What free actually means
People searching for a free LLM API usually want to prove an integration works before committing. The questions that matter are: is the free allowance one-time or recurring, does it require a card, and are the free models available long term or only during a trial?
A cost comparison method you can reuse
Write down your real input and output token volumes. Compute input rate times input volume plus output rate times output volume. Confirm model availability and any provider-specific access conditions. Check whether caching or batch processing applies. Only then compare totals across providers, including routed marketplaces — see our OpenRouter alternatives comparison for that category.
Frequently asked questions
What is the cheapest LLM API?
It depends on your input-to-output ratio, whether caching applies, and which models are currently available. Compare on total cost for your actual traffic mix rather than on a single headline rate.
Are free LLM APIs really free?
Free allowances differ in form: one-time trial credit, recurring quota, or permanently free models. Confirm which one applies, whether a card is required, and whether the free models are available long term.
Does FlowBarAI require a subscription?
No. FlowBarAI is pay-as-you-go based on actual usage. No subscription or membership upgrade is required. FlowBarAI users can use currently available models with sufficient balance. Model availability, account safety checks and rate limits still apply.
How is FlowBarAI billed?
By actual token usage. Current per-model rates are published on the pricing page; API usage is billed according to the selected model and actual usage. No subscription or membership upgrade is required. FlowBarAI users can use currently available models with sufficient balance. Model availability, account safety checks and rate limits still apply. Failed requests are not charged.
See the current rates
Pay-as-you-go billing and published rates to help estimate costs before sending requests.