openrouter-pricing-basics
Execute understand OpenRouter pricing and cost estimation. Use when budgeting or optimizing costs. Trigger with phrases like 'openrouter pricing', 'openrouter costs', 'openrouter budget', 'openrouter token pricing'.
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
Execute understand OpenRouter pricing and cost estimation. Use when budgeting or optimizing costs. Trigger with phrases like 'openrouter pricing', 'openrouter costs', 'openrouter budget', 'openrouter token pricing'.
How to use
Zainstaluj skill w swoim środowisku Claude Code, Codex lub OpenClaw — dodaj openrouter-pricing-basics do listy dostępnych umiejętności.
Wyzwól skill jedną z fraz: 'openrouter pricing', 'openrouter costs', 'model pricing', 'openrouter budget' lub 'how much does openrouter cost'.
Aby sprawdzić cenę konkretnego modelu, poproś skill o zapytanie do API OpenRouter (np. 'ile kosztuje Claude 3.5 Sonnet na OpenRouter'). Skill użyje komendy curl do pobrania listy modeli i wyodrębni stawki za tokeny wejściowe i wyjściowe.
Oblicz koszt swojego zapytania, mnożąc liczbę tokenów przez odpowiednią stawkę — skill pokaże wzór: (tokeny_wejścia × cena_wejścia) + (tokeny_wyjścia × cena_wyjścia). Ceny są podawane per token; aby uzyskać stawkę za milion tokenów, pomnóż przez 1 000 000.
Porównaj koszty między modelami — skill może wyświetlić tabelę z warstwami cenowymi (darmowe modele do testowania, budżetowe opcje, zaawansowane modele) i ich przypadkami użycia.
Sprawdź saldo kredytów na koncie OpenRouter za pośrednictwem dashboardu lub API (GET /api/v1/auth/key), aby śledzić wydatki i uniknąć przerwania usługi.