Documentation
¶
Overview ¶
Package cmd: ghost free - list and activate free models.
Examples:
ghost free # list every free model ghost free claude # filter by name ghost free use kr/claude-sonnet-4.5 # activate a model ghost free combo free-forever # write a free-only 3-tier combo ghost free install # print 9router / ollama install instructions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MaybePrependStdin ¶
Types ¶
type DailyActivity ¶
type DailyUsage ¶
type DayOfWeekUsage ¶
type HourDayHeatmapPt ¶
type HourlyUsage ¶
type ModelUsage ¶
type Stats ¶
type Stats struct {
GeneratedAt time.Time `json:"generated_at"`
Total TotalStats `json:"total"`
UsageByDay []DailyUsage `json:"usage_by_day"`
UsageByModel []ModelUsage `json:"usage_by_model"`
UsageByHour []HourlyUsage `json:"usage_by_hour"`
UsageByDayOfWeek []DayOfWeekUsage `json:"usage_by_day_of_week"`
RecentActivity []DailyActivity `json:"recent_activity"`
AvgResponseTimeMs float64 `json:"avg_response_time_ms"`
ToolUsage []ToolUsage `json:"tool_usage"`
HourDayHeatmap []HourDayHeatmapPt `json:"hour_day_heatmap"`
}
Stats holds all the statistics data.
type TotalStats ¶
type TotalStats struct {
TotalSessions int64 `json:"total_sessions"`
TotalPromptTokens int64 `json:"total_prompt_tokens"`
TotalCompletionTokens int64 `json:"total_completion_tokens"`
TotalTokens int64 `json:"total_tokens"`
TotalCost float64 `json:"total_cost"`
TotalMessages int64 `json:"total_messages"`
AvgTokensPerSession float64 `json:"avg_tokens_per_session"`
AvgMessagesPerSession float64 `json:"avg_messages_per_session"`
}
Click to show internal directories.
Click to hide internal directories.