Best Budget LLMs in 2026: API Prices and Cost per Successful Task
Compare GLM, Qwen, GPT, DeepSeek, and Gemini API costs on three workloads. Separate promotions, retries, and review from the headline token price.

The cheapest model on a price table may be sufficient for ticket labels and expensive for everything else—especially if every third response needs repair. A useful budget shortlist starts with work that can be checked, then measures the entire cost of completing it.
For inexpensive text workloads, we would compare GLM-5.3-Flash and Qwen3.8-Flash against GPT-5.6 Luna. DeepSeek V4 Flash is another candidate, particularly for work that can use off-peak hours. Gemini 3.8 Flash is a higher-priced comparison when the cheaper candidates do not meet the requirements. This is a selected hosted-API shortlist, not a claim to have found the world's cheapest endpoint or a measured quality winner.
Rates were checked on September 5, 2026. The workload examples are hypothetical. They exclude consumer subscriptions, free unlimited-use claims, self-hosting hardware, and multimodal generation.
Keep the list price beside the promotion
All rates below are USD per million tokens, standard processing, uncached input. Each provider bills its own token counts; equal counts are a budgeting device, not proof of equal work.
| Model and endpoint | Input / 1M | Output / 1M | Qualification |
|---|---|---|---|
| GLM-5.3-Flash · Z.AI | $0.075 promotional; $0.15 list | $0.25 promotional; $0.50 list | Current 50% promotion ends September 9, 24:00 UTC+8 |
| Qwen3.8-Flash · Alibaba Cloud | $0.15 | $0.47 | Singapore, International; requests up to 1M input tokens |
| GPT-5.6 Luna · OpenAI | $0.20 | $1.20 | Short-context rate |
| DeepSeek V4 Flash · DeepSeek | $0.44 peak; $0.22 off-peak | $1.32 peak; $0.66 off-peak | Time-dependent billing |
| Gemini 3.8 Flash · Gemini API | $0.75 | $3.75 | Introductory rate through December 31, 2026 |
For recurring work, use GLM's list price as well as the temporary offer. Its promotion ends at the transition from September 9 to September 10 in UTC+8. Do not build a year's budget from four remaining promotional days.
DeepSeek's peak windows are Monday–Friday, 01:00–04:00 and 06:00–10:00 UTC; other hours are off-peak. Gemini lists $1.50 input and $7.50 output starting January 1, 2027. Luna requests above 272K input tokens cost more for the whole request. Qwen's region belongs in the quote; a rate from another deployment region is a separate comparison.
No row includes tool calls, tax, failed attempts, or human checking. A model available through a router may have a different rate or configuration, so preserve the actual endpoint in your records.
Three workloads change what you pay for
Consider these invented monthly volumes, spread across requests below the relevant length limits:
- Ticket classification: 5M input and 0.1M billed output tokens. Most work is reading; the answer is a short label.
- Report summaries: 10M input and 0.5M billed output tokens. The result is shorter than the source but must preserve important conditions.
- Draft generation: 2M input and 2M billed output tokens. Producing text accounts for more of the bill.
Using GLM's list price and DeepSeek's peak price for the baseline gives:
| Candidate | Ticket labels | Summaries | Drafts |
|---|---|---|---|
| GLM-5.3-Flash, list | $0.80 | $1.75 | $1.30 |
| Qwen3.8-Flash, Singapore | $0.797 | $1.735 | $1.24 |
| GPT-5.6 Luna | $1.12 | $2.60 | $2.80 |
| DeepSeek V4 Flash, peak | $2.332 | $5.06 | $3.52 |
| Gemini 3.8 Flash, introductory | $4.125 | $9.375 | $9 |
These are calculations from the linked rates, not scores. GLM's current promotion halves its row; qualifying DeepSeek off-peak usage halves its row. After Gemini's announced introductory period, its row doubles. The cheapest listed candidate remains close to another in some workloads, so tiny price differences should not decide between outputs that require different amounts of correction.
Billed output includes any applicable reasoning tokens, not only the words displayed to a user. A one-word classification can therefore cost more than its visible answer suggests. Measure usage before extrapolating.
A cheap default needs a clear failure rule
For ticket classification, define the labels and what to do when two labels fit. Compare against a human-checked sample and inspect rare categories separately. A model that labels nearly everything “general” can look accurate on an imbalanced batch while failing the cases that matter.
For summaries, use the fact-preservation checks rather than a preference for shorter prose. For records, apply the extraction checks: correct format, correct values, and honest handling of missing information. These are more useful upgrade triggers than “the answer seems weak.”
Choose the second candidate before starting a long run. If the baseline produces a response that fails a deterministic check, retry with focused feedback or send the unresolved record to the second model. If correctness cannot be checked automatically, sample and review rather than assuming confidence language identifies all failures.
A routing system also has a cost. It may send valid work to the expensive model or miss an incorrect answer. Measure those cases. Do not claim a cheap-plus-premium workflow preserves premium quality unless the complete system has been evaluated.
When a more expensive call costs less
Suppose a fictional model A costs $0.001 per complete attempt and has a 50% acceptance rate. Model B costs $0.0015 with a 90% acceptance rate. Under those assumed stable rates, expected generation cost per accepted task is $0.002 for A and about $0.00167 for B. This example is not an observed performance comparison of the models above.
A more complete batch measure is:
Cost per accepted task =
(API usage including retries + tools + review cost)
/ tasks that pass the acceptance check
Include abandoned tasks in the spending numerator. If nothing passes, the workflow has not established a usable cost per completed task. Do not hide failure by counting API responses as successful business outcomes.
Caching and batch processing may reduce suitable bills, but use the provider's actual rules. A cache-read rate is not the cost of creating or retaining the cache, and a delayed batch is not equivalent to a synchronous response. Start with uncached standard rates when the production traffic pattern is still unknown.
Use AILesson's pricing calculator to compare the input/output mix, matching the provider and processing mode. Then replace the hypothetical volumes with one small representative run. A ten-item pilot can reveal obvious failures and unexpected token use; it cannot establish a precise production success rate. Expand the sample before setting a default for thousands of tasks.
For a new workflow, start with Qwen3.8-Flash or GLM-5.3-Flash plus Luna as a comparison. Keep whichever passes your requirements with the least complete cost. Pay more when the evidence shows fewer unresolved tasks or less review—not simply because the next model is marketed as more capable.
References
- Z.AI pricing: GLM list prices and the dated promotion.
- Alibaba Cloud model pricing: Qwen region and request tiers.
- GPT-5.6 Luna: base rates and long-context conditions.
- DeepSeek pricing: peak and off-peak rates.
- Gemini 3.8 Flash: introductory and announced later rates.







