Budgeting for a cheap model that may not stay cheap

Low token prices are a big part of why so many side projects, coding tools and startups picked DeepSeek in the first place. So when news circulates that the company plans a significant price increase, the reaction is predictable: some people are alarmed that their margins will vanish, some argue that the old prices were never sustainable given hardware and memory costs, and some feel that a provider which grew on cheap access is now changing the deal.
Whatever you think of the business side, the engineering question is the same: how exposed is your product to a price change, and what can you do now so that it becomes a spreadsheet update rather than a crisis? This article walks through measuring your real spend, trimming waste, designing for a second provider and deciding which features could run on a free or self-hosted model.
We do not know DeepSeek's future prices and will not guess them; check their official pricing page for current figures. This site is independent and not affiliated with DeepSeek. It runs a keyless endpoint with an open-weight model called free-ai, mentioned below as one possible fallback for low-stakes features, alongside paid alternatives.
Frequently asked questions
Why would a low-cost model provider raise prices?
Serving large models costs money in accelerators, memory, power and staff. Introductory or promotional prices are often set to win market share, and when demand grows faster than capacity, raising prices is one of the few levers a provider has.
How much would a price increase really affect my app?
It depends on your monthly token volume and your margin per user. Multiply your current input and output tokens by the new rates once they are published, and compare that with revenue per active user. Many hobby projects are affected far less than the headlines suggest.
What is the difference between input and output token pricing?
Providers usually charge separately for tokens you send and tokens the model generates, and output tokens normally cost more. Apps that send long contexts but get short answers are sensitive to input prices; chatty apps are sensitive to output prices.
Does prompt caching reduce costs?
Where a provider offers discounted cached input, repeating the same long prefix, such as a system prompt or a document, can cut input costs noticeably. The rules and discounts are provider-specific, so read their caching documentation.
Is a free API a realistic replacement for a paid one?
For some features, yes: drafts, classification, internal tools, demos. For core features that need the strongest reasoning, long context or guaranteed uptime, a free endpoint without an SLA is a fallback, not a replacement.
Which is better: switching providers or self-hosting?
Switching providers is faster and needs no hardware. Self-hosting gives cost control at high, steady volume but brings operational work. Most small teams are better served by keeping two hosted options configured.
Should I lock in current prices somehow?
Only if the provider offers such terms. Some offer commitments or enterprise agreements; check directly. Never rely on unofficial resellers or shared keys to keep costs down, as they can vanish or be revoked at any moment.
First, measure your real exposure
Most teams have only a rough sense of their token use. Before reacting to any announcement, pull a month of usage from the provider dashboard or from your own logs and split it into input and output tokens per feature. The result is often surprising: one background job or one verbose prompt may account for most of the bill.
With that breakdown you can model any price scenario in minutes. Put the numbers in a spreadsheet with the rates as variables, and you can answer 'what happens if output costs double?' without guesswork.
Per-feature accounting
Tag every request in your proxy with a feature name, then sum the usage fields by tag. This single change makes every later decision easier.
Cost per active user
Divide monthly spend by active users. If that figure stays small relative to what each user is worth to you, a price rise is an annoyance, not a threat.
Cut waste before you cut features
Price pressure is a good excuse to clean up prompts. Long system messages copied into every call, entire chat histories sent when only the last few turns matter, and generous max_tokens limits all cost money without improving answers.
Work through the list below on your highest-volume feature first. The savings compound, and none of them require changing providers.
Summarise long conversations
After a chat passes a certain length, replace older turns with a short summary produced once. Each later request then carries a few hundred tokens instead of thousands.
Response caching
FAQ-style questions repeat a lot. A small cache keyed on the normalised question can answer many requests without calling the model at all.
- Trim system prompts to the instructions the model actually needs
- Send a rolling window or a summary of old turns instead of full history
- Set
max_tokensto fit the answer, not the maximum - Ask for compact formats such as JSON or short lists
- Cache identical requests on your side for a few minutes
- Reserve reasoning modes for tasks that need them

Make the provider a configuration value
The single most useful defence against any provider change is to make the provider swappable. Because DeepSeek, many other vendors and this site all accept the OpenAI-style request format, switching is mostly a matter of base URL, key and model name. Keep those three values in configuration, read them in your server-side proxy, and never hard-code them in client code.
The example shows a minimal Python setup where each feature names a provider profile. Moving a feature from one provider to another is then a one-line change.
Configuration also makes experiments cheap. When you want to know whether a feature survives on a smaller model, flip its profile in a staging environment, run a day of realistic traffic or your regression prompts through it, and compare. If quality holds, you have found savings that do not depend on any provider's pricing decisions at all. If it does not, you have lost an afternoon rather than a production incident.
Keep paid keys server-side
The paid profile reads its key from an environment variable on the server. The free profile needs no secret, which is why a static page can call it directly.
import os
from openai import OpenAI
PROFILES = {
"paid": {"base_url": "https://api.deepseek.com", "key": os.environ.get("DEEPSEEK_API_KEY", ""), "model": os.environ.get("PAID_MODEL", "deepseek-chat")},
"free": {"base_url": "https://api.apideepseekfreekey.com/v1", "key": "free", "model": "free-ai"},
}
FEATURES = {"support_answer": "paid", "draft_title": "free", "tag_ticket": "free"}
def run(feature, messages, **kw):
p = PROFILES[FEATURES[feature]]
client = OpenAI(base_url=p["base_url"], api_key=p["key"])
r = client.chat.completions.create(model=p["model"], messages=messages, **kw)
return r.choices[0].message.content
print(run("draft_title", [{"role": "user", "content": "Suggest a title for a post about caching API responses."}], max_tokens=60))Sort features by how much quality they need
Not every feature deserves your best model. Write down each place your app calls a model and give it a rough quality tier. Customer-facing answers, complex code generation and anything legally or financially sensitive sit at the top. Tagging, title suggestions, rewording, first drafts and internal summaries sit lower.
Lower tiers are candidates for cheaper or free models. Higher tiers stay on the strongest model you can afford. This split often removes a large share of paid traffic while leaving the experience users care about untouched.
High tier
Tasks where a wrong answer costs you trust or money. Keep these on a strong paid model with monitoring, and accept the price change if it comes.
Low tier
Tasks where a slightly weaker answer is fine or a human reviews the output anyway. These can move to a smaller model with little visible difference.
Test before moving
Run a sample of real inputs through the cheaper option and compare. Our note on catching drift with a regression set describes a lightweight way to do it.

Where a free endpoint fits and where it does not
The keyless API on this site serves free-ai, an open-weight model of around 35B parameters. It costs nothing, needs no account and allows each IP up to 10,000 requests or 10 million tokens a day, with one request per second and two in parallel. That makes it a reasonable home for prototypes, internal tools and low-tier features, especially in browser apps where each visitor's own IP carries their share of the limit.
It is not a like-for-like substitute for DeepSeek's larger models. It is smaller, text only, has a 32,000-token context window and no uptime guarantee; under load it can return 503. For features that must be up and must be excellent, a paid provider remains the right choice.
Good uses
Demos, tutorials, hackathon projects, internal tooling, draft generation and features with a human in the loop.
Poor uses
Anything with contractual uptime, image input, embeddings, or very long documents beyond 32,000 tokens of context.
Self-hosting as a long-term option
For steady, high volume, running an open-weight model on your own hardware or rented GPUs can make cost predictable. The trade-off is operational work: provisioning, updates, monitoring, scaling for peaks. Distilled and quantised models run on surprisingly modest machines, but quality and speed drop as size shrinks.
If self-hosting interests you, start by measuring what quality you need on your own tasks with a hosted open model, then estimate hardware. The comparison in running models locally versus calling a hosted API covers the practical limits.
Hidden costs
Engineer time, idle capacity outside peak hours and the effort of keeping up with new model releases often outweigh the raw hardware bill for small teams.

Avoid the tempting shortcuts
Whenever prices move, offers appear for 'cheap keys', shared accounts and resold access. Avoid them. Shared or leaked keys belong to someone else, get revoked without warning, and expose everything you send to whoever runs the scheme. Key generators do not exist in any meaningful sense; they are malware or scams.
The legitimate paths are clear: pay the provider directly, use a provider's free tier or credits where offered, use an openly free service that says what it is, or host a model yourself.
Watch for official changes
Subscribe to the provider's announcements or status page so you hear about price and model changes from the source, not from a forum thread weeks later.
A calm plan for the next announcement
Put the pieces together and a price change stops being frightening. You know spend per feature, you have trimmed waste, providers are configuration, features are tiered, and low-tier work already runs on a cheaper option. When new rates are published, you update the spreadsheet, decide which features to move, run your test set, and change a few configuration values.
Teams that do this once usually find it improves their product regardless of prices: prompts get tighter, latency drops and outages at one provider stop being total outages.
The point is not to predict what any provider will charge next year. It is to make sure that whatever they decide, your response is measured in hours of routine work rather than weeks of rewriting.
Revisit quarterly
Prices, models and your own traffic all change. A short review every few months keeps the tier list and provider profiles honest.

Open the home page and send a request to the keyless endpoint straight from your browser, no account or key needed.
Read also
- How to build a small RAG demo in the browser with no backend
- DeepSeek chat vs reasoner: which mode suits your web app?
- Can a coding agent run on a cheaper OpenAI-compatible backend?
- What does a model with fewer refusals mean for your app's moderation?
- What can you do when your LLM API does not accept image input?