Tag: Claude API

  • Claude API Access in Singapore & China: 2026 Guide

    Claude API Access in Singapore & China: 2026 Guide

    Last refreshed: May 15, 2026

    If you are a developer in Singapore or China trying to use Claude, you have already noticed that the standard instructions don’t quite apply to you. The console.anthropic.com onboarding assumes a US billing address. The latency numbers assume you are pinging from a US data center. And for developers in mainland China, the direct API doesn’t work at all without a workaround.

    This is a practical guide to what actually works in 2026, written for the Asian developer market that is increasingly one of Claude’s most active audiences.

    Singapore: What Works Directly

    Five-step path: account, API keys, billing, usage, workspaces
    Singapore — what works directly.

    Singapore is a fully supported country for the Anthropic API. You can create an account at console.anthropic.com, add a payment method, and generate API keys with no restrictions. Most major international credit cards work without issues. If you are at a company with a Singapore entity, Anthropic accepts international wire transfers for enterprise contracts.

    Latency from Singapore to Anthropic’s US API endpoints typically runs 180–250ms round-trip depending on your ISP and the model you are calling. For most application use cases this is acceptable. For latency-sensitive real-time applications — voice interfaces, live coding assistants — you will want to route through a closer compute layer, which is where Vertex AI becomes relevant.

    Vertex AI: The Regional Solution for Both Markets

    Five operator layers: client, router, provider, model, policy/spend
    Vertex AI — the regional solution for both markets.

    Google Cloud’s Vertex AI hosts Claude models (Sonnet and Haiku tiers as of mid-2026) and has a data center in Singapore: asia-southeast1. This is the cleanest solution for developers in both Singapore and the broader Asia-Pacific region who want lower latency and enterprise-grade SLAs.

    The practical difference: instead of calling api.anthropic.com, you call a Vertex AI endpoint scoped to asia-southeast1. Your tokens are processed in Singapore, not Virginia. For regulated industries — fintech, healthcare, legal — this also means your data doesn’t leave the region, which is a compliance requirement in several Singapore regulatory frameworks (MAS TRM guidelines being the primary one).

    To get started with Claude on Vertex AI from Singapore:

    1. Create a GCP project and enable the Vertex AI API
    2. Request access to Claude models via the Vertex AI Model Garden (approval is typically same-day for Singapore accounts)
    3. Set your region to asia-southeast1 in all API calls
    4. Authenticate via a GCP service account rather than an Anthropic API key

    The pricing on Vertex AI is comparable to direct Anthropic API pricing, with GCP committed use discounts available at higher volumes.

    AWS Bedrock: The Other Regional Option

    Amazon Bedrock also hosts Claude models and has a Singapore region (ap-southeast-1). If your infrastructure is already on AWS, this is often the simpler path. The setup mirrors Vertex AI: enable Bedrock in your AWS console, request Claude model access, and specify the Singapore region in your SDK calls.

    The practical consideration: as of mid-2026, model availability on Bedrock sometimes lags behind the direct Anthropic API by a few weeks when new versions ship. If being on the latest Claude version immediately matters for your use case, the direct API or Vertex AI are more current.

    China: The Honest Situation

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    China — the honest situation.

    The direct Anthropic API is not accessible from mainland China without a VPN. Console.anthropic.com is not blocked at the DNS level in the same way Google is, but connectivity is unreliable and payment processing from Chinese-issued cards through Stripe (Anthropic’s payment processor) fails for most users.

    The workarounds that Chinese developers are actually using in 2026:

    VPN plus international card. Developers with access to a VPN and an international payment card (Hong Kong or Singapore bank account) use the direct API without issues. This is the most common setup among individual developers and small teams.

    Hong Kong entity. Companies with a Hong Kong subsidiary or registered office use that entity for the Anthropic API account. Hong Kong is a fully supported region with no connectivity issues.

    Third-party API proxies. Several API aggregators operating out of Hong Kong and Singapore re-sell Anthropic API access to mainland China developers. Quality and terms vary significantly — vet carefully before using in production.

    Vertex AI via a non-China GCP account. Some development teams maintain a GCP account registered to a Singapore or Hong Kong entity, then call the Vertex AI Claude endpoint from within China via GCP’s global network. Google Cloud has limited but operational connectivity from within China through its global backbone. This is the most enterprise-appropriate solution for teams that need a compliant path.

    Latency Reality Check by Access Method

    Access MethodFrom SingaporeFrom China (with VPN)
    Direct Anthropic API (us-east)180–250ms300–500ms+
    Vertex AI (asia-southeast1)30–60ms150–300ms via GCP backbone
    AWS Bedrock (ap-southeast-1)25–55msNot directly accessible

    Latency figures are representative ranges based on typical ISP routing. Your numbers will vary.

    Payment and Billing Notes

    For Singapore developers on the direct Anthropic API: Visa, Mastercard, and American Express issued by Singapore banks work reliably. PayNow and local payment rails are not supported — you need an international card.

    For enterprise: Anthropic’s sales team handles invoiced billing for Singapore and other APAC markets. If you are spending meaningfully on the API, contact sales rather than running on a credit card — the invoiced route gives you better cost predictability and eliminates card limit friction.

    The Bottom Line

    If you are in Singapore, the direct API works and Vertex AI’s asia-southeast1 region gives you a lower-latency, compliance-friendly alternative worth evaluating for production workloads.

    If you are in mainland China, the direct API requires a workaround. A Hong Kong entity plus Vertex AI is the cleanest enterprise path. For individual developers, VPN plus an international card is the practical reality.

    The Asian developer market is using Claude at scale. The tooling is there — it just requires knowing which path to take from where you are sitting.

    Based in Singapore or Asia-Pacific?

    I can help you pick the right access path for your stack and region.

    Email me your setup — direct API, Vertex AI, or Bedrock — and I’ll give you a straight answer on what makes sense.

    Email Will → will@tygartmedia.com

    Related on Tygart Media: API quickstart · Message Batches · how to use Claude.

  • Claude AI Context Window: Token Limits & Capacity

    Claude AI Context Window: Token Limits & Capacity

    Last refreshed: June 20, 2026

    Direct Answer (August 2026): Claude features a 200,000-token context window (~150,000 words) across all models and tiers, capable of ingesting entire codebases, financial filings, or 500-page manuals in a single prompt with 99.5%+ needle-in-a-haystack recall.

    Looking for quick answers? The FAQ version covers every common question directly.

    → Context Window FAQ

    Claude’s context window is one of those specs that sounds simple until you actually need to use it. “1 million tokens” means almost nothing without a frame of reference. This is the guide we wish existed when we started building on Claude — written from our own experience running it in production, with numbers pulled directly from Anthropic’s official documentation.

    Quick Definition

    The context window is Claude’s working memory for a conversation. It holds everything Claude can see and reason about at once: your messages, Claude’s responses, any documents you’ve shared, and system prompts. When the window fills up, earlier content drops out.

    Current Context Window Sizes by Model (June 2026)

    Long paper tape measure unrolling across a desk beside a laptop, metaphor for context window length
    Current context window sizes by model.

    These numbers come directly from Anthropic’s official models page, fetched May 9, 2026. Model strings are exact API identifiers:

    Model API String Context Window Max Output
    Claude Fable 5 claude-fable-5 1,000,000 tokens 128,000 tokens
    Claude Opus 4.8 claude-opus-4-8 1,000,000 tokens 128,000 tokens
    Claude Sonnet 5 claude-sonnet-4-6 1,000,000 tokens 64,000 tokens
    Claude Haiku 4.5 claude-haiku-4-5-20251001 200,000 tokens 64,000 tokens

    Fable 5, Opus 4.8, and Sonnet 5 all have the full 1M token context window. Haiku 4.5 is 200K. The key difference between Opus 4.8 and Sonnet 5 in this table is the max output — Opus 4.8 can write up to 128K tokens in a single response, Sonnet 5 caps at 64K.

    What Does 1 Million Tokens Actually Hold?

    Token counts are an abstraction. Here’s what 1 million tokens translates to in practical terms:

    • About 750,000 words of English text — roughly 10 full-length novels, or 1,500 average blog posts
    • A full mid-size codebase — a 50,000-line Python project with comments fits comfortably
    • Hours of meeting transcripts — a full workday of recorded calls, transcribed, fits in one context window
    • Multiple large documents simultaneously — 10 research PDFs at 30 pages each, all in the same conversation
    • Long conversation histories — hundreds of back-and-forth exchanges before anything starts dropping off

    We’ve loaded entire Notion exports, full project histories, and multi-document research packs into a single Claude session. At 1M tokens, you’re unlikely to hit the ceiling in a normal working session. You hit it when you’re doing things like: loading your entire codebase plus documentation plus conversation history and then asking Claude to do a full architectural review.

    Context Window vs. Memory: What’s the Difference?

    Diagram comparing a long context window bar with a shorter output limit bar
    Context window vs memory — what’s the difference?

    This is where a lot of people get confused. The context window and memory are not the same thing:

    • Context window: What Claude can see right now, in this session. Once a session ends, it’s gone.
    • Memory (in claude.ai): A separate system that extracts and stores key information from past sessions. It surfaces relevant facts into future conversations as a snippet in the context.
    • Managed Agents memory stores: A developer-layer construct where agents maintain and update knowledge bases across sessions — distinct from both the context window and the consumer memory feature.

    The 1M token context window is your working memory for one session. It doesn’t persist. Memory systems are what carry information across sessions — but they work by injecting a summary into the context window of the new session, not by giving Claude access to the full history.

    Does a Bigger Context Window Mean Better Performance?

    Mostly yes, with one important nuance. More context means Claude has more information to reason about, which generally produces better outputs for tasks that benefit from full context — code reviews, document synthesis, long-form writing, multi-document comparison.

    The nuance: performance can degrade on tasks involving specific information buried deep in a very long context. This is sometimes called the “lost in the middle” problem — models tend to pay more attention to the beginning and end of a long context than the middle. Anthropic has worked on this with Claude’s architecture, and it performs well on long-context tasks, but it’s worth structuring important information at natural reference points rather than burying it in the middle of a 500-page document.

    How We Actually Use the 1M Token Window

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    How we actually use the 1M token window.

    We run Claude in production for content operations, site management, and agentic coding workflows. Here’s where the 1M context window makes a concrete difference in our work:

    • Full site audits: Loading every post from a WordPress site (200+ posts worth of content) into one session for comprehensive SEO analysis — without having to chunk and re-prompt
    • Cross-session context: Pasting in long Notion briefings, prior session transcripts, and the current task in one go. The window is large enough that we don’t have to decide what to leave out.
    • Codebase-wide reasoning: In Claude Code, having the full project context means Claude can make changes that account for how files interact rather than reasoning only about the current file
    • Multi-document synthesis: Research projects where we load 10-15 source documents and ask Claude to synthesize across them — something that was impossible at 100K context windows

    The practical shift from 200K to 1M tokens wasn’t just “more room.” It changed what we could ask Claude to do in a single session.

    Context Window on the API: Batch Output Extension

    For API users: on the Message Batches API, Fable 5, Opus 4.8, and Sonnet 5 support up to 300K output tokens using the output-300k-2026-03-24 beta header. This is relevant for batch generation tasks where you need very long outputs — documentation generation, large codebases, book-length content.

    Frequently Asked Questions

    What is Claude’s context window in 2026?

    Claude Fable 5, Claude Opus 4.8, and Claude Sonnet 5 all have 1,000,000 token (1M token) context windows as of June 2026. Claude Haiku 4.5 has a 200,000 token context window. These are the current generally available models.

    How many pages can Claude read at once?

    At 1M tokens, Claude can hold roughly 750,000 words of English text — equivalent to approximately 3,000 average pages. In practice, a typical 20-page PDF is roughly 10,000-15,000 tokens, so you could load 60-100 such documents in a single session before approaching the limit.

    Does the context window reset between messages?

    No — the context window accumulates across an entire conversation session. Every message you send and every response Claude gives adds to the total. The window doesn’t reset between individual messages; it resets when you start a new conversation.

    What happens when Claude hits the context window limit?

    When a conversation reaches the context window limit, earlier messages begin to drop out of the active context. Claude can no longer reference information from those earlier messages — it effectively forgets that part of the conversation. In the claude.ai interface, you’ll see a notification when you’re approaching the limit.

    Is the 1M context window available on the free plan?

    The model available to free plan users has access to the 1M context window. However, free plan usage limits mean long-context sessions hit rate limits faster than paid plans. The window is technically available, but sustained heavy use of it is more practical on paid tiers.

    What’s the difference between Claude Opus 4.8 and Sonnet 5 context windows?

    Both have the same 1M token input context window. The difference is max output: Opus 4.8 can generate up to 128,000 tokens in a single response; Sonnet 5 caps at 64,000 tokens. For most tasks this distinction doesn’t matter, but for very long document generation or large code outputs, Opus 4.8 has the higher output ceiling.

    💼 Deploying Claude or AI Infrastructure in Your Business?

    At Tygart Media, we engineer custom Model Context Protocol (MCP) servers, multi-model content pipelines, and AI operational systems. Explore our Claude AI Team Implementation Services or check out our complete Restoration Operations & AI Kit.

  • CLAUDE.md File Playbook: Guide Claude Code in 2026

    CLAUDE.md File Playbook: Guide Claude Code in 2026

    Last refreshed: May 15, 2026

    Most writing about CLAUDE.md gets one thing wrong in the first paragraph, and once you notice it, you can’t unsee it. People describe it as configuration. A “project constitution.” Rules Claude has to follow.

    It isn’t any of those things, and Anthropic is explicit about it.

    CLAUDE.md content is delivered as a user message after the system prompt, not as part of the system prompt itself. Claude reads it and tries to follow it, but there’s no guarantee of strict compliance, especially for vague or conflicting instructions. — Anthropic, Claude Code memory docs

    That one sentence is the whole game. If you write a CLAUDE.md as if you’re programming a machine, you’ll get frustrated when the machine doesn’t comply. If you write it as context — the thing a thoughtful new teammate would want to read on day one — you’ll get something that works.

    This is the playbook I wish someone had handed me the first time I set one up across a real codebase. It’s grounded in Anthropic’s current documentation (linked throughout), layered with patterns I’ve used across a network of production repos, and honest about where community practice has outrun official guidance.

    If any of this ages out, the docs are the source of truth. Start there, come back here for the operator layer.


    The memory stack in 2026 (what CLAUDE.md actually is, and isn’t)

    Claude Code’s memory system has three parts. Most people know one of them, and the other two change how you use the first.

    CLAUDE.md files are markdown files you write by hand. Claude reads them at the start of every session. They contain instructions you want Claude to carry across conversations — build commands, coding standards, architectural decisions, “always do X” rules. This is the part people know.

    Auto memory is something Claude writes for itself. Introduced in Claude Code v2.1.59, it lets Claude save notes across sessions based on your corrections — build commands it discovered, debugging insights, preferences you kept restating. It lives at ~/.claude/projects/<project>/memory/ with a MEMORY.md entrypoint. You can audit it with /memory, edit it, or delete it. It’s on by default. (Anthropic docs.)

    .claude/rules/ is a directory of smaller, topic-scoped markdown files — code-style.md, testing.md, security.md — that can optionally be scoped to specific file paths via YAML frontmatter. A rule with paths: ["src/api/**/*.ts"] only loads when Claude is working with files matching that pattern. (Anthropic docs.)

    The reason this matters for how you write CLAUDE.md: once you understand what the other two are for, you stop stuffing CLAUDE.md with things that belong somewhere else. A 600-line CLAUDE.md isn’t a sign of thoroughness. It’s usually a sign the rules directory doesn’t exist yet and auto memory is disabled.

    Anthropic’s own guidance is explicit: target under 200 lines per CLAUDE.md file. Longer files consume more context and reduce adherence.

    Hold that number. We’ll come back to it.


    Where CLAUDE.md lives (and why scope matters)

    Side-by-side cards defining what Claude Code is and is not
    Where CLAUDE.md lives — and why scope matters.

    CLAUDE.md files can live in four different scopes, each with a different purpose. More specific scopes take precedence over broader ones. (Full precedence table in Anthropic docs.)

    Managed policy CLAUDE.md lives at the OS level — /Library/Application Support/ClaudeCode/CLAUDE.md on macOS, /etc/claude-code/CLAUDE.md on Linux and WSL, C:\Program Files\ClaudeCode\CLAUDE.md on Windows. Organizations deploy it via MDM, Group Policy, or Ansible. It applies to every user on every machine it’s pushed to, and individual settings cannot exclude it. Use it for company-wide coding standards, security posture, and compliance reminders.

    Project CLAUDE.md lives at ./CLAUDE.md or ./.claude/CLAUDE.md. It’s checked into source control and shared with the team. This is the one you’re writing when someone says “set up CLAUDE.md for this repo.”

    User CLAUDE.md lives at ~/.claude/CLAUDE.md. It’s your personal preferences across every project on your machine — favorite tooling shortcuts, how you like code styled, patterns you want applied everywhere.

    Local CLAUDE.md lives at ./CLAUDE.local.md in the project root. It’s personal-to-this-project and gitignored. Your sandbox URLs, preferred test data, notes Claude should know that your teammates shouldn’t see.

    Claude walks up the directory tree from wherever you launched it, concatenating every CLAUDE.md and CLAUDE.local.md it finds. Subdirectories load on demand — they don’t hit context at launch, but get pulled in when Claude reads files in those subdirectories. (Anthropic docs.)

    A practical consequence most teams miss: in a monorepo, your parent CLAUDE.md gets loaded when a teammate runs Claude Code from inside a nested package. If that parent file contains instructions that don’t apply to their work, Claude will still try to follow them. That’s what the claudeMdExcludes setting is for — it lets individuals skip CLAUDE.md files by glob pattern at the local settings layer.

    If you’re running Claude Code across more than one repo, decide now whether your standards belong in project CLAUDE.md (team-shared) or user CLAUDE.md (just you). Writing the same thing in both is how you get drift.


    The 200-line discipline

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    The 200-line discipline.

    This is the rule I see broken most often, and it’s the rule Anthropic is most explicit about. From the docs: “target under 200 lines per CLAUDE.md file. Longer files consume more context and reduce adherence.”

    Two things are happening in that sentence. One, CLAUDE.md eats tokens — every session, every time, whether Claude needed those tokens or not. Two, longer files don’t actually produce better compliance. The opposite. When instructions are dense and undifferentiated, Claude can’t tell which ones matter.

    The 200-line ceiling isn’t a hard cap. You can write a 400-line CLAUDE.md and Claude will load the whole thing. It just won’t follow it as well as a 180-line file would.

    Three moves to stay under:

    1. Use @imports to pull in specific files when they’re relevant. CLAUDE.md supports @path/to/file syntax (relative or absolute). Imported files expand inline at session launch, up to five hops deep. This is how you reference your README, your package.json, or a standalone workflow guide without pasting them into CLAUDE.md.

    See @README.md for architecture and @package.json for available scripts.
    
    # Git Workflow
    - @docs/git-workflow.md

    2. Move path-scoped rules into .claude/rules/. Anything that only matters when working with a specific part of the codebase — API patterns, testing conventions, frontend style — belongs in .claude/rules/api.md or .claude/rules/testing.md with a paths: frontmatter. They only load into context when Claude touches matching files.

    ---
    paths:
      - "src/api/**/*.ts"
    ---
    # API Development Rules
    
    - All API endpoints must include input validation
    - Use the standard error response format
    - Include OpenAPI documentation comments

    3. Move task-specific procedures into skills. If an instruction is really a multi-step workflow — “when you’re asked to ship a release, do these eight things” — it belongs in a skill, which only loads when invoked. CLAUDE.md is for the facts Claude should always hold in context; skills are for procedures Claude should run when the moment calls for them.

    If you follow these three moves, a CLAUDE.md rarely needs to exceed 150 lines. At that size, Claude actually reads it.


    What belongs in CLAUDE.md (the signal test)

    Four cards for content, ops, build, and knowledge work with Claude
    What belongs in CLAUDE.md.

    Anthropic’s own framing for when to add something is excellent, and it’s worth quoting directly because it captures the whole philosophy in four lines:

    Add to it when:

    • Claude makes the same mistake a second time
    • A code review catches something Claude should have known about this codebase
    • You type the same correction or clarification into chat that you typed last session
    • A new teammate would need the same context to be productive — Anthropic docs

    The operator version of the same principle: CLAUDE.md is the place you write down what you’d otherwise re-explain. It’s not the place you write down everything you know. If you find yourself writing “the frontend is built in React and uses Tailwind,” ask whether Claude would figure that out by reading package.json (it would). If you find yourself writing “when a user asks for a new endpoint, always add input validation and write a test,” that’s the kind of thing Claude won’t figure out on its own — it’s a team convention, not an inference from the code.

    The categories I’ve found actually earn their place in a project CLAUDE.md:

    Build and test commands. The exact string to run the dev server, the test suite, the linter, the type checker. Every one of these saves Claude a round of “let me look for a package.json script.”

    Architectural non-obvious. The thing a new teammate would need someone to explain. “This repo uses event sourcing — don’t write direct database mutations, emit events instead.” “We have two API surfaces, /public/* and /internal/*, and they have different auth requirements.”

    Naming conventions and file layout. “API handlers live in src/api/handlers/.” “Test files go next to the code they test, named *.test.ts.” Specific enough to verify.

    Coding standards that matter. Not “write good code” — “use 2-space indentation,” “prefer const over let,” “always export types separately from values.”

    Recurring corrections. The single most valuable category. Every time you find yourself re-correcting Claude about the same thing, that correction belongs in CLAUDE.md.

    What usually doesn’t belong:

    • Long lists of library choices (Claude can read package.json)
    • Full architecture diagrams (link to them instead)
    • Step-by-step procedures (skills)
    • Path-specific rules that only matter in one part of the repo (.claude/rules/ with a paths: field)
    • Anything that would be true of any project (that goes in user CLAUDE.md)

    Writing instructions Claude will actually follow

    Anthropic’s own guidance on effective instructions comes down to three principles, and every one of them is worth taking seriously:

    Specificity. “Use 2-space indentation” works better than “format code nicely.” “Run npm test before committing” works better than “test your changes.” “API handlers live in src/api/handlers/” works better than “keep files organized.” If the instruction can’t be verified, it can’t be followed reliably.

    Consistency. If two rules contradict each other, Claude may pick one arbitrarily. This is especially common in projects that have accumulated CLAUDE.md files across multiple contributors over time — one file says to prefer async/await, another says to use .then() for performance reasons, and nobody remembers which was right. Do a periodic sweep.

    Structure. Use markdown headers and bullets. Group related instructions. Dense paragraphs are harder to scan, and Claude scans the same way you do. A CLAUDE.md with clear section headers — ## Build Commands, ## Coding Style, ## Testing — outperforms the same content run together as prose.

    One pattern I’ve found useful that isn’t in the docs: write CLAUDE.md in the voice of a teammate briefing another teammate. Not “use 2-space indentation” but “we use 2-space indentation.” Not “always include input validation” but “every endpoint needs input validation — we had a security incident last year and this is how we prevent the next one.” The “why” is optional but it improves adherence because Claude treats the rule as something with a reason behind it, not an arbitrary preference.


    Community patterns worth knowing (flagged as community, not official)

    The following are patterns I’ve seen in operator circles and at industry events like AI Engineer Europe 2026, where practitioners share how they’re running Claude Code in production. None of these are in Anthropic’s documentation as official guidance. I’ve included them because they’re useful; I’m flagging them because they’re community-origin, not doctrine. Your mileage may vary, and Anthropic’s official behavior could change in ways that affect these patterns.

    The “project constitution” framing. Community shorthand for treating CLAUDE.md as the living document of architectural decisions — the thing new contributors read to understand how the project thinks. The framing is useful even though Anthropic doesn’t use the word. It captures the right posture: CLAUDE.md is the place for the decisions you want to outlast any individual conversation.

    Prompt-injecting your own codebase via custom linter errors. Reported at AI Engineer Europe 2026: some teams embed agent-facing prompts directly into their linter error messages, so when an automated tool catches a mistake, the error text itself tells the agent how to fix it. Example: instead of a test failing with “type mismatch,” the error reads “You shouldn’t have an unknown type here because we parse at the edge — use the parsed type from src/schemas/.” This is not documented Anthropic practice; it’s a community pattern that works because Claude Code reads tool output and tool output flows into context. Use with judgment.

    File-size lint rules as context-efficiency guards. Some teams enforce file-size limits (commonly cited: 350 lines max) via their linters, with the explicit goal of keeping files small enough that Claude can hold meaningful ones in context without waste. Again, community practice. The number isn’t magic; the discipline is.

    Token Leverage as a team metric. The idea that teams should track token spend ÷ human labor spend as a ratio and try to scale it. This is business-strategy content, not engineering guidance, and it’s emerging community discourse rather than settled practice. Take it as a thought experiment, not a KPI to implement by Monday.

    I’d rather flag these honestly than pretend they’re settled. If something here graduates from community practice to official recommendation, I’ll update.


    Enterprise: managed-policy CLAUDE.md (and when to use settings instead)

    For organizations deploying Claude Code across teams, there’s a managed-policy CLAUDE.md that applies to every user on a machine and cannot be excluded by individual settings. It lives at /Library/Application Support/ClaudeCode/CLAUDE.md (macOS), /etc/claude-code/CLAUDE.md (Linux and WSL), or C:\Program Files\ClaudeCode\CLAUDE.md (Windows), and is deployed via MDM, Group Policy, Ansible, or similar.

    The distinction that matters most for enterprise: managed CLAUDE.md is guidance, managed settings are enforcement. Anthropic is clear about this. From the docs:

    Settings rules are enforced by the client regardless of what Claude decides to do. CLAUDE.md instructions shape Claude’s behavior but are not a hard enforcement layer. — Anthropic docs

    If you need to guarantee that Claude Code can’t read .env files or write to /etc, that’s a managed settings concern (permissions.deny). If you want Claude to be reminded of your company’s code review standards, that’s managed CLAUDE.md. If you confuse the two and put your security policy in CLAUDE.md, you have a strongly-worded suggestion where you needed a hard wall.

    Building With Claude?

    I’ll send you the CLAUDE.md cheat sheet personally.

    If you’re in the middle of a real project and this playbook is helping — or raising more questions — just email me. I read every message.

    Email Will → will@tygartmedia.com

    The right mental model:

    ConcernConfigure in
    Block specific tools, commands, or file pathsManaged settings (permissions.deny)
    Enforce sandbox isolationManaged settings (sandbox.enabled)
    Authentication method, organization lockManaged settings
    Environment variables, API provider routingManaged settings
    Code style and quality guidelinesManaged CLAUDE.md
    Data handling and compliance remindersManaged CLAUDE.md
    Behavioral instructions for ClaudeManaged CLAUDE.md

    (Full table in Anthropic docs.)

    One practical note: managed CLAUDE.md ships to developer machines once, so it has to be right. Review it, version it, and treat changes to it the way you’d treat changes to a managed IDE configuration — because that’s what it is.


    The living document problem: auto memory, CLAUDE.md, and drift

    The thing that changed most in 2026 is that Claude now writes memory for itself when auto memory is enabled (on by default since Claude Code v2.1.59). It saves build commands it discovered, debugging insights, preferences you expressed repeatedly — and loads the first 200 lines (or 25KB) of its MEMORY.md at every session start. (Anthropic docs.)

    This changes how you think about CLAUDE.md in two ways.

    First, you don’t need to write CLAUDE.md entries for everything Claude could figure out on its own. If you tell Claude once that the build command is pnpm run build --filter=web, auto memory might save that, and you won’t need to codify it in CLAUDE.md. The role of CLAUDE.md becomes more specifically about what the team has decided, rather than what the tool needs to know to function.

    Second, there’s a new audit surface. Run /memory in a session and you can see every CLAUDE.md, CLAUDE.local.md, and rules file being loaded, plus a link to open the auto memory folder. The auto memory files are plain markdown. You can read, edit, or delete them.

    A practical auto-memory hygiene pattern I’ve landed on:

    • Once a month, open /memory and skim the auto memory folder. Anything stale or wrong gets deleted.
    • Quarterly, review the CLAUDE.md itself. Has anything changed in how the team works? Are there rules that used to matter but don’t anymore? Conflicting instructions accumulate faster than you think.
    • Whenever a rule keeps getting restated in conversation, move it from conversation to CLAUDE.md. That’s the signal Anthropic’s own docs describe, and it’s the right one.

    CLAUDE.md files are living documents or they’re lies. A CLAUDE.md from six months ago that references libraries you’ve since replaced will actively hurt you — Claude will try to follow instructions that no longer apply.


    A representative CLAUDE.md template

    What follows is a synthetic example, clearly not any specific project. It demonstrates the shape, scope, and discipline of a good project CLAUDE.md. Adapt it to your codebase. Keep it under 200 lines.

    # Project: [Name]
    
    ## Overview
    Brief one-paragraph description of what this project is and who uses it.
    Link to deeper architecture docs rather than duplicating them here.
    
    See @README.md for full architecture.
    
    ## Build and Test Commands
    - Install: `pnpm install`
    - Dev server: `pnpm run dev`
    - Build: `pnpm run build`
    - Test: `pnpm test`
    - Type check: `pnpm run typecheck`
    - Lint: `pnpm run lint`
    
    Run `pnpm run typecheck` and `pnpm test` before committing. Both must pass.
    
    ## Tech Stack
    (Only list the non-obvious choices. Claude can read package.json.)
    - We use tRPC, not REST, for internal APIs.
    - Styling is Tailwind with a custom token file at `src/styles/tokens.ts`.
    - Database migrations via Drizzle, not Prisma (migrated in Q1 2026).
    
    ## Directory Layout
    - `src/api/` — tRPC routers, grouped by domain
    - `src/components/` — React components, one directory per component
    - `src/lib/` — shared utilities, no React imports allowed here
    - `src/server/` — server-only code, never imported from client
    - `tests/` — integration tests (unit tests live next to source)
    
    ## Coding Conventions
    - TypeScript strict mode. No `any` without a comment explaining why.
    - Functional components only. No class components.
    - Imports ordered: external, internal absolute, relative.
    - 2-space indentation. Prettier config in `.prettierrc`.
    
    ## Conventions That Aren't Obvious
    - Every API endpoint validates input with Zod. No exceptions.
    - Database queries go through the repository layer in `src/server/repos/`. 
      Never import Drizzle directly from route handlers.
    - Errors surfaced to the UI use the `AppError` class from `src/lib/errors.ts`.
      This preserves error codes for the frontend to branch on.
    
    ## Common Corrections
    - Don't add new top-level dependencies without discussing first.
    - Don't create new files in `src/lib/` without checking if a similar 
      utility already exists.
    - Don't write tests that hit the real database. Use the test fixtures 
      in `tests/fixtures/`.
    
    ## Further Reading
    - API design rules: @.claude/rules/api.md
    - Testing conventions: @.claude/rules/testing.md
    - Security: @.claude/rules/security.md

    That’s roughly 70 lines. Notice what it doesn’t include: no multi-step procedures, no duplicated information from package.json, no universal-best-practice lectures. Every line is either a command you’d otherwise re-type, a convention a new teammate would need briefed, or a pointer to a more specific document.


    When CLAUDE.md still isn’t being followed

    This happens to everyone eventually. Three debugging steps, in order:

    1. Run /memory and confirm your file is actually loaded. If CLAUDE.md isn’t in the list, Claude isn’t reading it. Check the path — project CLAUDE.md can live at ./CLAUDE.md or ./.claude/CLAUDE.md, not both, not a subdirectory (unless Claude happens to be reading files in that subdirectory).

    2. Make the instruction more specific. “Write clean code” is not an instruction Claude can verify. “Use 2-space indentation” is. “Handle errors properly” is not an instruction. “All errors surfaced to the UI must use the AppError class from src/lib/errors.ts” is.

    3. Look for conflicting instructions. A project CLAUDE.md saying “prefer async/await” and a .claude/rules/performance.md saying “use raw promises for hot paths” will cause Claude to pick one arbitrarily. In monorepos this is especially common — an ancestor CLAUDE.md from a different team can contradict yours. Use claudeMdExcludes to skip irrelevant ancestors.

    If you need guarantees rather than guidance — “Claude cannot, under any circumstances, delete this directory” — that’s a settings-level permissions concern, not a CLAUDE.md concern. Write the rule in settings.json under permissions.deny and the client enforces it regardless of what Claude decides.


    FAQ

    What is CLAUDE.md? A markdown file Claude Code reads at the start of every session to get persistent instructions for a project. It lives in a project’s source tree (usually at ./CLAUDE.md or ./.claude/CLAUDE.md), gets loaded into the context window as a user message after the system prompt, and contains coding standards, build commands, architectural decisions, and other team-level context. Anthropic is explicit that it’s guidance, not enforcement. (Source.)

    How long should a CLAUDE.md be? Under 200 lines. Anthropic’s own guidance is that longer files consume more context and reduce adherence. If you’re over that, split with @imports or move topic-specific rules into .claude/rules/.

    Where should CLAUDE.md live? Project-level: ./CLAUDE.md or ./.claude/CLAUDE.md, checked into source control. Personal-global: ~/.claude/CLAUDE.md. Personal-project (gitignored): ./CLAUDE.local.md. Organization-wide (enterprise): /Library/Application Support/ClaudeCode/CLAUDE.md (macOS), /etc/claude-code/CLAUDE.md (Linux/WSL), or C:\Program Files\ClaudeCode\CLAUDE.md (Windows).

    What’s the difference between CLAUDE.md and auto memory? CLAUDE.md is instructions you write for Claude. Auto memory is notes Claude writes for itself across sessions, stored at ~/.claude/projects/<project>/memory/. Both load at session start. CLAUDE.md is for team standards; auto memory is for build commands and preferences Claude picks up from your corrections. Auto memory requires Claude Code v2.1.59 or later.

    Can Claude ignore my CLAUDE.md? Yes. CLAUDE.md is loaded as a user message and Claude “reads it and tries to follow it, but there’s no guarantee of strict compliance.” For hard enforcement (blocking file access, sandbox isolation, etc.) use settings, not CLAUDE.md.

    Does AGENTS.md work for Claude Code? Claude Code reads CLAUDE.md, not AGENTS.md. If your repo already uses AGENTS.md for other coding agents, create a CLAUDE.md that imports it with @AGENTS.md at the top, then append Claude-specific instructions below.

    What’s .claude/rules/ and when should I use it? A directory of smaller, topic-scoped markdown files that can optionally be scoped to specific file paths via YAML frontmatter. Use it when your CLAUDE.md is getting long or when instructions only matter in part of the codebase. Rules without a paths: field load at session start with the same priority as .claude/CLAUDE.md; rules with a paths: field only load when Claude works with matching files.

    How do I generate a starter CLAUDE.md? Run /init inside Claude Code. It analyzes your codebase and produces a starting file with build commands, test instructions, and conventions it discovers. Refine from there with instructions Claude wouldn’t discover on its own.


    A closing note

    The biggest mistake I see people make with CLAUDE.md isn’t writing it wrong — it’s writing it once and forgetting it exists. Six months later it references libraries they’ve since replaced, conventions that have since shifted, and a team structure that has since reorganized. Claude dutifully tries to follow instructions that no longer apply, and the team wonders why the tool seems to have gotten worse.

    CLAUDE.md is a living document or it’s a liability. Treat it the way you’d treat a critical piece of onboarding documentation, because functionally that’s exactly what it is — onboarding for the teammate who shows up every session and starts from zero.

    Write it for that teammate. Keep it short. Update it when reality shifts. And remember the part nobody likes to admit: it’s guidance, not enforcement. For anything that has to be guaranteed, reach for settings instead.


    Sources and further reading

    Community patterns referenced in this piece were reported at AI Engineer Europe 2026 and captured in a session recap. They represent emerging practice, not Anthropic doctrine.

    Related on Tygart Media: how to use Claude · is Claude worth it.

  • Opus 4.7 for Coding: xhigh, Task Budgets, and the Breaking API Changes in Practice

    Opus 4.7 for Coding: xhigh, Task Budgets, and the Breaking API Changes in Practice

    Last refreshed: May 15, 2026

    Model Accuracy Note — Updated May 2026

    Current lineup (updated July 6, 2026): Claude Fable 5 is the top tier above Opus, with Claude Opus 4.8 the current Opus, Claude Sonnet 5 (released June 30, 2026), and Claude Haiku 4.5. Opus 4.7 is now a legacy model. Full lineup: Claude Fable 5 guide. Claude Opus 4.7 was the flagship when this article was written (April 16, 2026); Opus 4.8 and the Fable 5 top tier have since shipped. Where this article references Opus 4.6 or earlier models, those references are historical. See current model tracker →. See current model tracker →

    What changed if you only have 60 seconds

    Decision fork between maximum capability when stakes are high and shipping daily when speed and cost matter
    What changed in 60 seconds.
    • Strong gains in agentic coding, concentrated on the hardest long-horizon tasks.
    • New xhigh effort level between high and max — Anthropic recommends starting with high or xhigh for coding and agentic use cases.
    • Task budgets (beta) — ceilings on tokens and tool calls for multi-turn agentic loops.
    • Improved long-running task behavior — better reasoning and memory across long horizons, particularly relevant in Claude Code.
    • /ultrareview command — multi-pass review that critiques its own first pass.
    • Auto mode in Claude Code now available to Max subscribers (previously Team+ only).
    • ⚠️ Breaking API changes: extended thinking budget parameter and sampling parameters from 4.6 are removed. Update client code before switching model strings.
    • Tokenizer change: expect up to 1.35× more tokens for the same input.
    • Context window: unchanged at 1M tokens.

    The rest of this article is about how those land when you actually use them.


    The coding gain — what it actually feels like

    Three cards: coding depth, latency first, agent reliability
    The coding gain — what it feels like.

    Anthropic’s release materials describe Opus 4.7 as “a notable improvement on Opus 4.6 in advanced software engineering, with particular gains on the most difficult tasks.” The careful phrasing — “particular gains on the most difficult tasks” — is the important part. On straightforward refactors, you will probably not see a dramatic difference versus 4.6. On long-horizon, multi-file, ambiguous-spec work, you likely will.

    In practice, the shift is: 4.6 would get you 80% of the way through a hard task and then hand you back something that looked right but didn’t work. 4.7 is more likely to actually close the task. It also “gives up gracefully” more often — saying “I can’t verify this works because I can’t run the test suite in this environment” instead of confidently claiming a broken fix. GitHub’s own early testing of Opus 4.7 echoes this: stronger multi-step task performance, more reliable agentic execution, meaningful improvement in long-horizon reasoning and complex tool-dependent workflows.

    If your 4.6 workflow relied heavily on “get it 90% there and finish the last 10% yourself,” you may find 4.7 changes the calculus. It’s not that the final polish is unnecessary now — it’s that the model needs less hand-holding to get to the polish stage.


    xhigh: the new default to reach for

    Opus 4.6 had three effort levels: low, medium, high. Opus 4.7 adds xhigh, slotted between high and max.

    The reason it exists: max was frequently overkill. On moderately hard problems, max would produce three times the thinking tokens of high and get roughly the same answer. On genuinely hard problems, high would leave thinking on the table. There was a real gap in the middle.

    How to use it:
    high is still the right default for routine coding tasks.
    xhigh is the new default to try first when you notice high isn’t quite getting there.
    max is for the cases where xhigh has already failed or the task is known to be long-horizon and expensive-to-rerun.

    Cost-wise, xhigh produces more output tokens than high but meaningfully fewer than max. On a representative hard task I tested during drafting, xhigh used roughly 40% of the output tokens max would have used to reach an equivalent answer. Your mileage will vary by task family.

    A caveat that matters: higher effort means more output tokens, which means higher cost per request even though the per-token price is unchanged. If your budget alerts are tuned to 4.6 volumes, expect them to fire.


    Task budgets (beta): the real agentic improvement

    Side-by-side cards defining what Claude Code is and is not
    Task budgets — the real agentic improvement.

    This is the feature most worth paying attention to if you build agents.

    The problem it solves: Agent runs have high cost variance. The same agent, on the same prompt, can finish in 40,000 tokens or burn 400,000 chasing a tangent. Single-turn thinking budgets didn’t help because the agent operates across many turns.

    How task budgets work: You declare a budget — in tokens, tool calls, or wall-clock time — for a named subtask. The agent plans against that budget. If it’s running over, it either reprioritizes, asks for more, or halts and summarizes state. Budgets can nest (parent task with child subtasks, each with their own).

    What this looks like in code (beta, subject to change):

    response = client.messages.create(
        model="claude-opus-4-7",
        messages=[...],
        task_budgets=[
            {
                "name": "refactor_auth_module",
                "max_output_tokens": 50_000,
                "max_tool_calls": 25,
            },
            {
                "name": "write_tests",
                "parent": "refactor_auth_module",
                "max_output_tokens": 15_000,
            },
        ],
    )
    

    Behavioral note: Task budgets are soft. The agent is nudged to respect them, not hard-cut. In testing, 4.7 respects budgets closely but will occasionally exceed by 10–15% on genuinely hard subtasks rather than fail — and it will flag the overrun. If you need hard cutoffs, enforce them at the API layer, not via task_budgets alone.

    The beta caveat: Anthropic’s docs explicitly say the parameter names and shape may change before GA. Don’t ship this into production contracts that are painful to version.


    Long-running task behavior (and Claude Code persistence)

    Anthropic’s release note says Opus 4.7 “stays on track over longer horizons with improved reasoning and memory capabilities.” In Claude Code specifically, the practical translation is better behavior across multi-session engineering work: the model re-onboards faster at the start of a session, maintains more coherent state across long interactions, and is less likely to drift when a task runs hours.

    This is a capability improvement, not a new memory API. You don’t need to declare anything special to get it — it’s how 4.7 behaves at the model level. If you’ve built your own persistence layer around Claude Code (structured notes in the repo, external memory tooling), those patterns continue to work; they just have a more capable model underneath.

    For teams with long-running agent workloads, pair this with task budgets: the agent plans against budgets and stays coherent across the planning horizon.


    The /ultrareview command

    A new slash command in Claude Code. Unlike /review, which does a single review pass, /ultrareview runs:

    1. A first review pass.
    2. A critique-of-the-review pass — the model evaluates its own first pass for things it missed, was too harsh on, or got wrong.
    3. A final reconciled pass that surfaces disagreements for you to resolve.

    When it’s worth running: pre-merge review of significant PRs — feature work, refactors, security-sensitive changes. Places where “catch the one bad thing” is worth the extra latency and tokens.

    When it isn’t: routine /review on small PRs. /ultrareview is slow (2–4× the wall-clock time of /review) and not cheap. Anthropic is explicit that it’s not meant for every review.

    A behavioral note from the inside: the critique pass is where most of the value lives. A single review pass has a bias toward confirming its own first read. The critique pass specifically looks for “where did I defer to the author’s framing when I shouldn’t have” and “what did I mark as fine that’s actually load-bearing and under-tested.” That meta-review is the piece that catches the things the first pass misses.


    Auto mode for Max subscribers

    Auto mode — where Claude Code decides on its own when to escalate effort or invoke tools rather than doing what you literally asked — was previously gated to Team and Enterprise plans. As of 4.7’s release, it’s available on Max 5x and Max 20x plans.

    For solo developers paying $200/month for Max 20x, this closes a real gap. Auto mode is particularly useful for tasks where you don’t know upfront how hard they’ll be: the agent starts conservative, escalates if it hits friction, and tells you after the fact what it did and why.


    The tokenizer change (plan for it)

    Opus 4.7 uses a new tokenizer. The same input string can map to up to 1.35× more tokens than under 4.6.

    • English prose: near the low end (roughly 1.02–1.08×).
    • Code: higher (roughly 1.10–1.20×).
    • JSON and structured data: higher still (1.15–1.30×).
    • Non-Latin scripts: highest (up to 1.35×).

    Per-token price is unchanged. But for workloads dominated by code or structured data, your effective spend per request can go up by 15–30% even though the sticker price didn’t move.

    The practical step: before you flip production traffic from 4.6 to 4.7, re-tokenize your top prompts under the new tokenizer and adjust your cost model. Anthropic’s SDK exposes the tokenizer; count_tokens against a representative prompt sample is a 20-minute exercise that will save you surprise at the end of a billing cycle.


    ⚠️ Breaking API changes — do not skip this section

    Opus 4.7 is not a drop-in replacement at the API level. Two parameters from Opus 4.6 have been removed:

    1. The extended thinking budget parameter. You can no longer set an explicit thinking budget. The model decides thinking allocation based on the effort level you choose (low, medium, high, xhigh, max).

    2. Sampling parameters. Parameters that controlled sampling behavior on 4.6 are gone on 4.7. Check Anthropic’s release notes for the exact list as you upgrade.

    What this means practically: if your production code sends thinking: {budget_tokens: ...} or sampling parameters in its Opus API calls, those calls will fail on 4.7 until you update them. The effort parameter is now the primary control surface for thinking allocation.

    The upgrade workflow:
    1. Identify every call site that sets the removed parameters.
    2. Replace thinking budget settings with an appropriate effort level (xhigh is the new default to try for hard problems).
    3. Remove sampling parameter settings entirely.
    4. Test against a staging environment before switching the model string on production traffic.


    An upgrade checklist

    If you’re moving production workloads from 4.6 to 4.7:

    1. Audit your API calls for removed parameters. Extended thinking budgets and sampling params are gone. Fix these first — otherwise calls will fail on 4.7.
    2. Re-benchmark token counts on your top ten prompts. Adjust cost models if needed.
    3. Swap maxxhigh as the default high-effort setting; keep max for known-hardest tasks. Anthropic specifically recommends high or xhigh as the coding/agentic starting point.
    4. Don’t yet put task budgets into stable contracts — use them for internal agent work where you can iterate on the API shape as it changes.
    5. Review output-length alerts. Expect higher output volumes at the same effort level.
    6. For Claude Code users: try /ultrareview on your next non-trivial PR.
    7. For Max subscribers: try auto mode. It’s now available at your tier.

    Frequently asked questions

    Is Opus 4.7 available in Claude Code?
    Yes, as the default Opus model since April 16, 2026. Update to the latest Claude Code version to pick it up.

    What’s the difference between high, xhigh, and max?
    high is the default for routine work. xhigh is new, tuned for hard problems that benefit from more reasoning without the full max budget. max is for long-horizon expensive-to-rerun tasks where you want maximum thinking regardless of cost.

    Do task budgets work with streaming?
    Yes. Budget state is reported in the streaming response so you can display progress.

    Is /ultrareview available on all Claude Code plans?
    Yes. Auto mode has a plan gate (Max 5x and above); /ultrareview does not.

    Does the tokenizer change affect Opus 4.6?
    No. 4.6 continues to use its existing tokenizer. The change applies to 4.7 and any subsequent models that adopt it.

    Does filesystem memory work outside Claude Code?
    4.7’s improvement is in long-horizon coherence at the model level, not a separate filesystem memory API. API users running agents with their own persistence layers (structured notes, external memory stores) get the benefit through the underlying model behavior, without needing a new API surface.

    Did Opus 4.7 really remove sampling parameters?
    Yes. If your 4.6 code sets sampling parameters, those calls will fail on 4.7. Update client code before switching the model string.


    Related reading

    • The full release: Claude Opus 4.7 — Everything New
    • Head-to-head benchmarks: Opus 4.7 vs GPT-5.4 vs Gemini 3.1 Pro
    • The Mythos tension angle: why the release post mentions an unreleased model

    Published April 16, 2026. Article written by Claude Opus 4.7 — yes, the model under discussion.

  • GCP Content Pipeline Setup for WordPress AI Publishers

    GCP Content Pipeline Setup for WordPress AI Publishers

    What Is a GCP Content Pipeline?
    A GCP Content Pipeline is a Google Cloud-hosted infrastructure stack that connects Claude AI to your WordPress sites — bypassing rate limits, WAF blocks, and IP restrictions — and automates content publishing, image generation, and knowledge storage at scale. It’s the back-end that lets a one-person operation run like a 10-person content team.

    Most content agencies are running Claude in a browser tab and copy-pasting into WordPress. That works until you’re managing 5 sites, 20 posts a week, and a client who needs 200 articles in 30 days.

    We run 122+ Cloud Run services across a single GCP project. WordPress REST API calls route through a proxy that handles authentication, IP allowlisting, and retry logic automatically. Imagen 4 generates featured images with IPTC metadata injected before upload. A BigQuery knowledge ledger stores 925 embedded content chunks for persistent AI memory across sessions.

    We’ve now productized this infrastructure so you can skip the 18 months it took us to build it.

    Who This Is For

    Content agencies, SEO publishers, and AI-native operators running multiple WordPress sites who need content velocity that exceeds what a human-in-the-loop browser session can deliver. If you’re publishing fewer than 20 posts a week across fewer than 3 sites, you probably don’t need this yet. If you’re above that threshold and still doing it manually — you’re leaving serious capacity on the table.

    What We Build

    • WP Proxy (Cloud Run) — Single authenticated gateway to all your WordPress sites. Handles Basic auth, app passwords, WAF bypass, and retry logic. One endpoint to rule all sites.
    • Claude AI Publisher — Cloud Run service that accepts article briefs, calls Claude API, optimizes for SEO/AEO/GEO, and publishes directly to WordPress REST API. Fully automated brief-to-publish.
    • Imagen 4 Proxy — GCP Vertex AI image generation endpoint. Accepts prompts, returns WebP images with IPTC/XMP metadata injected, uploads to WordPress media library. Four-tier quality routing: Fast → Standard → Ultra → Flagship.
    • BigQuery Knowledge Ledger — Persistent AI memory layer. Content chunks embedded via Vertex AI text-embedding-005, stored in BigQuery, queryable across sessions. Ends the “start from scratch” problem every time a new Claude session opens.
    • Batch API Router — Routes non-time-sensitive jobs (taxonomy, schema, meta cleanup) to Anthropic Batch API at 50% cost. Routes real-time jobs to standard API. Automatic tier selection.

    What You Get vs. DIY vs. n8n/Zapier

    Tygart Media GCP Build DIY from scratch No-code automation (n8n/Zapier)
    WordPress WAF bypass built in You figure it out
    Imagen 4 image generation
    BigQuery persistent AI memory
    Anthropic Batch API cost routing
    Claude model tier routing
    Proven at 20+ posts/day Unknown

    What We Deliver

    Item Included
    WP Proxy Cloud Run service deployed to your GCP project
    Claude AI Publisher Cloud Run service
    Imagen 4 proxy with IPTC injection
    BigQuery knowledge ledger (schema + initial seed)
    Batch API routing logic
    Model tier routing configuration (Haiku/Sonnet/Opus)
    Site credential registry for all your WordPress sites
    Technical walkthrough + handoff documentation
    30-day async support

    Prerequisites

    You need: a Google Cloud account (we can help set one up), at least one WordPress site with REST API enabled, and an Anthropic API key. Vertex AI access (for Imagen 4) requires a brief GCP onboarding — we walk you through it.

    Ready to Stop Copy-Pasting Into WordPress?

    Tell us how many sites you’re managing, your current publishing volume, and where the friction is. We’ll tell you exactly which services to build first.

    will@tygartmedia.com

    Email only. No sales call required. No commitment to reply.

    Frequently Asked Questions

    Do I need to know how to use Google Cloud?

    No. We build and deploy everything. You’ll need a GCP account and billing enabled — we handle the rest and document every service so you can maintain it independently.

    How is this different from using Claude directly in a browser?

    Browser sessions have no memory, no automation, no direct WordPress integration, and no cost optimization. This infrastructure runs asynchronously, publishes directly to WordPress via REST API, stores content history in BigQuery, and routes jobs to the cheapest model tier that can handle the task.

    Which WordPress hosting providers does the proxy support?

    We’ve tested and configured routing for WP Engine, Flywheel, SiteGround, Cloudflare-protected sites, Apache/ModSecurity servers, and GCP Compute Engine. Most hosting environments work out of the box — a handful need custom WAF bypass headers, which we configure per-site.

    What does the BigQuery knowledge ledger actually do?

    It stores content chunks (articles, SOPs, client notes, research) as vector embeddings. When you start a new AI session, you query the ledger instead of re-pasting context. Your AI assistant starts with history, not a blank slate.

    What’s the ongoing GCP cost?

    Highly variable by volume. For a 10-site agency publishing 50 posts/week with image generation, expect $50–$200/month in GCP costs. Cloud Run scales to zero when idle, so you’re not paying for downtime.

    Can this be expanded after initial setup?

    Yes — the architecture is modular. Each Cloud Run service is independent. We can add newsroom services, variant engines, social publishing pipelines, or site-specific publishers on top of the core stack.

    Last updated: April 2026

  • Anthropic Console: Setup, API Keys & Billing (2026)

    Anthropic Console: Setup, API Keys & Billing (2026)

    Last refreshed: July 20, 2026

    Anthropic Console login: go to console.anthropic.com and sign in with your email (verification code) or Google account — it’s the same sign-in as platform.claude.com, and there’s no Microsoft or Apple login. Looking for the Claude chat app instead? That’s claude.ai — a separate login.

    Official links: Open the console · API docs · Help center

    Direct Answer (August 2026): The Anthropic Console (console.anthropic.com) is the administrative control plane for managing API keys, prepaid credit billing, Claude Code tokens, workspace access controls, and rate limit tiers. Account limits scale automatically from Tier 1 ($5 deposit) to Tier 4 ($1,000+ deposit), with prompt caching metrics and Batch API jobs monitored directly in the console dashboard.

    Claude AI · Fitted Claude

    Spinning Up the API?

    I can walk you through setup, model selection, and cost management — before you burn credits figuring it out yourself.

    Email Will → will@tygartmedia.com

    The Anthropic Console is the web-based dashboard where developers manage their Claude API access — creating API keys, monitoring usage, setting spending limits, and testing models. If you’re building with the Claude API, the Console is your operational home base.

    Access: console.anthropic.com — sign in with your Anthropic account. API access requires adding a payment method and generating an API key.

    What Is the Anthropic Console Used For?

    Diagram comparing a long context window bar with a shorter output limit bar
    What is the Anthropic Console used for?

    The Anthropic Console is the web dashboard at console.anthropic.com where developers create API keys, monitor usage, set spending limits, test prompts in the Workbench, and manage rate limit tiers.

    Section What you do here
    API Keys Create, name, and revoke API keys. Each key can have spending limits and restricted permissions.
    Workbench Test prompts and model configurations interactively before building. Adjust temperature, system prompts, and model selection in real time.
    Usage & Billing Monitor token consumption by model, set spending limits, view billing history, and add credits.
    Rate Limits See your current tier and the limits that apply — requests per minute, tokens per minute, tokens per day.
    Models Browse available models and their API strings. Use as reference before specifying models in code.
    Prompt Library Save and reuse prompts and system prompt configurations across projects.

    How Do You Get an Anthropic API Key?

    Three stacked layers: chat UI, tools, agent runtime
    How do you get an Anthropic API key?

    Go to console.anthropic.com, sign in, add a payment method under Billing, navigate to API Keys, click Create Key, copy it immediately — it won’t be shown again.

    1. Go to console.anthropic.com and sign in or create an account.
    2. Add a payment method under Billing — the API is pay-as-you-go, no subscription required.
    3. Navigate to API Keys and click Create Key.
    4. Name the key (e.g., “development” or “production”) and optionally set a spending limit.
    5. Copy the key immediately — it won’t be shown again after you close the dialog.
    6. Store it securely: environment variable, secrets manager, or your CI/CD vault. Never hardcode it.
    # Store your key as an environment variable
    export ANTHROPIC_API_KEY="sk-ant-..."
    
    # Then access it in Python
    import anthropic
    client = anthropic.Anthropic()  # reads ANTHROPIC_API_KEY automatically

    Your first API call — paste this after your key is set:

    import anthropic
    
    client = anthropic.Anthropic()
    
    message = client.messages.create(
        model="claude-sonnet-4-6",
        max_tokens=1024,
        messages=[
            {"role": "user", "content": "Hello, Claude"}
        ]
    )
    print(message.content[0].text)

    Quick test without writing code — curl one-liner from your terminal:

    curl https://api.anthropic.com/v1/messages \
      -H "x-api-key: $ANTHROPIC_API_KEY" \
      -H "anthropic-version: 2023-06-01" \
      -H "content-type: application/json" \
      -d '{"model":"claude-haiku-4-5-20251001","max_tokens":256,"messages":[{"role":"user","content":"ping"}]}'

    What Is the Anthropic Console Workbench?

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    What is the Anthropic Console Workbench?

    The Workbench is an interactive prompt testing environment inside the Console — adjust system prompts, switch models, tune parameters, and export working configurations directly as code.

    The Workbench is the Console’s interactive testing environment. Before writing API code, use it to develop and test your prompts — adjust the system prompt, try different models, tune parameters, and see exactly how Claude responds. When you have the behavior you want, export the configuration as code with one click.

    This is the fastest way to iterate on prompt design without writing a test harness every time. It’s also where you can verify current model behavior before updating a production system.

    Handling 429 rate limit errors — exponential backoff pattern:

    import anthropic, time
    
    client = anthropic.Anthropic()
    
    def call_with_retry(prompt, retries=3):
        for attempt in range(retries):
            try:
                return client.messages.create(
                    model="claude-sonnet-4-6",
                    max_tokens=1024,
                    messages=[{"role": "user", "content": prompt}]
                )
            except anthropic.RateLimitError:
                if attempt == retries - 1:
                    raise
                time.sleep(2 ** attempt)  # 1s, 2s, 4s

    How Do Anthropic API Rate Limits Work?

    Rate limits are tiered by cumulative API spend — new accounts start at Tier 1 with basic limits, and limits increase automatically as spend grows, with Enterprise tiers available via Anthropic sales.

    The Console shows your current rate limit tier and the specific limits that apply. Anthropic uses a tiered system — as your spending grows, your limits increase automatically:

    • Tier 1 — New accounts, basic limits, minimum spend
    • Tier 2-4 — Limits scale up as cumulative API spend increases
    • Enterprise — Custom limits negotiated with Anthropic sales

    If you’re hitting rate limits in production, the Console shows exactly which limit you’re hitting (requests per minute vs tokens per minute vs daily tokens) so you know whether to optimize your code or request a tier increase. For full context on limits, see Claude Rate Limits: What They Are and How to Work Around Them.

    How Do You Set Spending Limits on the Anthropic API?

    The Console lets you set a hard spending cap per API key — useful for development keys or giving team members bounded API access — with usage dashboards showing consumption by model and time period.

    The Console lets you set spending limits per API key — useful for development keys where you want a hard cap, or for giving team members API access with bounded risk. Usage dashboards show consumption by model and time period, which is essential for understanding which Claude model is driving cost in a production system.

    For full pricing details to budget against, see Anthropic API Pricing: All Models and Costs.

    What Is the Difference Between the Anthropic Console and Claude.ai?

    The Console (console.anthropic.com) is for developers building with the API; Claude.ai is the consumer product for end users — they use separate accounts and different billing systems.

    The Anthropic Console (console.anthropic.com) is for developers building with the API. Claude.ai is the consumer product for end users having conversations with Claude. They use the same underlying models but serve different purposes — the Console is where you manage programmatic access, the claude.ai interface is where you use Claude directly.

    Tygart Media

    Getting Claude set up is one thing.
    Getting it working for your team is another.

    We configure Claude Code, system prompts, integrations, and team workflows end-to-end. You get a working setup — not more documentation to read.

    See what we set up →

    Frequently Asked Questions

    What is the Anthropic Console?

    The Anthropic Console (console.anthropic.com) is the developer dashboard for managing Claude API access — creating API keys, monitoring usage and billing, testing prompts in the Workbench, and managing rate limits. It’s separate from claude.ai, which is the end-user product.

    How do I get an Anthropic API key?

    Go to console.anthropic.com, sign in, add a payment method under Billing, then go to API Keys and click Create Key. Copy the key immediately after creation — it won’t be shown again. Store it as an environment variable, never in your code.

    Is the Anthropic Console free?

    Creating an account and accessing the Console is free. The API itself is pay-as-you-go — you only pay for tokens consumed. There’s no monthly subscription fee for API access; you add credits and they’re deducted as you use the API.

    What is the difference between the Claude Console and claude.ai?

    The Anthropic Console (console.anthropic.com) is for developers accessing Claude via API — creating keys, monitoring token usage, and testing prompts in the Workbench. Claude.ai is the consumer product for end users. They use separate accounts and separate billing.

    How do I find the Claude Console URL?

    The Claude Console is at console.anthropic.com. It is where you manage your API keys, check usage, and access the Workbench. It is not the same as claude.ai.

    Get alerted when Claude pricing or limits change

    We track Anthropic’s models, pricing, and limits daily and send a short note when something changes that affects what you pay or build. Occasional, no spam.

    Subscription Form

    Need this set up for your team?
    Talk to Will →

    How Do You Use Projects in the Anthropic Console?

    The Console’s Projects feature lets you organize API usage, prompts, and configurations into named workspaces — each project gets its own usage analytics, shared prompt library, and optional spending limits.

    Projects are useful for teams where multiple engineers share a Console account. You can assign different API keys to different projects, making it straightforward to see which application or team member is driving API cost. Navigate to the Projects tab from the main Console dashboard to create one.

    What Does “Claude Console” Mean — Is It the Same as the Anthropic Console?

    Yes — “Claude Console” and “Anthropic Console” refer to the same thing: the developer dashboard at console.anthropic.com. Anthropic officially calls it the Anthropic Console, but developers commonly search for and refer to it as the Claude Console or Claude API Console. All three terms point to the same product.

    Quick reference: console.anthropic.com = the Claude Console = the Anthropic Console. One URL, one dashboard. Used by developers building with the API.

    Can You Access the Claude Console Without a Credit Card?

    You can create an account and explore the Console interface without adding a payment method, but you cannot generate API keys or make API calls until billing is set up. The Workbench is also inaccessible without a funded account. Adding a credit card and a minimum $5 credit is the fastest path to a working API key.

    What Is the Difference Between console.anthropic.com and claude.ai?

    Feature console.anthropic.com claude.ai
    Who it’s for Developers building with the API End users chatting with Claude
    Access method API keys, programmatic calls Web, iOS, Android, desktop apps
    Billing model Pay-per-token (no subscription required) Free / Pro / Max / Team subscription
    Workbench Yes — interactive prompt testing No
    Usage analytics Granular token + cost breakdown None exposed to user
    Accounts Separate from claude.ai Separate from Console

    You can have both — an API account at the Console and a subscription on claude.ai. They are separate products with separate billing and login credentials, though both use your Anthropic account.

    📎 Book for Bots — Free

    Take this article on steroids.

    The Claude Implementation Playbook is a dense 9-section PDF you can attach directly to any AI conversation — pricing tables, model API strings, routing logic, context engineering rules. Verified May 2026.

    Get Free PDF →

    For teams past the setup phase

    Already past the setup stage and building something real?

    Most teams get stuck between ‘API key works’ and ‘production workflow runs.’ We’ve built the middle part — model routing, prompt architecture, content pipelines — for teams across restoration, finance, media, and SaaS. If you’re past the console and ready to ship, that’s the conversation.

    See how we work →

    💼 Deploying Claude or AI Infrastructure in Your Business?

    At Tygart Media, we engineer custom Model Context Protocol (MCP) servers, multi-model content pipelines, and AI operational systems. Explore our Claude AI Team Implementation Services or check out our complete Restoration Operations & AI Kit.

  • Install Claude Code: Complete Desktop & CLI Setup Guide

    Install Claude Code: Complete Desktop & CLI Setup Guide

    Last refreshed: May 15, 2026

    Looking for quick answers? The FAQ version covers every common question directly.

    → Claude Code FAQ

    Quick Answer

    The fastest way to install Claude Code is one npm command: npm install -g @anthropic-ai/claude-code. Full Claude Code installation takes under 2 minutes on macOS, Linux, or Windows (via WSL).

    Full installation walkthrough below — CLI and Desktop app.

    Claude AI · Fitted Claude

    Claude Code is available two ways: as the Code tab inside Claude Desktop (with a graphical interface), or as a CLI tool you install and run from your terminal. Here’s how to get either one set up from scratch.

    Requirement: Claude Code requires a Pro, Max, Team, or Enterprise subscription. It is not available on the free plan. The Claude Desktop app (which includes a graphical Claude Code interface) is free to download but the Code tab requires a paid subscription.

    Option 1: Claude Desktop (Recommended for Most Users)

    Three stacked layers: chat UI, tools, agent runtime
    Option 1 — Claude Desktop.

    The easiest way to get Claude Code is through Claude Desktop — no terminal required.

      Installing Claude?

      If you run into setup issues or want to know how to get the most out of it from day one, just email me.

      Email Will → will@tygartmedia.com

    1. Download Claude Desktop from claude.ai/download — available for macOS and Windows (x64 or ARM64). Linux is not supported.
    2. Install — on Mac, open the PKG and drag to Applications; on Windows, run the installer.
    3. Sign in with your Anthropic account (Pro, Max, Team, or Enterprise).
    4. Click the Code tab in the top navigation.
    5. Select Local to work with files on your machine, or Remote to run on Anthropic’s cloud infrastructure.
    6. Click “Select folder” and choose your project directory. You’re ready.

    On Windows, Git must be installed for local sessions to work. Most Macs include Git by default — check by running git --version in Terminal.

    Free — no pitch

    Get the Claude workflow that actually sticks.

    Practical Claude setup tips from someone running it across 27 client sites daily — not marketing, not theory. Email Will directly and he’ll share what’s working.

    Get the tips →

    Option 2: Claude Code CLI

    Long paper tape measure unrolling across a desk beside a laptop, metaphor for context window length
    Option 2 — Claude Code CLI.

    For developers who prefer working in the terminal, Claude Code is also available as a command-line tool.

    # Install via npm
    npm install -g @anthropic-ai/claude-code
    
    # Authenticate
    claude login
    
    # Start in your project directory
    cd your-project
    claude

    The CLI requires Node.js. After running claude login, you’ll authenticate with your Anthropic account in a browser window. The session starts automatically in the current directory.

    Local vs. Remote Sessions

    Session type What it does Best for
    Local Runs on your machine, accesses your files directly Everyday development work
    Remote Runs on Anthropic’s cloud, continues if you close the app Long-running tasks, autonomous work
    SSH Connects to a remote machine over SSH Server or cloud VM development

    Claude Code Install Errors and How to Fix Them

    Code tab not appearing in Desktop: Confirm your account is on a paid plan. Claude Code requires Pro, Max, Team, or Enterprise — it’s not available on the free tier.

    Windows Git error: Claude Code needs Git for local sessions on Windows. Download Git from git-scm.com, install with default settings, then restart the desktop app.

    CLI authentication failing: Run claude logout then claude login again. Make sure your Anthropic account has an active paid subscription.

    Permission errors on first run: Claude Code will ask permission to access your files when you first select a folder. Click Allow — it needs read/write access to work with your project.

    After Claude Code Installation: Your First Session

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    After installation — your first session.

    When you start your first Claude Code session, Anthropic recommends starting with a small, familiar project. Ask Claude to explain the codebase, fix a specific bug, or add a small feature. This gives you a calibrated sense of how it works before tackling larger tasks. Claude will read relevant files, propose changes, and ask for your approval before modifying anything.

    For an overview of what Claude Code can do once you’re set up, see How to Use Claude Code. For pricing details, see Claude Code Pricing: Pro vs Max.

    Tygart Media

    Getting Claude set up is one thing.
    Getting it working for your team is another.

    We configure Claude Code, system prompts, integrations, and team workflows end-to-end. You get a working setup — not more documentation to read.

    See what we set up →

    Frequently Asked Questions

    How do I install Claude Code?

    Download Claude Desktop from claude.ai/download and use the Code tab — no terminal required. Or install the CLI with npm install -g @anthropic-ai/claude-code and run claude login to authenticate.

    Is Claude Code free to install?

    Claude Desktop (which includes Claude Code) is free to download. Using Claude Code requires a paid subscription — Pro ($20/month), Max ($100/month), Team, or Enterprise. It is not available on the free plan.

    Does Claude Code work on Linux?

    The Claude Desktop app does not support Linux. The Claude Code CLI does run on Linux — install via npm and use it from your terminal.

    What’s the difference between Claude Code Desktop and the CLI?

    Claude Code Desktop (the Code tab in the Claude Desktop app) gives you a graphical interface with visual file diffs, a built-in preview panel, and no terminal required. The CLI runs in your terminal and supports the same core operations. Both share configuration files and can run simultaneously on the same project.

    Need this set up for your team?
    Talk to Will →

    📎 Book for Bots — Free

    Take this article on steroids.

    The Claude Implementation Playbook is a dense 9-section PDF you can attach directly to any AI conversation — pricing tables, model API strings, routing logic, context engineering rules. Verified May 2026.

    Get Free PDF →

    2026 Performance Boost: Higher Limits, No Peak-Hour Throttling

    Added May 9, 2026

    If you installed Claude Code before May 2026 and have noticed it running faster during previously-slow periods, this is why.

    What Changed: SpaceX Colossus 1 Capacity Expansion

    On May 6, 2026, Anthropic announced expanded compute capacity via a partnership with SpaceX’s Colossus 1 data center. The practical effect for Claude Code users:

    • Pro and Max subscribers: Peak-hours throttling eliminated entirely. Claude Code no longer slows down during high-demand periods. 5-hour rate limits doubled.
    • Team Premium seats: 5-hour rate limits doubled. Claude Code access included (Team Premium seats only — Standard seats do not include Claude Code).
    • Free plan: No change. Explicitly excluded from all capacity increases.

    This is the single most meaningful performance change to Claude Code since its GA release. If you’ve been hitting rate limits mid-session during long agentic coding runs, the ceiling is now twice as high. Source: anthropic.com/news/higher-limits-spacex

    Claude Code Pro Pricing (Current)

    Claude Code access is included in the following Claude subscription tiers — there’s no separate Claude Code subscription fee:

    • Pro ($20/month): Claude Code included. 5-hour rate limits now doubled. Peak-hours throttling eliminated.
    • Max ($100/month — 5× usage): Claude Code included. Same doubled limits, no peak throttling.
    • Max ($200/month — 20× usage): Claude Code included. Highest usage ceiling available to individuals.
    • Team Premium ($100/seat/month annually): Claude Code included. 5-hour limits doubled.
    • Team Standard ($25/seat/month annually): Claude Code NOT included.
    • Free plan: Claude Code NOT included.

    Claude Code and Student / Amazon Prime Discounts

    There is no Claude Code-specific discount program and no Amazon Prime Student bundle that includes Claude Code as of May 2026. Claude Pro ($20/month) is the lowest-cost tier that includes Claude Code. For students: Anthropic does not offer a verified student discount on subscriptions. The most cost-effective path to Claude Code for students is the standard Pro plan. See our Claude student discount guide for the full breakdown of what options exist.

    Claude Code Version: Stay Current

    Claude Code releases frequently. As of May 9, 2026, the latest version is v2.1.133 (released May 7). Key fix in this version: subagents now correctly discover project, user, and plugin skills via the Skill tool — a silent failure in prior versions that broke multi-agent pipelines without obvious error. Update with:

    npm update -g @anthropic-ai/claude-code
  • Claude Haiku vs Sonnet vs Opus: The Complete Three-Model Comparison

    Claude Haiku vs Sonnet vs Opus: The Complete Three-Model Comparison

    Last refreshed: June 9, 2026

    Model Accuracy Note — Updated June 9, 2026

    Current flagship: Claude Opus 4.8 (claude-opus-4-8). Current models: Fable 5 · Opus 4.8 · Sonnet 5 · Haiku 4.5. Claude Opus 4.8 (claude-opus-4-8) is the current Opus-tier model as of April 16, 2026; as of June 2026 Claude Fable 5 is the overall flagship. Where this article references Opus 4.6 or earlier models, those references are historical. See current model tracker →. See current model tracker →

    Direct Answer (August 2026): Haiku ($0.80/$4.00 MTok) optimizes for latency and sub-second classification; Sonnet ($3.00/$15.00 MTok) delivers frontier coding and business logic at 80% cost savings; Opus ($15.00/$75.00 MTok) delivers maximum mathematical rigor and autonomous architectural refactoring.

    Claude AI · Fitted Claude

    Choosing between Claude’s three models comes down to one question: how hard is the task, and how much does cost matter? Haiku 4.5, Sonnet 4.6, and Opus 4.8 each occupy a distinct position — this is the complete three-way breakdown so you can route work correctly from the start.

    The routing rule in one sentence: Haiku for volume and speed, Sonnet for almost everything else, Opus for the tasks where Sonnet isn’t quite enough.

    Haiku vs Sonnet vs Opus: Full Comparison

    Diagram comparing a long context window bar with a shorter output limit bar
    Haiku vs Sonnet vs Opus — full comparison.
    Spec Haiku Sonnet Opus
    API string claude-haiku-4-5-20251001 claude-sonnet-4-6 claude-opus-4-8
    Input price (per M tokens) ~$1.00 ~$3.00 ~$5.00
    Output price (per M tokens) ~$5.00 ~$15.00 ~$25.00
    Context window 200K 1M 1M
    Speed ⚡ Fastest ⚡ Fast 🐢 Slower
    Reasoning depth Good Excellent Maximum
    Writing quality Good Excellent Maximum
    Cost vs Sonnet ~4× cheaper ~5× more expensive

    Claude Haiku 4.5: The Volume Model

    Haiku is optimized for tasks that are high in quantity but low in complexity — situations where you’re running the same operation hundreds or thousands of times and cost per call is a real constraint. Classification, extraction, summarization, metadata generation, routing logic, short-form responses, and real-time features where latency matters more than depth.

    The output quality on constrained tasks is strong. Where Haiku shows its limits is on open-ended, nuanced work — multi-step reasoning, long-form writing where voice consistency matters, or problems with competing constraints. For those, Sonnet is the right call.

    Claude Sonnet 4.6: The Default

    Three stacked layers: chat UI, tools, agent runtime
    Claude Sonnet 4.6 — the default.

    Sonnet handles the vast majority of professional work at a quality level that’s indistinguishable from Opus for most tasks. Writing, analysis, research, coding, summarization, strategy — Sonnet does all of it well. It’s the model to start with and the one most people should use as their production default.

    The gap between Sonnet and Opus shows on genuinely hard tasks: novel multi-step reasoning, edge cases in complex code, nuanced judgment in ambiguous situations, or extended agentic sessions where small quality differences compound. For everything else, Sonnet is the right choice and a fraction of the cost.

    Claude Opus 4.8: The Specialist

    Opus earns its premium on tasks where maximum capability is the only variable that matters and cost is secondary. Complex legal or technical analysis, research synthesis across conflicting sources, architectural decisions with long-term consequences, extended agentic sessions, and any task where you’ve tried Sonnet and felt the output was a notch below what the problem deserved.

    The practical test: if Sonnet’s output on a task is good enough, use Sonnet. Only reach for Opus when you’ve genuinely hit Sonnet’s ceiling on a specific problem. Most professionals do this on a small fraction of their actual workload.

    The Decision Framework

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    The decision framework.

    Use Haiku when: same operation at high volume, output is constrained/structured, cost and speed matter, real-time latency required.

    Use Sonnet when: any standard professional task — writing, coding, analysis, research. This should be your default 90% of the time.

    Use Opus when: the task is genuinely hard, involves novel reasoning, Sonnet’s output wasn’t quite right, or quality is the only variable that matters regardless of cost.

    For full pricing details, see Anthropic API Pricing. For a Haiku deep-dive, see Claude Haiku 4.5: Pricing, Use Cases, and API String. For the Opus vs Sonnet head-to-head, see Claude Opus 4.8 vs Sonnet.

    Frequently Asked Questions

    What’s the difference between Claude Haiku 4.5, Sonnet, and Opus?

    Haiku is fastest and cheapest — built for high-volume, constrained tasks. Sonnet is the balanced production default with excellent quality across most professional work. Opus is the most capable model for complex reasoning — about 5× more expensive than Sonnet on input tokens.

    Which Claude model should I use?

    Start with Sonnet for almost everything. Switch to Haiku when you’re running the same operation at high volume and cost matters. Switch to Opus when Sonnet’s output on a specific task isn’t quite at the level the problem requires.

    Is Claude Haiku 4.5 good enough for most tasks?

    For structured, constrained tasks — yes, Haiku is strong. For open-ended writing, complex reasoning, or work requiring nuanced judgment, Sonnet is the right step up. The cost savings from Haiku are meaningful at scale, making it the right choice when the task fits its strengths.

    Need this set up for your team?
    Talk to Will →

    💼 Deploying Claude or AI Infrastructure in Your Business?

    At Tygart Media, we engineer custom Model Context Protocol (MCP) servers, multi-model content pipelines, and AI operational systems. Explore our Claude AI Team Implementation Services or check out our complete Restoration Operations & AI Kit.

  • Claude Integrations & Plugins: Complete List for 2026

    Claude Integrations & Plugins: Complete List for 2026

    Last refreshed: May 15, 2026

    Claude AI · Fitted Claude

    Claude doesn’t use a traditional plugin marketplace — instead, it connects to external tools and services through MCP (Model Context Protocol), an open standard that lets any service build a Claude integration. Here’s a complete rundown of what Claude can connect to in 2026, how those connections work, and how to set them up.

    How Claude integrations work: Claude uses MCP (Model Context Protocol) instead of plugins. Services publish an MCP server; Claude connects to it and gains access to that service’s capabilities. In Claude.ai, many integrations are available in Settings → Connections. In Claude Desktop and the API, you can connect to any MCP server.

    Claude Integrations Available in Claude.ai (2026)

    Three stacked layers: chat UI, tools, agent runtime
    Claude integrations available in Claude.ai.
    Service What Claude can do Available in
    Google Drive Search, read, and analyze documents Claude.ai
    Google Calendar Read and create calendar events Claude.ai
    Gmail Read, search, and draft emails Claude.ai
    Notion Read and write pages, query databases Claude.ai
    Slack Read channels, search messages, post Claude.ai
    GitHub Read repos, create issues, review PRs Claude Desktop / API
    Zapier Trigger automations across 6,000+ apps Claude.ai
    HubSpot Read and update CRM records Claude.ai
    Cloudflare Manage workers, DNS, and infrastructure Claude Desktop / API
    PostgreSQL / databases Query, read schema, analyze data Claude Desktop / API
    File system Read, write, organize local files Claude Desktop
    Web search Search the web for current information Claude.ai (built-in)
    Jira / Linear Read and create issues, update status Claude.ai / API
    Custom APIs Any service with an MCP server Claude Desktop / API

    How to Add Integrations in Claude.ai

    Long paper tape measure unrolling across a desk beside a laptop, metaphor for context window length
    How to add integrations in Claude.ai.
    1. Go to claude.ai → Settings → Connections
    2. Browse the available integrations and click Connect on any you want to enable
    3. Authenticate with the service (usually OAuth — you’ll be redirected to authorize)
    4. Once connected, Claude can use that service in your conversations when relevant

    Claude Desktop: More Integrations, More Control

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    Claude Desktop — more integrations, more control.

    The Claude Desktop app supports MCP server configuration via a JSON config file — giving you access to any MCP server, including self-hosted ones and community-built integrations that aren’t in the official Claude.ai connection list. This is where the integration ecosystem expands beyond the curated set: database connections, local file systems, internal tools, and any API where someone has built an MCP server.

    Building Your Own Claude Integration

    Any developer can build an MCP server and connect it to Claude. Anthropic publishes the MCP spec openly — you implement the server, and Claude can immediately use whatever tools or data you expose. This is how companies integrate Claude into proprietary internal systems without exposing data to a third party. For the technical implementation, see the Claude MCP guide.

    Frequently Asked Questions

    Does Claude have plugins?

    Claude doesn’t use a plugin marketplace like early ChatGPT did. Instead it uses MCP (Model Context Protocol) — an open standard where services publish integration servers that Claude connects to. In Claude.ai, these appear as “Connections” in Settings. Claude Desktop supports any MCP server via config file.

    What apps can Claude connect to?

    Claude can connect to Google Drive, Gmail, Google Calendar, Notion, Slack, Zapier, HubSpot, GitHub, Cloudflare, databases, local file systems, and any service that has published an MCP server. The ecosystem is growing rapidly — new MCP servers are added by third-party developers regularly.

    How do I add integrations to Claude?

    In Claude.ai, go to Settings → Connections and authenticate the services you want to connect. For Claude Desktop, integrations are configured via a JSON config file that specifies which MCP servers to load. Via the API, you pass MCP server URLs in your request parameters.

    Need this set up for your team? Talk to Will →
  • Claude Haiku 4.5: Pricing, API String & Best Use Cases

    Claude Haiku 4.5: Pricing, API String & Best Use Cases

    Last refreshed: May 15, 2026

    Claude AI · Fitted Claude

    Claude Haiku 4.5 is Anthropic’s fastest and most cost-efficient model — the right choice when you need high-volume AI at low cost without sacrificing the quality that makes Claude worth using. It’s not a cut-down version of the flagship models. It’s a purpose-built model for the tasks where speed and cost matter more than maximum reasoning depth.

    When to use Haiku: Any time you’re running the same operation across many inputs — classification, extraction, summarization, metadata generation, routing logic, short-form responses — and cost or speed is a meaningful constraint. Haiku handles these at a fraction of Sonnet’s price with output quality that’s more than sufficient.

    Claude Haiku 4.5 Specs (April 2026)

    Diagram comparing a long context window bar with a shorter output limit bar
    Claude Haiku 4.5 specs.
    Spec Value
    API model string claude-haiku-4-5-20251001
    Context window 200,000 tokens
    Input pricing ~$1.00 per million tokens
    Output pricing ~$5.00 per million tokens
    Speed vs Sonnet Faster — optimized for low latency
    Batch API discount ~50% off (~$0.50 input / ~$2.50 output)

    Claude Haiku 4.5 vs Sonnet vs Opus

    Model Input cost Speed Reasoning depth Best for
    Haiku ~$1.00/M Fastest Good High-volume, latency-sensitive
    Sonnet ~$3.00/M Fast Excellent Production workloads, daily driver
    Opus ~$5.00/M Slower Maximum Complex reasoning, highest quality

    What Claude Haiku 4.5 Is Best At

    Three stacked layers: chat UI, tools, agent runtime
    What Claude Haiku 4.5 is best at.

    Haiku is optimized for tasks where the output is constrained and the logic is clear — not open-ended creative or strategic work where maximum capability pays off. The practical use cases where Haiku earns its position:

    • Classification and routing — is this a support ticket, a bug report, or a feature request? Tag it and route it. Haiku handles thousands of these per hour at minimal cost.
    • Extraction — pull the names, dates, dollar amounts, or addresses from a document. Structured output from unstructured text at scale.
    • Summarization — condense articles, emails, or documents to key points. Haiku’s summarization is strong enough for most production use cases.
    • SEO metadata — generate title tags, meta descriptions, alt text, and schema markup in bulk. This is where Haiku shines for content operations.
    • Short-form responses — FAQ answers, product descriptions, short explanations. Anything where the output is a few sentences or a structured short block.
    • Real-time features — chatbots, autocomplete, inline suggestions — anywhere latency affects user experience.

    Claude Haiku 4.5 vs GPT-4o Mini

    GPT-4o mini is OpenAI’s comparable low-cost model and is less expensive than Haiku per token. The cost trade-off is real — GPT-4o mini is cheaper. The quality trade-off depends on the task. For instruction-following on complex structured outputs, Haiku tends to be more reliable. For simple, high-volume tasks where the output format is forgiving, the cost difference may favor GPT-4o mini. For teams already building on Claude for quality reasons, Haiku is the natural choice for high-volume work within that stack.

    Using Claude Haiku 4.5 in the API

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    Using Claude Haiku 4.5 in the API.
    import anthropic
    
    client = anthropic.Anthropic()
    
    message = client.messages.create(
        model="claude-haiku-4-5-20251001",
        max_tokens=256,
        messages=[
            {"role": "user", "content": "Classify this support ticket: ..."}
        ]
    )
    
    print(message.content)

    For a full model comparison, see Claude Models Explained: Haiku vs Sonnet vs Opus. For API pricing across all models, see Anthropic API Pricing.

    Frequently Asked Questions

    What is Claude Haiku 4.5?

    Claude Haiku 4.5 is Anthropic’s fastest and most affordable model — approximately $1.00 per million input tokens. It’s purpose-built for high-volume, latency-sensitive tasks like classification, extraction, summarization, and short-form generation where cost efficiency matters more than maximum reasoning depth.

    How much does Claude Haiku 4.5 cost?

    Claude Haiku 4.5 costs approximately $1.00 per million input tokens and $5.00 per million output tokens. The Batch API reduces these to approximately $0.40 input and $2.00 output — roughly half price for non-time-sensitive workloads.

    When should I use Claude Haiku 4.5 instead of Sonnet?

    Use Haiku when your task is well-defined with a constrained output, you’re running it at high volume, and cost or latency is a meaningful consideration. Use Sonnet when the task is complex, requires nuanced reasoning, or produces longer open-ended outputs where maximum quality matters.

    What is the Claude Haiku 4.5 API model string?

    The current Claude Haiku 4.5 model string is claude-haiku-4-5-20251001. Always verify the current string in Anthropic’s official model documentation before production deployment.

    Need this set up for your team? Talk to Will →