Rightsizing open models may cut your AI inference spend
Summary
Salesforce has significantly reduced its AI inference expenditures by implementing a "rightsizing" strategy, tuning specific open-source models for individual tasks rather than relying on expensive, general-purpose models. This approach emerged 18 months ago when the company's Agentforce token bill escalated with traffic, prompting a rebuild of its AI strategy. Salesforce now uses a frontier model for multi-step processing, but the core reasoning is managed by a flexible harness that allows swapping models. This enables precision models, such as HyperClassifier and TextEval, both fine-tuned from GPT-OSS-20B, to handle specific jobs like intent detection and answer evaluation. This method optimizes price performance as open-source models improve, ensuring tasks are handled by purpose-built solutions.
Key takeaway
For AI Engineers managing inference costs, consider rightsizing your model stack. Instead of relying solely on large, expensive frontier models for every task, fine-tune open-source alternatives for specific jobs. This strategy, demonstrated by Salesforce, can significantly reduce your token bills and improve price performance. Evaluate your current AI workloads to identify opportunities for specialized, cost-effective model deployment, ensuring better returns on your AI investments.
Key insights
Rightsizing open-source models for specific tasks significantly cuts AI inference costs.
Principles
- Tune open-source models for single jobs.
- Use a harness to swap models freely.
- Optimize for price performance.
Method
Identify specific jobs, then fine-tune open-source models (e.g., from GPT-OSS-20B) on existing patterns to handle each task individually, rather than using a single frontier model for all reasoning.
In practice
- Fine-tune models for intent detection.
- Develop models for answer evaluation.
- Implement a model-swapping harness.
Topics
- AI Inference Costs
- Open-source Models
- Model Rightsizing
- Fine-tuning
- GPT-OSS-20B
- Agentforce
Best for: AI Architect, Machine Learning Engineer, NLP Engineer, MLOps Engineer, AI Engineer, Director of AI/ML
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by Constellation Research.