Skip to content

codex_subscription

Codex CLI subscription utilisation, parsed from the local session JSONL. Each token_count event Codex writes carries the 5h (primary) and 7d (secondary) rate-limit windows; we read the most recent one. No HTTP — re-fetching this would mean making a billable inference call.

KindSafetyShapes
cachedSaferatio, text, text_block, markdown_text_block, entries, bars, badge, timeline
OptionTypeRequiredDefaultDescription
window"5h" | "7d" | "primary" | "secondary"no"5h"Which window the single-value shapes (Ratio, Badge) report. Multi-row shapes always list both windows.
ShapeRenderers
ratioanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, gauge_battery, gauge_circle, gauge_line, gauge_segment, gauge_thermometer
textanimated_boot, animated_figlet_morph, animated_postfx, animated_scanlines, animated_splitflap, animated_typewriter, animated_wave, text_ascii, text_plain
text_blockanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, list_plain
markdown_text_blocktext_markdown
entriesanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, grid_table
barsanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, chart_bar, chart_pie, list_ranking
badgeanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, status_badge
timelineanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, list_timeline
                                        
                    
5h · resets 3h  18%
                    
                                        
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "gauge_battery"
                                 
      5h · resets 3h             
                                 
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "gauge_circle"
5h · resets 3h:  18% 
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "gauge_line"
                                        
                                        
5h · resets 3h  18%                
                                        
                                        
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "gauge_segment"








[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "gauge_thermometer"
                                                  
                                         
                                             
                                          
                                                                                
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "text_ascii"
[pro] 5h 18% · 7d 7%                    
                                        
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "text_plain"
plan: pro                               
5h  18% · resets 3h                     
7d   7% · resets 5d                     
                                        
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "list_plain"
plan: pro                               
                                        
- 5h  18% (resets 3h)                  
- 7d  7% (resets 5d)                   
                                        
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "text_markdown"
plan                                 pro
5h                       18% (resets 3h)
7d                        7% (resets 5d)
                                        
                                        
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "grid_table"
                                     
                                     
                                     
                                     
                                  
                                  
 700                                 
5h  7d                                  
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "chart_bar"
                                        
                    5h 72.0%          
                             
        7d 28.0%          
                         
                       
                         
                           
                             
                                       
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "chart_pie"
1. 5h                                18%
2. 7d                                 7%
                                        
                                        
                                        
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "list_ranking"
 5h 18%                                
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "status_badge"
in 3h  5h resets                                 
       at 18%                                    
in 5d  7d resets                                 
       at 7%                                     
                                                  
                                                  
                                                  
                                                  
[[widget]]
id = "codex_subscription"
fetcher = "codex_subscription"
render = "list_timeline"