Price
Price per million tokens, in and out
LLM APIs are priced per million tokens, with one price for the tokens you send and a higher one for the tokens the model writes.
LLM API comparison
Answer in brief
Price
LLM APIs are priced per million tokens, with one price for the tokens you send and a higher one for the tokens the model writes.
Context
The context window is how much a model can read in one request, and the output limit is how much it may write, and both are set by the host as well as the model.
Hosts
An open model is served by its maker and by independent hosts, and each sets its own price, window and limits for the same weights.
Compatibility
An OpenAI-compatible API accepts the same requests as the most widely used client format, so switching to it means changing a base URL, a key and a model name.
Precision
No: hosts can run the same open model at different precision, with different windows and output limits, so answers and prices both vary under one model name.
Limits
Rate limits and speed decide whether an API can carry your traffic, and neither is on most price pages.
Accounts
One API that serves many models costs you one key, one bill and one client, while going host by host can shave the price of each model at the cost of managing them all.
Practical
Ten minutes is enough to compare two LLM APIs on the things that change your bill and your code: price in and out, window, output limit, precision and client.
Models
DeepSeek V4.1 Flash is an open model served by many hosts, so the API you pick for it sets its price, its output limit and its precision.
Models
GLM 5.3 is an open text model with a long context window, listed by many hosts at prices that spread widely.
Checklists are original editorial guidance. Published prices do not establish availability.
Compare LLM APIs. “Topics.” Content reviewed 12 Nov 2026. https://comparellmapis.com/topics