Skip to content

Factory/Droid: Remove outdated Premium meter — billing is now unified Standard tokens #554

@hhh2210

Description

@hhh2210

Summary

Factory (Droid) has unified its billing model to a single Standard tokens pool that applies to all models. The Factory billing page at app.factory.ai/settings/billing now explicitly states: Standard tokens now apply to all models.

The current CodexBar implementation displays two separate meters — Standard and Premium — but the Premium meter is always at 100% (unused) since premium tokens no longer exist as a separate billing concept.

Current behavior

CodexBar shows two rows for Factory/Droid:

  • Standard: shows actual token usage (e.g. 41% left)
  • Premium: always shows 100% left (never consumed)

This is because FactoryUsageData still parses both standard and premium fields from the API response, and the descriptor maps them to sessionLabel: Standard / weeklyLabel: Premium.

Expected behavior

Since Factory now uses a single unified token pool, CodexBar should either:

  1. Hide the Premium row entirely when premium usage is zero / premium allowance matches standard
  2. Or show a single combined Tokens meter

References

  • FactoryProviderDescriptor.swift: lines 13-14 define the Standard/Premium labels
  • FactoryStatusProbe.swift: FactoryUsageData (line 181-186) parses both fields

Environment

  • CodexBar version: latest (installed via Homebrew)
  • Factory plan: Pro Annual
  • macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions