Codegeex4 API pricing
Ollama · chat model · 33K context · ranked #17 of 1557 by input price
Reviewed by Mohammad Ghonchegi · dataset generated 2026-10-28 12:57 UTC · every figure below is recomputed from it on each refresh · how the numbers are produced
What Codegeex4 costs in practice
Codegeex4 from Ollama is billed at free per million input tokens and free per million output tokens. No separate prompt-cache rate is published for it, so every input token is billed at the full rate. It ranks #17 of 1557 priced chat listings by input price, which makes it Infinity× cheaper than the median priced model here ($0.6).
Three concrete workloads on this model's rates: a 20,000 requests/day support bot sending 2,500 tokens in and 400 out costs about free a month; summarising 5,000 documents a day at 12,000 tokens in and a 600-token summary costs about free; and 1,000 agent sessions a day at 30,000 input and 5,000 output tokens costs about free.
How Ollama bills: Ollama runs models on your own hardware; any figure shown alongside it is a reference rate for cost parity, not an API bill. The rate above is the one this index normalises to (USD per million tokens); the authoritative figure is always the provider's own pricing page, linked below.
The figure above excludes batch and committed-use discounts, regional rates, free tiers and enterprise agreements — providers publish those separately, and they can move the real bill by tens of percent. Context is listed as 33K tokens with at most 8K tokens of output per call; some providers bill requests above a long-context threshold at a higher tier, which this page does not model. Token counting also differs between providers' tokenizers, so two providers quoting the same rate can bill a different total for the same text.
Monthly cost examples
Assuming 1,200 prompt + 400 completion tokens per request unless noted, billed 30 days a month and without cache hits.
| Workload | Cost / month | Cost / day |
|---|---|---|
| 1,000 requests/day | free | free |
| 10,000 requests/day | free | free |
| 100,000 requests/day | free | free |
| 1M summaries/month | free | free |
Model a different profile in the cost calculator.
Capabilities
Cheaper alternatives
Ranked by blended cost (3× input + 1× output) — cheaper, but check context and capabilities before switching.
| # | Model | Provider | Input $/1M | Output $/1M | Cached $/1M | Context |
|---|
Data provenance
This page is assembled from the sources below. Where two sources disagree, both are shown.
Only one source publishes this model; no independent cross-check available yet.
Compilation is automated and re-run on every refresh (2026-10-28 12:57 UTC); the page structure and its explanatory copy are written and reviewed by the editor — see how this is made. For turning this rate into a budget rather than a rate, see the cost-planning guide.
More from Ollama
Frequently asked
› How much does Codegeex4 cost per 1,000 tokens?
About free for input and free for output tokens, based on the per-million rates on this page.
› Is Codegeex4 cheaper than other models?
By input price it ranks #17 of 1557 priced chat models in this index, putting it in the cheaper half of the market.
› Where can I run Codegeex4?
This index currently sees one listing for Codegeex4 (Ollama). If you know of another platform serving it, tell us and we will add it.
› How often is Codegeex4's price checked?
The dataset was last refreshed 2026-10-28 12:57 UTC. Providers can change pricing at any time — verify with Ollama before committing to a budget.
This is one of several platform listings of Codegeex4. The canonical, most complete version of this page is Ollama's listing.