Skip to content

internet-court/internet-court-skill / vendored/altlayer/altllm-portal-billing

altllm-portal-billing

Verified

Use this skill when the user asks to inspect AltLLM Portal balance, redeem a promo code, review billing transactions, or view usage analytics by period, model, or API key using the local altllm CLI. Do NOT use for API key lifecycle management or payment-link execution.

FileKindSize
LICENSEother322 B
SKILL.mdskill md1.8 KB
references/cli-reference.mdmarkdown1.9 KB
---
name: altllm-portal-billing
description: Use this skill when the user asks to inspect AltLLM Portal balance, redeem a promo code, review billing transactions, or view usage analytics by period, model, or API key using the local altllm CLI. Do NOT use for API key lifecycle management or payment-link execution.
user-invocable: true
---

# AltLLM Portal Billing

Balance, promo, transaction history, and usage analytics for the local `altllm` CLI.

## Shared Setup

> Before the first `altllm` command in a fresh checkout, read and follow:
> - `../_shared/preflight.md`
> - `../_shared/session-and-target.md`

## Command Index

| Command | Purpose |
|---|---|
| `credit` | Current Portal balance, expiry, and allowed models |
| `redeem-promo` | Redeem a promo code |
| `transactions` | Billing transaction history with pagination and type filters |
| `usage-summary` | Current calendar-month summary |
| `usage-timeline` | Daily usage history |
| `usage-by-model` | Usage grouped by model |
| `usage-by-key` | Usage grouped by API key |

## Rules

- These commands use the saved Portal session token.
- History commands mostly return raw Portal API JSON.
- `credit` is the current CLI inspection path for plan/model-access metadata returned by Portal, including Business/Flex fields such as `subscription_tier: "flex"` when present.
- `transactions` supports `--page`, `--limit`, and `--type`.
- `usage-summary` currently reflects the current calendar month only.
- `usage-timeline`, `usage-by-model`, and `usage-by-key` default to the current UTC month when no date flags are passed.
- Usage commands support either `--month` or a complete explicit date range.
- `balance` is an alias for `credit`.

## Reference

See [references/cli-reference.md](references/cli-reference.md) for filters, examples, and representative outputs.
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall