Prompt
I'm unhappy with our current LLM setup because spend is hard to control; what should I use?
Latest observation
Nov 5, 2026
OpenAI APIWeb search: off
If your main pain is unpredictable spend, the right choice is usually not just “a better model,” but a setup with hard cost controls.
What to use
Best general answer: a hosted LLM API with budget controls + routing
Use a provider/platform that gives you:
- per-request rate limits
- monthly budgets / spend caps
- usage dashboards
- model routing so cheap models handle most traffic
- fallback rules for escalations only when needed
Examples of the kind of setup to look for:
- OpenAI / Azure OpenAI
- Anthropic via a platform layer
- Bedrock / Vertex AI
- An LLM gateway like LiteLLM, OpenRouter, Portkey, or Helicone for centralized cost control
Recommended pattern
Use a tiered model strategy:
- Cheap model for most queries
- Better model only for complex tasks
- Small context windows
- Truncation / summarization of long histories
- Caching for repeated prompts
- Batching for non-urgent jobs
This is usually the fastest way to get spend under control without losing quality.
If you need the strongest spend control
Choose a setup where you can enforce:
- hard monthly budget cap
- per-team or per-user quotas
- token ceilings per request
- approval gates for expensive models
- automatic fallback to cheaper models
- alerts at 50/80/90% of budget
A gateway/proxy layer is often the missing piece if you’re currently calling models directly.
If you want maximum cost predictability
Consider:
- self-hosted open models if volume is high and usage is steady
- reserved/committed capacity if available from your cloud provider
- internal model gateway with strict policy enforcement
This gives the most control, but comes with ops burden.
My practical recommendation
For most teams:
- Keep using a hosted LLM
- Put a gateway in front of it
- Add budgets, quotas, caching, and routing
- Default to a low-cost model
- Escalate only when needed
That usually solves spend issues better than switching models alone.
If you want, I can suggest a specific stack based on:
- your current provider
- monthly budget
- request volume
- whether you need chat, extraction, agents, or code generation