Blog

Guides for running an LLM gateway

Plain-language explainers and how-tos from the memtrunk team.

  • Guides

    Spend caps and budgets for AI coding agents

    Set per-key daily and monthly USD caps and token limits, learn what a 429 means, how ceilings and alerts work, and where caps do not apply. Cost is an estimate.

    7 min read

  • Guides

    Persistent memory for Claude Code and Codex CLI

    How memtrunk memory works for Claude Code via the proxy and Codex CLI over MCP: what turns it on, the five MCP tools, and the export, delete and off controls.

    9 min read

  • Guides

    Use Claude Code with an LLM gateway

    Set ANTHROPIC_BASE_URL and an API key to route Claude Code through a memtrunk gateway, confirm requests arrive, and fix common 401, 404 and 429 errors.

    8 min read

  • Concepts

    What is an LLM gateway?

    An LLM gateway sits between AI clients and model providers: one base URL, central credentials, routing, and usage and cost accounting. Here is how it works.

    5 min read