{
  "id": 2192041,
  "title": "7 ways I make Claude Code use fewer tokens without hurting the results",
  "url": "https://urgent.news/2026/08/20/7-ways-i-make-claude-code-use-fewer-tokens-without-hurting-the-results",
  "topic": "ai",
  "section": "AI",
  "published": "2026-08-20T18:00:15.000Z",
  "source": {
    "name": "XDA Developers",
    "slug": "xda-developers",
    "url": "https://www.xda-developers.com/ways-i-make-claude-code-use-fewer-tokens-without-hurting-results/"
  },
  "original_language": "en",
  "account": null,
  "summary": "Some services have fixed prices regardless of usage, but AI tools like Claude Code do not.\n\nClaude Code is considered a top coding interface, but it originally only works with Anthropic's API and billing. Users can, however, configure it to work with other models. According to Dev.to, there are multiple ways to do this, including using a community tool called claude-code-router, which allows for per-task routing rules and request transformers, but requires running and maintaining a local proxy with a JSON config.\n\nAnother option is to point Claude Code at an Anthropic-compatible gateway, which can serve multiple models through one API key. An example of such a gateway is Opper, an EU-hosted service that allows users to switch between models. This setup requires setting two environment variables, ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN, with the user's Opper API key.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 3,
    "also_reported_by": [
      {
        "outlet": "The Register Science",
        "title": "Dev taps Claude Code to craft custom printer driver for macOS",
        "url": "https://urgent.news/2026/08/19/dev-taps-claude-code-to-craft-custom-printer-driver-for-macos",
        "published": "2026-08-19T19:31:33.000Z"
      },
      {
        "outlet": "XDA Developers",
        "title": "Claude Code got better when I stopped treating it like a code editor and started using it like this instead",
        "url": "https://urgent.news/2026/08/20/claude-code-got-better-when-i-stopped-treating-it-like-a-code-editor",
        "published": "2026-08-20T10:00:15.000Z"
      }
    ]
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}