How to Use OpenRouter with Simonw's LLM CLI
TLDR: A practical guide on using OpenRouter through Simon Willison's LLM CLI to access dozens of LLM models from a single terminal, including free tier options.
TLDR: A practical guide on using OpenRouter through Simon Willison's LLM CLI to access dozens of LLM models from a single terminal, including free tier options.
TL;DR Learn how to configure Claude Code to route LLM calls through OpenRouter, enabling access to models from multiple providers through a single API.
TL;DR: LLM reasoning effort settings (low, medium, high) affect how much compute a model allocates to internal reasoning, increasing total token consumption and cost, even when per-token pricing stays the same.
TL;DR Track your LLM API spending with open-source tools like ccusage and
OpenUsage to gain visibility into daily costs, model-level breakdowns, and usage
patterns.
TL;DR Comparing LLMs across real benchmarks and use an efficiency metric that combines quality, cost, and speed to pick the right model for each task
llm_cli is a lightweight CLI tool that applies LLM transformations to
text and code files. Use it to refactor code, improve docs, apply linting
rules, or run custom prompts on file chunks — all from shell without leaving
editor