Skip to content
Back to skills

Subscription Tier Routing

ASecurity

Use when routing LLM calls by subscription tier allowance — Codex/Claude weekly allowances, cache-aware routing, fast mode, ultrafast, banked resets, GLM $18 budget. Triggers on "subscription tier routing", "weekly allowance routing", "cache aware routing", "banked resets", "glm budget tier", "ultrafast".

  • 2 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added September 19, 2026
ai-agentsapi

Works with

  • claude code
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add majinmagros/magros.ai-skills --skill subscription-tier-routing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Subscription Tier Routing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Subscription Tier Routing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majinmagros-subscription-tier-routing/badge)](https://www.skillsdirectory.com/skills/majinmagros-subscription-tier-routing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: subscription-tier-routing
description: Use when routing LLM calls by subscription tier allowance — Codex/Claude weekly allowances, cache-aware routing, fast mode, ultrafast, banked resets, GLM $18 budget. Triggers on "subscription tier routing", "weekly allowance routing", "cache aware routing", "banked resets", "glm budget tier", "ultrafast".
metadata:
  origin: ECC
  source_docs:
    - https://platform.openai.com/docs/api-reference
    - https://docs.anthropic.com/en/api
    - https://z.ai/pricing
  video_source: "EIiXhCaZ4rw - I Mathematically CALCULATED the worth of Codex & Claude Code PLANS (AI Code King)"
  related_skills:
    - roteamento-modelos-baratos
    - claude-model-router
    - cost-aware-llm-pipeline
    - glm-integration-patterns
---

# Skill: subscription-tier-routing — Roteamento Ciente de Tier de Assinatura

Roteamento que considera **weekly allowances por tier**, **cache hit rates**, **fast mode**, **banked resets** e **GLM como budget tier**. Implementação completa em `references/implementation.md`.

## Quando usar

- Você paga assinaturas (Codex Pro 5X/20X, Claude Max 5X/20X) e quer maximizar valor
- Precisa rotear por **allowance restante**, não só custo por token
- Quer aproveitar **cache hit rates** (94% Astra, 79% Sonnet) para estender allowance
- Precisa lidar com **banked resets** (OpenAI promotional one-time refills)
- Quer usar **GLM $18/mo** como tier orçamentário para volume
- Decide quando usar **fast mode** (~2x créditos) vs normal

## Quando NÃO usar

- Roteamento simples por custo/token → use `roteamento-modelos-baratos`
- Model routing genérico → use `claude-model-router`
- Cost tracking sem tier awareness → use `cost-aware-llm-pipeline`
- GLM patterns específicos → use `glm-integration-patterns`

---

## Validação Oficial (2026-09-09)

| Claim | Status | Fonte |
|---|---|---|
| Codex Pro 20X ~$4900 / Claude Max 20X ~$2013 API equiv/mês | ⚠️ Projetado (small sample) | Video + pricings oficiais |
| Cache: 94% Astra, 79% Sonnet input cached | ✅ | Video measurement |
| GLM $18: browser automation, C coding, trial quota | ✅ | Z.ai pricing |
| Banked resets: promocional, refresh 5h+weekly | ✅ | OpenAI usage settings |
| Fast mode: ~2x créditos, respostas mais rápidas | ✅ | OpenAI/Anthropic docs |
| Ultrafast: 8x standard / 4x fast, ~300 tok/s, só plano $500 | Medicao do autor (validar) | Nate Herk `pY5_Ux_YJjo` (out/2026) |
| Fable 5.1 esforço máximo = multi-agente caro; claim 2x rápido/metade tokens | Medicao do autor (validar) | Campelo `5tSGf1DYKe0` (Batch 16, #49) |

---

## Subscription Tier Matrix

| Provider | Plan | $/mês | Weekly | API equiv/mês | Cache | Ideal para |
|---|---|---|---|---|---|---|
| Codex | Plus | $20 | 1X | ~$240 | 94% | Light coding |
| Codex | Pro 5X | $100 | 5X | ~$1,200 | 94% | Daily coding |
| Codex | Pro 20X | $200 | 20X | ~$4,900 | 94% | Heavy volume |
| Codex | Ultrafast (via $500) | $500 | 20X+ | N/A | 94% | Picos que travam entrega |
| Claude | Pro | $20 | 1X (5h/dia) | ~$101 | 79% | Light coding |
| Claude | Max 5X | $100 | 5X | ~$503 | 79% | Daily coding |
| Claude | Max 20X | $200 | 20X | ~$2,013 | 79% | Heavy volume |
| GLM/Z.ai | Coding | $18 | Generous | N/A | N/A | Budget volume |
| GLM/Z.ai | Higher | $80/$168 | More | N/A | N/A | Scale |

---

## Exemplo

```text
Assinaturas: Claude Max 5X + Codex Pro 5X → roteia por allowance restante, não só $/token
Volume repetitivo: GLM $18 (cache alto estende a semana); fast mode só se urgência (~2x créditos)
Banked reset promocional: usa antes do refresh; alerta se feature passa de 50% do budget
```

## Enriquecimento 2026-09-26 — Opus 5.5 no tier (captura semanal)

- Opus 5.5 no mesmo allowance rende mais: ~40% economia real vs Opus 5
  (tabela + tokens + cache $0.20). Limites 5h Pro/Team/Enterprise subiram +
  **limit reset sob demanda** (não espera a janela) — para pico à tarde vale
  mais que benchmark. Fast mode (preview, extra usage on, +$/token) só quando
  cada reply trava entrega. Regra: medium-first no allowance; high/xhigh só
  com prova. Fontes: Maestros `XsRt-kwqtVA`, claude.dev 22/09.

## Enriquecimento 2026-10-10 — Ultrafast no Codex (captura semanal)

- **Ultrafast** é o modo mais rápido de gerar com Astra no Codex: 8x o
  standard, 4x o fast, até ~300 tok/s (mais rápido do que dá para ler).
  Disponível só no plano novo de **$500/mês** (não nos de $100/$200) e via
  API; chega em breve ao GBD-6.1 Sol (mais barato).
- Consome o **weekly limit** — é voraz: medir quanto de cada tarefa come do
  allowance antes de adotar como padrão. Regra: ultrafast só quando cada
  reply trava entrega (ex.: resumir call de 54min em ~19s, triar 145GB de
  footage em story 9:16); resto fica no fast/normal do allowance.
- Fonte: Nate Herk `@nateherk/pY5_Ux_YJjo` ("I Tested Codex's $500/mo
  Ultrafast", 03/10/2026, transcricao local fora do repo) — comparativo
  ultrafast vs standard com consumo de limite semanal.
## Idle compaction e Haiku 5.5 (leva YouTube 2026-11-11)

Fonte `o4A03TVuadg`. **Idle compaction**: conversa acima de **200k tokens** parada por
~**54 min** e compactada sozinha - evita retomar sessao gigante e pagar releitura; da para
desligar, mas o custo volta. **Haiku 5.5** entra como default barato do Claude Code, com
**1M** de contexto, para volume/tarefa mecanica; reserve Opus/Sonnet para decidir. Ao
retomar sessao compactada, avise o modelo do que mudou (senao ele reexplora). Cheque o
consumo por modelo em `/usage` antes de culpar o plano.

Files in this skill

  • SKILL.md3.3 KB
  • references/implementation.md9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.