FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
claude_runner — how I eliminated Claude API costs by using the subscription I was already paying for
How-ToTools

claude_runner — how I eliminated Claude API costs by using the subscription I was already paying for

via Dev.toGumaro Gonzalez2h ago

For months I was paying for Claude twice. The monthly subscription and the API tokens every time an agent made a call. Turns out I didn't have to. The problem When you import the Anthropic SDK directly, every token gets billed: This charges per token consumed from anthropic import Anthropic client = Anthropic(api_key="sk-...") response = client.messages.create(...) 1,000 fiscal document analyses per month with Sonnet: between $25 and $80 USD on top of what you already pay for the subscription. And that scales linearly with every new agent you add to the system. The discovery Claude Code CLI has an authentication hierarchy that almost nobody documents: CLAUDE_CODE_USE_BEDROCK / USE_VERTEX (cloud providers) ANTHROPIC_AUTH_TOKEN (proxies / gateways) ANTHROPIC_API_KEY ← per-token billing starts here apiKeyHelper script (rotating credentials) ~/.claude/.credentials.json ← your Max subscription lives here When you run claude login, the CLI stores an OAuth token at ~/.claude/.credentials.json

Continue reading on Dev.to

Opens in a new tab

Read Full Article
0 views

Related Articles

Best Laptops (2026): My Honest Advice Having Tested Hundreds
How-To

Best Laptops (2026): My Honest Advice Having Tested Hundreds

Wired • 29m ago

GE Profile Smart Grind and Brew Review: Just the Basics
How-To

GE Profile Smart Grind and Brew Review: Just the Basics

Wired • 2h ago

How I Would Learn Data Engineering in 2026 If I Started From Zero
How-To

How I Would Learn Data Engineering in 2026 If I Started From Zero

Medium Programming • 6h ago

The LaTeX Compilation Errors That Waste the Most Time (And How to Fix Them Fast)
How-To

The LaTeX Compilation Errors That Waste the Most Time (And How to Fix Them Fast)

Dev.to Tutorial • 10h ago

How to Use @Modifying Annotation in Spring Data JPA (With Examples)
How-To

How to Use @Modifying Annotation in Spring Data JPA (With Examples)

Medium Programming • 11h ago

Discover More Articles