The AI Bill Is Too Damn High: Tokenomics 101 — Eugene Cheah, Featherless AI

The AI Bill Is Too Damn High: Tokenomics 101 — Eugene Cheah, Featherless AI

Introduction to Tokenomics Workshop

Overview of Felis AI and Its Mission

  • Eugene, the CEO and founder of Felis AI, introduces himself and discusses his involvement in the Arabic AI open-source project under the Linux Foundation.
  • Felis AI aims to make AI accessible across all languages and dialects by creating a platform with over 40,000 open models, including specialized language models like Uganda's first language model.

Scale of Operations

  • The company serves customers at scale, processing around 2 trillion tokens daily at a cost-effective rate of $0.03 per million tokens using specialized setups on AMD GPUs.
  • A disclaimer is provided that the workshop will cover general optimization strategies applicable to any provider, not just specific to Felis AI.

Target Audience for the Workshop

  • The workshop focuses on organizations spending over $10K monthly on token usage; those below this threshold should prioritize developing strong use cases instead of optimizing costs.

Key Topics Covered in the Workshop

Four Major Areas of Focus

  • The workshop will address four main areas: measuring token spend, right-sizing capacity, purchasing capacity effectively, and checking processes.

Importance of Measuring Token Spend

  • Measuring total token spend is crucial; many organizations lack visibility into their token usage across departments and teams.
  • Organizations are encouraged to issue separate API keys for different departments or use cases to track token consumption accurately.

Understanding Workloads in AI

Types of Workloads

  • There are two major tracks in AI workloads: agentic workloads (long-running tasks requiring extensive context) and process automation (shorter tasks focused on volume).

Case Study Example

  • An example illustrates how one organization transitioned from running multiple agents costing $150K monthly to a more efficient setup costing less than $10K without disruption.

Strategies for Optimizing Token Usage

Scheduling Background Tasks

  • Organizations can optimize costs by scheduling background tasks during off-hours when fewer resources are needed.

Volume Game in Process Automation

  • Process automation often involves high volumes but shorter contexts; examples include call centers managing millions of messages daily.

Tools for Tracking Token Spend

Open Source Tracking Tool Announcement

  • A new open-source tool for tracking token spend is introduced; it helps organizations split API keys and monitor usage effectively.

Right-Sizing Capacity

Challenges with Model Selection

  • Organizations often apply advanced models indiscriminately due to hype; understanding where each model fits is essential for cost management.

Trends in Open vs. Closed Models

  • Recent trends show that some open-source models are beginning to outperform closed-source counterparts in specific benchmarks.

Emerging Classifiers

Introduction of One-Shot Classifiers

  • New one-shot classifiers have emerged as cheaper alternatives focused solely on decision-making tasks without chat capabilities.

Distinguishing Between Agentic and Process Workloads

Economic Implications

  • Agentic workloads tend to be cash-heavy with low output percentages; understanding these dynamics helps manage deployment costs effectively.

Common Patterns Observed

Splitting Roles Among Agents

  • In coding teams, it's common practice to assign planning tasks to top-tier agents while utilizing faster but cheaper agents for implementation. This strategy optimizes both quality and cost efficiency.

Incentives for Switching Models

  • Teams may resist switching models unless incentivized properly; automating model selection based on performance can help improve overall efficiency.

Managing Team Dynamics

Balancing Speed vs Cost

  • Setting budgets strategically encourages teams to switch between smarter but more expensive models versus faster options based on their needs without compromising productivity.

Importance of Measurement Again

  • Continuous measurement remains critical throughout this process—tracking separate keys ensures better insights into spending patterns across various applications within an organization.

Implementing AI Across Departments

Organizational Mandates

  • Some organizations face mandates requiring widespread implementation of AI tools without adequate preparation or understanding among staff about trade-offs involved.

Simplifying Model Choices

  • Providing labels rather than technical names allows non-expert users easier access while maintaining control over which models are deployed within different departments.

Conclusion: Fine-Tuning Models

  • Fine-tuning domain-specific models can significantly enhance performance while reducing operational costs—examples from AT&T illustrate successful implementations tailored specifically towards unique business needs such as customer support scenarios or proprietary programming languages used internally by companies like Shopify .

Strategies for Model Deployment and Data Generation

Starting with Expensive Models

  • Many organizations prefer to start with expensive models, deploying them on a small scale to generate datasets. It's essential to check legal terms as some labs may restrict this practice.

Utilizing APIs for Data Sets

  • Google Gemini offers dedicated API services that allow users to build datasets tailored to specific use cases using strong models, which can later be scaled down.

Open-source Model Advantages

  • Open-source models are accessible for running and distilling, enabling fine-tuning across different sizes (e.g., 27B and 7B) based on operational needs.

Traffic Management in Call Centers

  • Routine calls can be managed by smaller models, escalating to larger ones based on classifier triggers, optimizing traffic flow efficiently.

Shadow Traffic Strategy

  • It is advisable to maintain a portion of shadow traffic directed towards the best model even after transitioning fully to a fine-tuned model. This helps in continuously building the dataset.

Understanding AI Speed and Cost Dynamics

Rapid Advancements in AI Models

  • The speed at which AI technology evolves is often underestimated; cheaper models can outperform previous top-tier models like GPT-4 when run efficiently.

Efficient Model Utilization

  • Fine-tuning allows efficient deployment of powerful models on standard hardware (like laptops), enhancing performance without excessive costs.

Challenges in GPU Acquisition

Non-linear Scaling Issues

  • Organizations often misjudge scaling; there’s a significant trade-off between tokens processed per second and the associated costs. Higher speeds do not equate linearly to lower costs.

Cost Implications of Speed

  • Achieving higher token processing speeds often incurs exponentially higher costs; understanding this relationship is crucial for budget management.

Optimizing Token Processing

Parallel Request Handling

  • Running multiple requests in parallel can significantly reduce overall costs while maintaining acceptable speed levels—balancing speed with cost efficiency is key.

Background Job Considerations

  • For background jobs, high-speed processing (e.g., 120 tokens per second) may not be necessary or cost-effective; understanding workload patterns aids in making informed decisions about resource allocation.

Analyzing Traffic Patterns

Bursty Workloads

  • Many workloads exhibit bursty patterns with base loads; recognizing these patterns enables better planning for deployments and resource allocation strategies.

Dedicated vs. Public Cloud Instances

  • Deploying dedicated instances can yield significant savings if base workloads are well understood; however, flexibility may be required during peak spikes by utilizing public cloud resources as needed.

Measuring Efficiency and Costs

Importance of Measurement

  • Accurate measurement of token usage per department or team provides insights into performance efficiency and potential areas for cost reduction—this data-driven approach enhances decision-making processes.

Organizational Processes Impacting AI Deployment

Trust Issues within Teams

  • As organizations scale their AI deployments, trust issues arise regarding the reliability of AI outputs—establishing robust validation processes is critical for overcoming these challenges.

Avoiding Common Pitfalls

Anti-pattern Recognition

  • A common issue arises when teams implement large-scale changes without adequate testing or review processes, leading to bottlenecks that hinder productivity rather than enhance it.

Enhancing Review Processes

Improving Code Review Practices

  • Encouraging modular changes and better testing practices can streamline code reviews, reducing bottlenecks caused by overwhelming amounts of generated code needing human oversight.

The Role of AI in Content Creation

Generating Reports & Presentations

  • Similar issues occur when generating presentations or reports through AI agents where inconsistencies arise due to lack of thorough human review before dissemination among teams.

Adapting Organizational Culture

Ownership Over Generated Content

  • To prevent "slop grenades," individuals must take ownership over what they generate through AI tools ensuring accountability for quality control throughout the process.

Measuring Outcomes Over Usage

Focus on Results Rather Than Metrics

  • Organizations should prioritize measuring outcomes instead of merely tracking usage metrics since effective implementation leads directly toward achieving desired results rather than just increasing activity levels.

Questions for Internal Evaluation

Guideline Questions

  • Start evaluating your organization's tokenomics by asking targeted questions about spending habits across teams along with identifying opportunities where cheaper models could suffice effectively meeting workload demands.

Discussion on Caching Solutions and Auto Routing

Caching Solutions

  • MCP agents face challenges accessing the file system, leading to simpler solutions like using installed pies that run batch commands.
  • Inquiry about case studies related to thoughtful caching methodologies and their outcomes for customers, emphasizing the need for anonymization of customer data.
  • Larger scale customers are typically deployed with dedicated caches, which mitigate many PI issues since the cache is exclusive to that customer.
  • The speaker acknowledges the complexity of interpreting caching strategies and suggests further discussion may be needed.

Auto Routing Approaches

  • Preference expressed for task-based auto routing over turn-based due to better control of expectations at an organizational level.
  • Concerns raised regarding turn-based auto routing; specifically, it should be limited to two or three models to avoid inefficiencies in cache usage.
  • Task organization is deemed more effective than turn-based approaches, as it leads to improved performance metrics.

Turn any video into a summary like this

YouTube links, meetings, lectures. With transcripts, search, and chat.

Video description

If your token spend keeps going up and productivity isn't keeping pace, start here. Eugene Cheah lays out four steps for cutting AI inference costs at scale: measure, right-size, buy capacity well and check your processes. Along the way he covers splitting API keys per team, agentic vs. process workloads, open models that match frontier models on specific tasks, classifiers, fine-tuning, the speed-vs-cost tradeoff and "slop grenades." Recorded live at AI Engineer NYC 2026. 🎟️ Join us at the next one: AIE CODE Summit → https://aie.codes Speaker Eugene Cheah — X: https://x.com/picocreator Featherless AI — https://featherless.ai Timestamps 0:00 Intro: Eugene Cheah, Featherless AI 1:48 What "scale" looks like: 2T tokens/day 2:13 Disclaimers: who this is for 3:13 The 4 moves 3:23 Move 1: Measure (stop sharing one API key) 5:12 Agentic vs. process workloads 9:27 Move 2: Right-size your models 12:42 Classifiers: a new class of cheap models 14:37 Plan with the smart model, build with the cheap one 15:47 Nobody switches models to save money 19:27 Give teams model labels, not model names 25:27 Bootstrapping your own fine-tuned model 27:42 Shadow traffic to keep improving 28:57 Move 3: Buying GPU capacity 30:07 2x the speed = 3x the cost 32:22 Bursty traffic & dedicated capacity 34:32 Move 4: Check your processes 37:07 Tokens are not work done 42:07 Don't throw slop grenades 44:27 Q&A: Fine-tuning & data sets 48:02 Q&A: Golden traces 50:04 Q&A: Escaping harness lock-in 52:37 Q&A: Caching & auto-routing