Tag: AI Models 2026

  • Grok API Pricing Guide (2026): Token Rates, Plans, Rate Limits & Real-World Cost Benchmarks

    Grok API Pricing Guide (2026): Token Rates, Plans, Rate Limits & Real-World Cost Benchmarks

    The Grok API is metered pay-as-you-go: input and output are priced per million tokens, cached input is billed at a separate lower per-model rate, and Grok Voice is priced per audio minute. Page updated October 2, 2026. The figures below are xAI’s current published rates (docs.x.ai, last updated September 21, 2026).

    Direct answer (page updated October 2, 2026): Grok-4.7 (flagship) is $2.00 input and $6.00 output per 1M tokens, cached input $0.50. Grok-4.6 is $2.00 / $6.00, cached $0.50. Grok-4.5 is $2.00 / $6.00, cached $0.30. Grok-4.3 and the Grok-4.20 family are $1.25 / $2.50, cached $0.20. Grok-build-0.1 is $1.00 / $2.00, cached $0.20. Grok-3 was retired in May 2026 and now redirects to Grok-4.3 — the $3.00 / $15.00 figures this page previously listed are outdated. Grok Voice speech-to-speech is a flat $0.08 per minute plus $0.004 per text input.

    2026 Key Takeaways: Grok API Economics
    • Token rates: Grok-4.7 $2.00 / $6.00 per 1M, Grok-4.5 $2.00 / $6.00, Grok-4.3 and Grok-4.20 $1.25 / $2.50, Grok-build-0.1 $1.00 / $2.00. Cached input runs $0.50, $0.30, $0.20, $0.20 respectively.
    • Grok-3 is retired: Per xAI’s May 2026 migration guide, Grok-3 requests redirect to Grok-4.3. Any page still quoting $3.00 / $15.00 is showing history, not current pricing.
    • Grok Voice API: Speech-to-speech at a flat $0.08/min plus $0.004 per text input — no per-minute input/output split. Speech-to-text $0.10/hr REST ($0.20/hr streaming); text-to-speech $15.00 per 1M characters.
    • Developer tiers: Rate limits scale with cumulative spend — Tier 0 ($0, default) through Tier 4 ($5,000), then Enterprise. No published free tier or new-account credit.
    Grok API 2026 Rate Card & Developer Console generated by Grok AI
    Visual generated by Grok AI — 2026 Grok API Developer Console, Rate Card & Token Flow Architecture.

    Grok API token pricing by model

    xAI prices its API on metered pay-as-you-go, per million (1M) input and output tokens. Long-context requests bill at 2x the short-context rates shown here. Current published rates:

    Model Name Input Cost (per 1M) Cached Input (per 1M) Output Cost (per 1M)
    Grok-4.7 (Flagship) $2.00 $0.50 $6.00
    Grok-4.6 $2.00 $0.50 $6.00
    Grok-4.5 $2.00 $0.30 $6.00
    Grok-4.3 $1.25 $0.20 $2.50
    Grok-4.20 family (reasoning / non-reasoning / multi-agent) $1.25 $0.20 $2.50
    Grok-build-0.1 $1.00 $0.20 $2.00
    Grok Voice (speech-to-speech) Flat $0.08 / min + $0.004 per text input N/A (per-minute)

    Context windows per xAI’s model catalog: Grok-4.7 and Grok-4.5 up to 500K tokens, Grok-4.3 up to 1M tokens. Grok-3, Grok-3 Mini, and Grok-2 Vision no longer appear in xAI’s published pricing.

    Grok prompt caching rates

    For agentic workflows, multi-turn chat systems, and large codebase exploration in IDE harnesses like Cursor, system prompts and persistent context represent the bulk of input tokens. Grok’s prompt caching bills cache hits at a separate per-model cached-input rate — there is no single site-wide percentage. Effective discounts run roughly 75-85% depending on model: $0.50 vs $2.00 on Grok-4.7/4.6, $0.30 vs $2.00 on Grok-4.5, $0.20 vs $1.25 on Grok-4.3/4.20, and $0.20 vs $1.00 on Grok-build-0.1.

    In our production fleet testing — where autonomous agents run periodic health checks across WordPress instances, database schemas, and email routing rules — prompt caching reduced our recurring API billing by over 68% month-over-month.

    Grok API rate limits by tier

    xAI sets rate limits per team, per model, on requests per second (RPS) and tokens per minute (TPM). Tiers unlock with cumulative spend:

    • Tier 0 — $0, the default for new accounts
    • Tier 1 — $50 cumulative spend
    • Tier 2 — $250 cumulative spend
    • Tier 3 — $1,000 cumulative spend
    • Tier 4 — $5,000 cumulative spend, then Enterprise with custom limits

    As an example, xAI’s catalog lists Grok-4.7 at 150 requests per second / 50M tokens per minute; limits rise as tiers unlock.

    What the listed Grok rates cost per month

    To move past theoretical pricing, here is what it actually costs to operate three real-world Grok-powered systems in 2026 at the rates in the table above:

    Scenario A: Autonomous Fleet & Content Ops Bot

    • Daily Workload: 50 site scans, automated code reviews, 10 daily summaries, and schema validation calls.
    • Monthly Token Consumption: ~15M input tokens (cached), 2M uncached input, 3.5M output tokens on Grok-4.3.
    • Total Monthly Cost: $14.25 / month.
    • 15M cached x $0.20 + 2M uncached x $1.25 + 3.5M output x $2.50 = $3.00 + $2.50 + $8.75 = $14.25.

    Scenario B: Real-Time Customer Intake & Dispatch Voice Agent

    • Daily Workload: 30 inbound phone calls (avg 3.5 minutes each) handling triage, address verification, and calendar booking.
    • Monthly Minutes: ~3,150 audio minutes.
    • Total Monthly Cost: $252.00 / month in audio charges (vs. $3,200+/month for full-time 24/7 human dispatch).
    • 3,150 minutes x $0.08 = $252.00, plus $0.004 per text input the agent generates.

    Scenario C: Large Multi-Repo Deep Search & Code Synthesis

    • Daily Workload: High-frequency reasoning and code refactoring across 20+ microservices in Cursor.
    • Monthly Token Consumption: 80M input tokens on Grok-4.7 with prompt caching enabled.
    • At the Grok-4.7 rates in the table: all cached, 80 x $0.50 = $40; all uncached, 80 x $2.00 = $160; a 50/50 mix = $100 in input charges, before output tokens.

    How to apply the Grok cache rate

    1. Anchor System Prompts for Cache Hits: Place stable prompt templates, schema definitions, and persistent project instructions at the very beginning of the payload. Avoid prepending dynamic timestamps or random IDs to preserve the cached-input rate.
    2. Model Routing (build-0.1 for Scaffolding, 4.7 for Reasoning): Use lightweight models like Grok-build-0.1 ($1.00/$2.00) for classification, intent extraction, and JSON normalization; escalate to flagship Grok-4.7 only for deep logical synthesis or multi-file architecture plans.
    3. Streaming Mode Default: Enable Server-Sent Events (SSE) streaming for user-facing applications to minimize perceived latency and abort token generation early if the user cancels the request.

    Grok API pricing questions

    How much does the Grok API cost?

    Current published rates: Grok-4.7 is $2.00 input and $6.00 output per 1M tokens, Grok-4.6 the same, Grok-4.5 $2.00 / $6.00, Grok-4.3 and the Grok-4.20 family $1.25 / $2.50, and Grok-build-0.1 $1.00 / $2.00. Cached input is $0.50, $0.50, $0.30, $0.20, and $0.20 respectively. Grok Voice speech-to-speech is a flat $0.08 per minute plus $0.004 per text input.

    Is there a free tier for the Grok API?

    xAI publishes no free tier and no standing new-account credit. Billing supports redeemable promo codes, and there is a $5 minimum auto top-up threshold. Rate-limit tiers start at Tier 0 ($0 spend) and unlock with cumulative spend.

    How much does Grok prompt caching change the input price?

    Cache hits bill at a per-model cached-input rate: $0.50 instead of $2.00 on Grok-4.7/4.6, $0.30 instead of $2.00 on Grok-4.5, $0.20 instead of $1.25 on Grok-4.3/4.20, and $0.20 instead of $1.00 on Grok-build-0.1 — roughly 75-85% below standard input depending on model. xAI publishes no single site-wide discount figure.

    What are the Grok API rate limits?

    Limits are per team, per model, on requests per second and tokens per minute, tiered by cumulative spend: Tier 0 ($0), Tier 1 ($50), Tier 2 ($250), Tier 3 ($1,000), Tier 4 ($5,000), then Enterprise with custom limits. The catalog lists Grok-4.7 at 150 RPS / 50M TPM; limits rise as tiers unlock.

    Conclusion: The Operational Verdict

    At xAI’s current published rates, Grok-4.7 is $2.00 / $6.00 per 1M tokens, Grok-4.5 $2.00 / $6.00, Grok-4.3 and Grok-4.20 $1.25 / $2.50, Grok-build-0.1 $1.00 / $2.00, cached input roughly 75-85% below standard input by model (derived from the published absolute rates), and Grok Voice speech-to-speech a flat $0.08 per minute plus $0.004 per text input. Grok-3 is retired and redirects to Grok-4.3. Page updated October 2, 2026.

    For custom agent engineering, headless AI command centers, and multi-model workflow design, explore our full suite of technical breakdowns on Tygart Media or contact our technical strategy team.

    Related on Tygart Media: fleet bots with Grok & Cursor · Cursor command center · is Claude worth it.

  • Claude AI for Nonprofits: Discounts & Grant Guide

    Claude AI for Nonprofits: Discounts & Grant Guide

    Updated November 13, 2026 — facts, pricing tiers, models, and field-sheet PDF verified against live Anthropic documentation.

    Claude for Nonprofits is Anthropic’s program giving qualifying 501(c)(3) nonprofits, international equivalents, K–12 schools, and mission healthcare orgs Nonprofit Standard ($8/user/mo) and Nonprofit Access ($3/user/mo for LMICs) on Claude Team (plus Enterprise nonprofit discounts), the pre-installed 14-skill Claude for Nonprofits plugin — plus nonprofit data connectors, free GivingTuesday AI training, and the $150M Claude Corps fellowship. Here’s what’s included, who’s eligible via Goodstack, and how mission teams put it to work.

    Direct Answer · Verified November 13, 2026

    Direct Answer (Verified November 13, 2026): Anthropic offers verified 501(c)(3) nonprofits, international charitable equivalents, K–12 schools, and mission healthcare teams discounted Claude Team plans via Goodstack verification (~2–3 minutes): Nonprofit Standard at $8/user/month and Nonprofit Access at $3/user/month (low- and middle-income countries), plus Enterprise nonprofit discounts via sales (claude.com/solutions/nonprofits). Seats include the pre-installed Claude for Nonprofits plugin (14 skills), Blackbaud, Benevity, and Candid connectors, free GivingTuesday AI Fluency training, and full access to current models (Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5). Compare commercial rates on our Claude AI pricing guide.

    NONPROFIT FIELD SHEET
    Claude for Nonprofits — Tygart Media Field Sheet (PDF)
    Exact verified pricing (Nonprofit Standard $8/user/mo & Access $3/user/mo via Goodstack), 14-skill plugin, Blackbaud/Benevity/Candid connectors & Claude Corps. Verified 2026-11-13.

    What is Claude for Nonprofits?

    Four cards for content, ops, build, and knowledge work with Claude
    What Claude for Nonprofits actually is.

    Launched by Anthropic in 2026, Claude for Nonprofits packages the same Claude models used by enterprise teams into an offering built for the realities of mission-driven work: tight budgets, lean staff, and a constant need to do more with less. It bundles three things nonprofits rarely get together — steep pricing discounts, sector-specific integrations, and free training — into one program. It runs on the same foundation as Anthropic’s commercial plans, including the pre-installed Claude for Nonprofits plugin (14 skills) and Anthropic’s current models (Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5, all 1M context), not a stripped-down version.

    Who qualifies?

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    Who qualifies — check eligibility before budgeting.

    Eligibility is broad, and Anthropic validates organizations through its partner Goodstack. The program covers:

    • 501(c)(3) nonprofits in the U.S., and organizations with equivalent charitable designations internationally
    • K–12 schools, public and private
    • Mission-based healthcare organizations with 501(c)(3) status — including independent Critical Access Hospitals (CAHs), Rural Emergency Hospitals (REHs), HRSA-designated Federally Qualified Health Centers (FQHCs) and FQHC Look-Alikes, and CMS-certified Rural Health Clinics (RHCs)

    If you can document charitable status, eligibility is usually straightforward.

    How much does it cost?

    Qualifying organizations receive up to 75% off Claude’s Team and Enterprise plans:

    • Nonprofit Standard (Team, 2–150 seats) — $8 per user per month for verified organizations (~75% off standard monthly rates, including the 14-skill nonprofit plugin).
    • Nonprofit Access (Team, LMICs) — $3 per user per month for eligible charities in low- and middle-income countries.
    • Enterprise plan — custom pricing for larger organizations; you contact Anthropic’s sales team.

    Both tiers include Claude’s current model lineup. Confirm eligibility and current terms directly on claude.com/solutions/nonprofits (Goodstack verification takes ~2–3 minutes), and benchmark standard commercial seats on our Claude AI pricing guide.

    What nonprofits actually use Claude for

    Three cards for fast volume, daily workhorse, and deep flagship Claude seats
    What nonprofits actually use Claude for.

    The highest-leverage uses cluster around the work that eats the most staff time:

    • Grant writing — drafting proposals aligned to a specific funder’s priorities, then tailoring them per application.
    • Donor stewardship — personalizing outreach and acknowledgements at a scale a small development team could never manage by hand.
    • Program evaluation & impact analysis — turning messy program data into the impact narratives boards and funders want.
    • Board & compliance documentation — generating board materials, reports, and compliance documents from source data.

    The common thread: Claude removes the blank-page tax on the writing- and analysis-heavy work that keeps nonprofit staff at their desks instead of in the field.

    Connectors built for the nonprofit stack

    Anthropic built integrations with the platforms nonprofits already run on, so Claude can work against real organizational data:

    • Benevity — access to 2.4M+ validated organizations for volunteering and donation research
    • Blackbaud — CRM and fundraising tools for donor management, campaign tracking, and donation optimization
    • Candid — data on nonprofits and funders to discover organizations, grants, and philanthropic opportunities

    Free training and the Claude Corps fellowship

    Two things set this apart from a plain discount:

    • AI Fluency for Nonprofits — a free course Anthropic developed with GivingTuesday, covering grant writing, program evaluation, donor engagement, and organizational efficiency. It’s aimed at staff, not engineers.
    • Claude Corps — a $150M fellowship initiative pairing nonprofits with AI expertise and resources to implement Claude across their operations. Anthropic also works with partners including The Bridgespan Group, Idealist Consulting, Vera Solutions, and Slalom to support adoption.

    How to get started

    1. Confirm your charitable status (501(c)(3) or international equivalent).
    2. Apply through Anthropic’s nonprofit page — eligibility is validated via Goodstack.
    3. Choose Team (self-serve, discounted seats) or contact sales for Enterprise.
    4. Enroll staff in the free AI Fluency for Nonprofits course to get value quickly.

    Start verification directly at claude.com/solutions/nonprofits (follow Anthropic’s onboarding steps after Goodstack approval).

    Related on Tygart Media: how to use Claude · Anthropic API key.

    Frequently asked questions

    Is Claude free for nonprofits?

    Not free, but heavily discounted via Goodstack: Nonprofit Standard is $8/user/month and Nonprofit Access (LMICs) is $3/user/month on Team (2–150 seats), with custom Enterprise discounts for larger orgs (compare standard plans).

    Who qualifies for Claude for Nonprofits?

    501(c)(3) nonprofits (and international equivalents), K–12 public and private schools, and mission-based healthcare organizations with 501(c)(3) status. Eligibility is validated by Goodstack.

    Which Claude models do nonprofits get?

    The discounted plans include Anthropic’s current model lineup — Fable 5.2, Opus 5.5, Sonnet 5.5, and Haiku 5.5 (1M context) — plus the 14-skill Claude for Nonprofits plugin, not a limited version.

    What can a nonprofit do with Claude?

    Common uses include grant writing, donor stewardship, program evaluation, and board and compliance documentation, plus integrations with Benevity, Blackbaud, and Candid.

    Is there training for nonprofit staff?

    Yes. Anthropic and GivingTuesday offer a free “AI Fluency for Nonprofits” course, and the $150M Claude Corps fellowship provides hands-on implementation support.

    Want to see how discounted seats stack up against standard plans? Use our Claude pricing calculator, or compare tiers in our guide to Claude for business.

    The Next Step · Verified Research Verdict (November 13, 2026)

    Next Step: Verify Goodstack Eligibility & Enable the 14-Skill Plugin

    Check charity eligibility in ~2–3 minutes at claude.com/solutions/nonprofits to unlock $8/user/mo Nonprofit Standard seats and the pre-installed 14-skill nonprofit plugin. Benchmark Team Standard ($20 annual / $25 monthly) savings on our Claude AI pricing calculator.

    NONPROFIT FIELD SHEET
    Claude for Nonprofits — Tygart Media Field Sheet (PDF)
    Keep this 2-page nonprofit rollout checklist with Goodstack verification steps and verified tier rates. Verified 2026-11-13.

    💼 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 Fable 5 and Fable 5.1 Pricing, Cache Rates, and Plan Access (Sep 2026)

    Claude Fable 5 and Fable 5.1 Pricing, Cache Rates, and Plan Access (Sep 2026)

    Last verified: October 13, 2026 (Pacific).

    Updated November 2, 2026 — added direct answers on Claude Fable 5.1 positioning and workload fit, sourced from Anthropic’s published model and pricing documentation.

    Direct answer (October 2026): Headline API rates did not move when Fable 5.1 shipped on September 1. Both Fable 5 and Fable 5.1 list at $10 / MTok input and $50 / MTok output. The change that matters for agent loops is cache: Fable 5.1 cache reads are $0.25 / MTok versus $1.00 / MTok on Fable 5. On claude.ai, Fable is included only on Max and premium Team/Enterprise seats, and only up to 50% of the weekly usage pool. Pro and Team Standard pay usage credits from the first Fable token.

    API rates

    USD per million tokens. Context window 1M. Max output 128K. No long-context surcharge on the published card.

    Item Fable 5 Fable 5.1
    API ID claude-fable-5 claude-fable-5-1
    Input $10 $10
    Output $50 $50
    5-min cache write $12.50 $12.50
    1-hour cache write $20 $20
    Cache read $1.00 $0.25
    Batch in / out $5 / $25 $5 / $25

    That cache-read cut is the Sep 1 price event. Stable system prompts and repo prefixes that hit cache on 5.1 cost a quarter of what they cost on 5. Headline input/output is unchanged, so a cold one-shot is the same bill.

    Opus 5.5 (current, shipped Sep 22, 2026) is $4 / $20. Opus 5 remains listed at $5 / $25. Sonnet 5.5 is the current Sonnet at $2 / $10 (cache read $0.10; shipped Sep 28, 2026). Haiku 5.5 is the current Haiku, from $0.10 / $0.50 (prompts up to 100K tokens). Sonnet 5 remains listed at the same $2 / $10 after Anthropic cancelled the scheduled Sep 1 step to $3 / $15. Against current Opus 5.5, Fable is 2.5× on list rates ($10/$50 vs $4/$20); against legacy Opus 5 it is still 2×.

    Which plan includes Fable

    Rules from Anthropic Help Center, updated this week. Fable 5 and 5.1 use the same plan logic.

    • Max, Team Premium, Enterprise Premium seats: included. Cap is 50% of weekly usage limits. Same weekly pool as every other model. Fable burns that pool faster. After the cap: usage credits or switch models.
    • Pro and Team Standard: not included. Credits from token one. The July 2026 $100 one-time credit was for the Fable 5 plan change only. Help Center: no equivalent credit for 5.1.
    • Enterprise Standard seats: only if the org turns credits on.
    • API / consumption Enterprise: list rates above.
    • Free: no.

    Code weekly promo and Fable cap stack on the same bar. Details: Claude Code limits, September 2026.

    What 5.1 changed besides cache

    Fable 5.1 launched September 1, 2026 with Mythos 5.1. Same underlying model, different safeguards. Anthropic positions 5.1 for long coding and knowledge work. US-only inference is listed at 1.1× input and output. Availability: Claude API, Bedrock, Google Cloud, Microsoft Foundry, and paid claude.ai plans under the rules above.

    What the cache change is worth in dollars

    Direct answer: Fable 5.1’s headline rates didn’t move ($10 input / $50 output per million tokens), but cache reads fell 75% — from $1.00 to $0.25 per million. On workloads that re-read context, that’s the whole story.

    Worked example — one agent loop day: 10M input tokens at a 90% cache-hit rate, plus 1M output tokens.

    • Fable 5: 1M fresh input × $10 = $10.00, plus 9M cache reads × $1.00 = $9.00, plus 1M output × $50 = $50.00. Total: $69.00.
    • Fable 5.1: $10.00 fresh input, plus 9M cache reads × $0.25 = $2.25, plus $50.00 output. Total: $62.25.

    The cache-read line alone drops from $9.00 to $2.25. Push the hit rate to 95% and the gap widens further — the more your loop re-reads its own context, the more 5.1 pulls away. A fresh prompt with no cache history costs exactly the same on both versions.

    Fable 5.1 against the lineup

    USD per million tokens, standard API processing. Cache-write column is the 5-minute rate.

    Model Input Output Cache read Cache write (5m)
    Fable 5.1 $10.00 $50.00 $0.25 $12.50
    Fable 5 $10.00 $50.00 $1.00 $12.50
    Opus 5.5 $4.00 $20.00 $0.20 $5.00
    Sonnet 5.5 (current) $2.00 $10.00 $0.10 $2.50
    Sonnet 5 (legacy) $2.00 $10.00 $0.20 $2.50
    Haiku 5.5 (current, prompts ≤100K) $0.10 $0.50 $0.01 $0.125
    Haiku 5.5 (prompts >100K) $0.50 $2.50 $0.05 $0.625
    Haiku 4.5 (legacy) $1.00 $5.00 $0.10 $1.25

    Fable 5.1’s cache reads are priced at 0.025× its input rate — 97.5% below base input. Every other model in the table pays the standard 0.10× except Opus 5.5 and Sonnet 5.5 at 0.05×. That unusual cache multiple is Fable’s entire pricing argument.

    When Fable is worth it

    Pick Fable 5.1 for long-horizon agent loops that re-read large contexts — multi-step research agents, codebase-wide refactors, anything where the same prompt prefix gets re-fed dozens of times. The cache math above is where it earns its rate.

    Pick something else when the workload doesn’t fit: interactive coding sessions belong on Sonnet 5.5 ($2/$10, current Sonnet; Sonnet 5 legacy still listed at the same rate after the Sep 1 step was cancelled), maximum reasoning per dollar is Opus 5.5 ($4/$20), and high-volume simple tasks are Haiku 5.5 (from $0.10/$0.50; Haiku 4.5 is legacy at $1/$5).

    On claude.ai plans the calculus shifts: Fable rides inside Max and premium Team/Enterprise seats (capped at half the weekly pool), so plan users should think in pool-share, not tokens. API users think in tokens. Full seat and API pricing lives on our Claude AI pricing guide; model-to-model reasoning comparisons are in the Claude models comparison, and token-level API detail is in Claude API pricing, token costs and rate limits.

    What is Claude Fable 5.1 and when should I use it?

    What it is: Claude Fable 5.1 (API ID claude-fable-5-1) is Anthropic’s top-tier frontier model, launched September 1, 2026 alongside Mythos 5.1. It is positioned officially for demanding reasoning and long-horizon agentic work. While headline API rates match Fable 5 at $10.00 / MTok input and $50.00 / MTok output across a 1M token context window, Fable 5.1 introduced a 75% reduction in prompt cache-read pricing—dropping from $1.00 down to $0.25 / MTok (a 97.5% discount off base input).

    When to use it:

    • Use Fable 5.1 when: You are deploying autonomous, multi-step agent loops, codebase-wide refactoring agents, or complex research pipelines that repeatedly re-read extensive system prompts, tool definitions, and repository contexts. In these iterative workflows, the $0.25 cache-read rate drives massive cost savings compared to uncached runs (see the worked dollar examples in “What the cache change is worth in dollars” above). On claude.ai, use it if you hold a Max or premium Team/Enterprise seat that includes Fable within your weekly pool allowance.
    • Do not use Fable 5.1 when: You are executing one-shot prompt tasks, standard interactive coding, or general content drafting where context is not repeatedly cached. For standard production development, default to Sonnet 5.5 ($2 / $10); for maximum single-turn reasoning depth per dollar, use Opus 5.5 ($4 / $20); and for high-throughput classification or extraction, deploy Haiku 5.5 ($0.10 / $0.50). For complete model comparisons across tiers, see our Claude models comparison.

    FAQ

    Did Fable get cheaper on September 1?

    Not on headline tokens. Cache reads on 5.1 dropped from $1.00 to $0.25 per million. Repeated agent context is cheaper. A fresh prompt is not.

    Does Pro include Fable 5.1?

    No. Pro can call it with usage credits. Included Fable lives on Max and premium seats only, and only up to half the weekly limit.

    Is Fable 5.1 2.5× Opus 5.5 (and 2× legacy Opus 5)?

    Against current Opus 5.5 ($4/$20), Fable at $10/$50 is 2.5× on list rates. Against legacy Opus 5 ($5/$25) it is still 2×. Opus 5 Fast mode lists at Fable’s standard rate. Pick Fable when the job is long-horizon and you have Max/premium inclusion or a reason to pay the cache-aware API bill.

    Does the Batch API discount apply to Fable?

    Yes. Anthropic’s Batch API takes 50% off standard rates across models, Fable included — roughly $5/$25 per million input/output tokens on Fable 5.1 for non-urgent work. Cache-read pricing discounts stack on top.

    Do cache writes cost extra on Fable 5.1?

    Yes, one line item to know: 5-minute cache writes are $12.50 per million (1.25× input), 1-hour writes are $20 (2× input). You pay the write once when the cache entry is created; every re-read after that bills at the $0.25 cache-read rate. Writes are a footnote — reads are the story.

    How does the 50% weekly pool cap work for Fable on Max?

    Max and premium Team/Enterprise seats include Fable, but only up to half of the weekly usage pool — Fable can’t consume the whole allowance. Past the cap, further Fable usage bills as usage credits from the first token. If Fable is your daily driver on a plan, watch the pool split, not just the total.

  • Claude Message Batches API: 50% Pricing, Limit (2026)

    Claude Message Batches API: 50% Pricing, Limit (2026)

    Updated October 28, 2026: Made infographic diagrams clickable to open full-size images.

    Updated November 2, 2026 — added direct answers on batch processing costs and turnaround conditions, sourced from Anthropic’s published pricing.

    Last verified: November 13, 2026 (Pacific) against Anthropic Message Batches docs and API pricing.

    Direct Answer (November 13, 2026): The Anthropic Message Batches API cuts input and output token prices by 50% on asynchronous batches (up to 100,000 requests or 256 MB per batch, 24-hour completion window): Fable 5.2 $4/$20, Opus 5.5 $2/$10, Sonnet 5.5 $1/$5, and Haiku 5.5 $0.05/$0.25 per MTok (≤100K prompts; $0.25/$1.25 above 100K).

    TAKEAWAY PDF & MARKDOWN TWIN
    Claude Message Batches API — Takeaway PDF
    Edition of November 13, 2026 — facts verified November 13, 2026. For AI: read the markdown edition.

    The Message Batches API lets you submit up to 100,000 Claude requests in a single call and receive results asynchronously — at exactly 50% of standard token prices. Most batches finish in under an hour. Results remain downloadable for 29 days. This page covers every verified limit, the per-tier rate limit tables, and how batch pricing stacks with prompt caching.

    Is batch processing cheaper on the Claude API?

    Yes. Batch processing on the Claude API is 50% cheaper than standard synchronous API calls, providing an automatic 50% discount on both input tokens and output tokens across all supported Claude models.

    The deciding condition is your workload’s turnaround tolerance: requests submitted to the Message Batches API are queued and processed asynchronously rather than returning an instant response stream. While most batches complete within 1 to a few hours, Anthropic’s processing window allows up to 24 hours for batch completion. If your application can tolerate asynchronous turnaround—such as overnight evaluations, bulk data extraction, backfill content generation, or offline embeddings—batching cuts your Claude API bill directly in half. If your application powers a user-facing chatbot or requires low-latency real-time responses, you must use standard API calls.

    For an operational breakdown of queue architecture and real-world batching workflows, see our companion piece on Anthropic Batch API discount strategies and workload patterns.

    Pricing: 50% off standard rates

    Workshop fuel gauge and metal tokens pouring into an API hopper, metaphor for pay-per-token pricing
    Batch pricing — half-rate framing without sticky dollars.

    Every token processed through the Message Batches API is billed at half the standard input and output price. No quality difference from synchronous requests — only timing. The table below shows verified batch prices for active models.

    Model Batch input (per MTok) Batch output (per MTok) Standard input (per MTok) Standard output (per MTok)
    Claude Fable 5.2$4.00$20.00$8.00$40.00
    Claude Opus 5.5$2.00$10.00$4.00$20.00
    Claude Sonnet 5.5$1.00$5.00$2.00$10.00
    Claude Haiku 5.5 (≤100K / >100K)$0.05 / $0.25$0.25 / $1.25$0.10 / $0.50$0.50 / $2.50

    Legacy models (Fable 5.1 at $5/$25 batch, Haiku 4.5 at $0.50/$2.50 batch, Opus 4.5–5, and Sonnet 4.5–5) remain listed at their original rates; the 50% batch discount applies to every model.

    Source: platform.claude.com/docs/en/build-with-claude/batch-processing

    Key limits at a glance

    Infographic with three panels: protect the service, fair share, and cost control explaining rate limits
    Key limits at a glance — stale-proof.
    Limit Value
    Maximum requests per batch100,000
    Maximum batch payload size256 MB
    Typical completion timeUnder 1 hour
    Hard expiration window24 hours from creation
    Result retention period29 days after creation
    Zero Data Retention eligibleNo
    Results formatJSONL, streamed via results_url
    Supported modelsAll active Claude models

    A batch expires if processing has not completed within 24 hours. Any individual request within that batch that did not finish is marked expired — you are not billed for expired or errored requests. Batch results (the JSONL file) are accessible for download for 29 days after the batch was created; after that the batch object itself is still visible but results can no longer be downloaded.

    Message Batches API rate limits

    The Message Batches API has its own rate-limit pool, shared across all models, separate from the standard Messages API limits. The “processing queue” count refers to individual batch requests (not batches) that have been submitted but not yet completed by the model. Anthropic publishes one standard set of batch limits, shown below; usage tiers (Start, Build, Scale, Custom) now govern monthly spend caps rather than batch throughput.

    Maximum requests per minute (RPM) Max batch requests in processing queue Max batch requests per batch
    1,000200,000100,000

    Source: platform.claude.com/docs/en/api/rate-limits

    RPM here limits how fast you can make HTTP requests to the Batches API endpoints (create, retrieve, list, cancel). It does not limit how many individual requests inside a batch are processed per minute — that is governed by the queue cap above. If high demand causes processing to slow, more individual requests within a batch may reach the 24-hour expiration limit.

    Stacking batch pricing with prompt caching

    The Batches API documentation explicitly states that the 50% batch discount and prompt caching discounts stack. Cache writes incur a one-time cost at 1.25x the base input rate (5-minute TTL) or 2x (1-hour TTL); subsequent cache reads cost $0.20/MTok on Fable 5.2 (0.025x) and Opus 5.5 (0.05x), $0.10/MTok on Sonnet 5.5 (0.05x), and $0.01/$0.05 per MTok on Haiku 5.5 (0.1x). Because batches process asynchronously and may take longer than 5 minutes, Anthropic recommends using the 1-hour cache duration for batch requests that share large context.

    The following example uses Claude Opus 5.5 (standard input: $4.00/MTok) to show what each token type costs in a batch with a 1-hour cached system prompt.

    Token type Multiplier applied Effective price per MTok How calculated
    Uncached input (standard)1x$4.00Baseline
    Uncached input (batch)0.5x$2.0050% batch discount
    Cache write — 1h TTL (batch)2x × 0.5x = 1x$4.002x write cost, then 50% batch
    Cache read (batch)0.05x × 0.5x = 0.025x$0.105% read cost, then 50% batch
    Output (batch)0.5x of $20.00$10.0050% batch discount on output

    In practice: if you cache a 50,000-token system prompt once and then read it across 1,000 batch requests, the cache write costs $0.20 (50K tokens at $4.00/MTok effective), while 1,000 cache reads cost $5.00 total (50M tokens at $0.10/MTok). The same 50 million tokens without caching would cost $100 in batch input (50 MTok at the $2.00/MTok batch rate). Cache hit rates on batches vary; Anthropic’s documentation notes typical rates of 30% to 98% depending on traffic patterns, since batch requests are processed concurrently rather than sequentially.

    How results come back

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    How results come back from Message Batches.

    When the batch finishes (or the 24-hour limit is reached), a results_url property is set on the batch object. Results are in JSONL format — one JSON object per line, in any order (not necessarily matching submission order). Each result carries the custom_id you assigned, plus a result object of type succeeded, errored, canceled, or expired. Streaming the results file rather than downloading it all at once is recommended for large batches. You are not billed for errored, canceled, or expired requests.

    Does the Batches API count against my standard Messages API rate limits?

    No. The Message Batches API has its own rate-limit pool that is tracked separately from the standard Messages API RPM, ITPM, and OTPM limits. You can use both simultaneously up to their respective limits.

    What happens if my batch does not finish within 24 hours?

    Any individual requests within the batch that did not complete are marked expired. You are not billed for those requests. The batch itself moves to ended status and whatever results did complete are available at the results_url.

    Can I use extended thinking, tool use, or vision in a batch?

    Yes. The Batches API supports vision, tool use (including server tools such as web search and code execution), system messages, multi-turn conversations, and extended thinking. The parameters not supported are stream: true, fast mode (speed), Threads parameters, and max_tokens: 0.

    How long are batch results available for download?

    Results are available for 29 days after the batch was created. After that window, the batch object remains visible in the Console and via the API, but the results file can no longer be downloaded.

    Is the Batches API eligible for Zero Data Retention?

    No. The Message Batches API is explicitly excluded from Zero Data Retention (ZDR). Data is retained under the feature’s standard retention policy regardless of your organization’s ZDR settings.

    Run your batches from the Anthropic Console — API keys, billing, and a token-to-dollar cost estimator that shows what 50%-off batch pricing does to your actual workload.

    Related on Tygart Media: tokens to words · Claude Code billing · how much Claude costs.

    TAKEAWAY PDF & MARKDOWN TWIN
    Keep This Guide: Claude Message Batches API (PDF)
    Edition of November 13, 2026 — facts verified November 13, 2026. For AI: read the markdown edition.
  • How Many Words Is a Million Claude Tokens? (2026)

    How Many Words Is a Million Claude Tokens? (2026)

    Last verified: November 13, 2026 against Anthropic models overview and Token counting docs.

    Direct Answer (November 13, 2026): All four current Claude models — Fable 5.2 ($8/$40), Opus 5.5 ($4/$20), Sonnet 5.5 ($2/$10), and Haiku 5.5 ($0.10/$0.50 ≤100K) — have a 1M-token context window and 128K max output (models overview). Using Anthropic’s newer Opus 4.7+ tokenizer (~1.30–1.35x tokens vs. older Claude 4.6 models), 1M tokens holds ~555,000 English words (~2,200 pages), compared with ~750,000 words (~3,000 pages) under the legacy 4.6 tokenizer; legacy Haiku 4.5 is capped at 200K tokens.

    TAKEAWAY PDF & MARKDOWN TWIN
    How Many Words Is a Million Claude Tokens? (2026) — Takeaway PDF
    Edition of November 13, 2026 — facts verified November 13, 2026. For AI: read the markdown edition.

    A million Claude tokens equals roughly 750,000 words on Claude Sonnet 4.6 — but only about 555,000 words on Claude Opus 4.7, Claude Opus 4.8, and Claude Fable 5. The gap comes from a new tokenizer that Anthropic introduced with Opus 4.7: it emits up to 35% more tokens from the same text. The only reliable way to measure your actual token count is the /v1/messages/count_tokens endpoint.

    Token-to-word conversion by model (1 million tokens)

    Small token cubes assembling into short phrase cards on a desk
    Token-to-word conversion framing.

    Anthropic publishes word equivalents directly in the context-window tooltips on the official models overview page. The figures below come from those tooltips.

    Lineup currency (November 13, 2026): Current API lineup (all 1M context / 128K output): Fable 5.2 $8/$40, Opus 5.5 $4/$20, Sonnet 5.5 $2/$10, Haiku 5.5 $0.10/$0.50 (≤100K; $0.50/$2.50 >100K). Legacy models in the tokenizer comparison tables below (Fable 5, Opus 4.8, Opus 4.7, Sonnet 4.6, Haiku 4.5 at 200K context) are preserved specifically to show the pre- vs. post-Opus 4.7 tokenizer split.

    Model Tokenizer Context window ~Words per 1M tokens ~Pages per 1M tokens*
    Claude Fable 5 (claude-fable-5) New (Opus 4.7) 1M tokens ~555,000 ~2,200
    Claude Opus 4.8 (claude-opus-4-8) New (Opus 4.7) 1M tokens ~555,000 ~2,200
    Claude Opus 4.7 (claude-opus-4-7) New (Opus 4.7) 1M tokens ~555,000 ~2,200
    Claude Sonnet 4.6 (claude-sonnet-4-6) Older 1M tokens ~750,000 ~3,000
    Claude Haiku 4.5 (claude-haiku-4-5) Older 200k tokens ~150,000 (200K context) ~600 (200K context)
    Claude Opus 4.6 (claude-opus-4-6) Older 1M tokens ~750,000 ~3,000

    * Pages estimated at ~250 words per double-spaced page. These are approximations for typical English prose; actual counts vary by content type.

    What the new tokenizer changed — and why it matters

    Diagram comparing a long context window bar with a shorter output limit bar
    What the new tokenizer changed — and why it matters.

    Anthropic introduced a new tokenizer with Claude Opus 4.7. The official migration guide states that the new tokenizer “may use roughly 1x to 1.35x as many tokens when processing text compared to previous models (up to ~35% more, varying by content).” The most commonly cited figure across Anthropic’s documentation is roughly 30% more tokens for the same text.

    The practical effect: a document that costs 1,000,000 tokens on Opus 4.6 or Sonnet 4.6 costs approximately 1,300,000 tokens on Opus 4.7, Opus 4.8, or Fable 5. Budgets built for the old tokenizer need to be re-baselined against the new one.

    Lineup currency (November 13, 2026): Current API lineup (all 1M context / 128K output): Fable 5.2 $8/$40, Opus 5.5 $4/$20, Sonnet 5.5 $2/$10, Haiku 5.5 $0.10/$0.50 (≤100K; $0.50/$2.50 >100K). Legacy models in the tokenizer comparison tables below (Fable 5, Opus 4.8, Opus 4.7, Sonnet 4.6, Haiku 4.5 at 200K context) are preserved specifically to show the pre- vs. post-Opus 4.7 tokenizer split.

    Tokenizer Models Approximate token increase vs. older tokenizer
    New (introduced Opus 4.7) Opus 4.7, Opus 4.8, Fable 5, Mythos 5 ~30% typical; up to ~35% depending on content
    Older Opus 4.6, Sonnet 4.6, Haiku 4.5, Opus 4.5, Sonnet 4.5 Baseline

    The token counting page also notes the comparison directly: “Claude Fable 5 and Claude Mythos 5 use the tokenizer introduced with Claude Opus 4.7, which produces roughly 30% more tokens than models before Claude Opus 4.7 for the same text.”

    Use count_tokens — not tiktoken or ratio math

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    Use count_tokens — not tiktoken or ratio math.

    Anthropic’s migration guide explicitly flags the risk: “Any code path that estimates tokens client-side or assumes a fixed token-to-character ratio should be re-tested against Claude Opus 4.7.” OpenAI’s tiktoken library is trained on a different vocabulary and produces different counts. It will not give accurate results for any Claude model.

    The correct approach is the /v1/messages/count_tokens endpoint, passing the specific model you intend to use:

    curl https://api.anthropic.com/v1/messages/count_tokens \
      --header "x-api-key: $ANTHROPIC_API_KEY" \
      --header "content-type: application/json" \
      --header "anthropic-version: 2023-06-01" \
      --data '{
        "model": "claude-opus-5-5",
        "messages": [{"role": "user", "content": "Your text here"}]
      }'

    The endpoint returns a model-specific count. If you are migrating a workload from a legacy model like Sonnet 4.6 to a current model like Opus 5.5 or Fable 5.2, count the same prompt with both model IDs and compare the two input_tokens values. The token counting endpoint is free to use (rate limits apply by usage tier). Anthropic notes that the returned count is an estimate; the actual count at inference time may differ by a small amount.

    Quick reference: common document sizes

    Lineup currency (November 13, 2026): Current API lineup (all 1M context / 128K output): Fable 5.2 $8/$40, Opus 5.5 $4/$20, Sonnet 5.5 $2/$10, Haiku 5.5 $0.10/$0.50 (≤100K; $0.50/$2.50 >100K). Legacy models in the tokenizer comparison tables below (Fable 5, Opus 4.8, Opus 4.7, Sonnet 4.6, Haiku 4.5 at 200K context) are preserved specifically to show the pre- vs. post-Opus 4.7 tokenizer split.

    Document type Approx. words Tokens (older tokenizer) Tokens (new tokenizer)
    Novel (~400 pages) ~100,000 ~133,000 ~173,000
    Long research paper ~20,000 ~27,000 ~35,000
    Full context, Sonnet 4.6 (1M tokens) ~750,000 1,000,000 N/A (different model)
    Full context, Opus 4.8 (1M tokens) ~555,000 N/A (different model) 1,000,000

    These word estimates assume typical English prose. Code, structured data, and non-Latin scripts tokenize differently from natural language prose. Highly repetitive text and dense symbol-heavy content (like JSON or code) can fall well outside the ~0.75 words-per-token ratio.

    Does the new tokenizer change what fits in the context window?

    Yes, in one direction. The context window is still 1M tokens, but that window holds fewer words on the new tokenizer (~555k words) than on the old one (~750k words). A document that previously fit comfortably may now require trimming or chunking when moving to Opus 4.7, Opus 4.8, or Fable 5.

    Does Sonnet 4.6 use the new tokenizer?

    No. Claude Sonnet 4.6 uses the older tokenizer. Anthropic’s model overview page lists Sonnet 4.6’s 1M-token context window as equivalent to ~750k words, the same ratio as Opus 4.6 — confirming it has not adopted the Opus 4.7 tokenizer. Only Opus 4.7, Opus 4.8, Fable 5, and Mythos 5 use the new tokenizer.

    Can I use tiktoken or another open-source tokenizer for Claude?

    No. tiktoken is built for OpenAI models and uses a different vocabulary. It will not produce accurate token counts for any Claude model, and its error will be larger on the new Opus 4.7 tokenizer than on older Claude models. Use /v1/messages/count_tokens with the specific Claude model ID you plan to deploy.

    Does the new tokenizer affect pricing?

    Yes. Billing reflects token counts under the model’s tokenizer. If you migrate a workload from Opus 4.6 to Opus 4.8 and the new tokenizer produces 30% more tokens, your input token costs increase by roughly 30% before accounting for any per-token price difference between the models. Re-baseline cost estimates using the count_tokens endpoint rather than scaling from old measurements.

    How many pages is the full 1M-token context window?

    On models with the older tokenizer (Sonnet 4.6, Opus 4.6), 1 million tokens is approximately 3,000 double-spaced pages of typical English prose. On models with the new tokenizer (Opus 4.8, Fable 5), the same 1 million tokens holds approximately 2,200 pages. These are prose estimates — a 1M-token window filled with source code or dense structured data will span a very different page count.

    Related on Tygart Media: Message Batches API · Claude pricing · Anthropic API quickstart.

    TAKEAWAY PDF & MARKDOWN TWIN
    Keep This Guide: How Many Words Is a Million Claude Tokens? (2026) (PDF)
    Edition of November 13, 2026 — facts verified November 13, 2026. For AI: read the markdown edition.
  • Claude Desktop vs Code vs Agent SDK vs Managed Agents (2026)

    Claude Desktop vs Code vs Agent SDK vs Managed Agents (2026)

    Updated Nov 13, 2026 · Integrated Claude Workflow

    Anthropic unified standalone Claude Cowork into core Claude on September 16, 2026 (“Claude Cowork is now just Claude”). Multi-step task decomposition, sub-agent delegation, and desktop workspace workflows now run directly inside integrated Claude on Pro ($20/mo), Max ($100/mo), Ultra ($200/mo), Team, and Enterprise plans.

    Last verified: November 13, 2026

    Anthropic ships four distinct ways to put Claude to work as an agent, and they are easy to confuse. The short version: Claude and Claude Code are interactive products billed through your Claude subscription — Claude for knowledge work in the desktop app, Code for software work in your terminal, IDE, desktop, or browser. The Claude Agent SDK and Managed Agents are programmatic surfaces for developers, billed through the API: the Agent SDK is a Python/TypeScript library that runs the agent loop inside your own process, while Managed Agents is a REST API where Anthropic runs the loop and hosts the sandbox. The tables below give the verified, side-by-side breakdown.

    The decision matrix

    Three cards: coding depth, latency first, agent reliability
    Claude vs Code vs Agent SDK vs Managed Agents matrix.

    Each row is one surface. Read across for who it serves, whether you drive it turn-by-turn or hand it a goal, where the work executes, and how it is paid for.

    Surface Who it is for Interactive vs autonomous Where it runs How it is billed
    Claude Knowledge workers (non-developers) — research, documents, file and spreadsheet work Interactive, supervised — shows you the plan and waits for your approval before acting Core Claude across Desktop (macOS/Windows for local folders & workspace), web, and mobile (following the Sep 16, 2026 Claude unification) Claude subscription (Pro, Max, Team, Enterprise) — draws from your plan’s usage allocation
    Claude Code Developers doing interactive coding — build features, fix bugs, automate dev tasks Interactive — you drive it in a session, though it can run agentically across files and tools Your machine (terminal, VS Code, JetBrains, desktop app) or the browser at claude.ai/code Claude subscription or an Anthropic Console (API) account
    Claude Agent SDK Developers building custom agents programmatically (Python or TypeScript) Autonomous — Claude reads files, runs commands, and edits code on its own via the agent loop Your own process and infrastructure API key (pay-as-you-go credits); see the subscription note below for the June 15, 2026 change
    Managed Agents Developers running production or long-running agents without operating their own sandbox/session infrastructure Autonomous — you send events, Claude executes tools and streams back results Anthropic-managed cloud sandbox per session (or a self-hosted sandbox on your own infrastructure) Claude API key + the managed-agents-2026-04-01 beta header (no subscription path)

    Where billing actually differs

    The cleanest way to split these four is by the wallet they draw from. The two interactive products are funded by a subscription; the two programmatic surfaces are funded by the API. This is the single distinction that trips people up most often, so it is worth stating plainly in its own table.

    Surface Billing model Notes
    Claude Desktop (formerly Cowork) Subscription Included on Pro ($20/mo), Max ($100/mo), Ultra ($200/mo), Team, and Enterprise. Multi-step tasks consume more of your usage allocation than chatting.
    Claude Code Subscription or API Most surfaces require a Claude subscription or a Console account; the terminal CLI and VS Code also support third-party providers.
    Claude Agent SDK API (pay-as-you-go) Authenticated with an ANTHROPIC_API_KEY; also supports Bedrock, Claude Platform on AWS, Vertex AI, and Azure. Anthropic does not permit claude.ai login for third-party agents built on the SDK.
    Managed Agents API (credits) Requires a Claude API key and the beta header; enabled by default for API accounts.

    One dated nuance is worth pinning down because it changes how subscription users pay for programmatic work. Starting June 15, 2026, Claude Agent SDK and claude -p usage on subscription plans no longer counts toward your Claude plan’s interactive usage limits; instead, eligible subscribers receive a separate monthly Agent SDK credit (per-user, not pooled), while subscription usage limits stay reserved for interactive use of Claude Code, Claude, and Claude. If you use the Agent SDK with an API key from the Claude Platform, nothing changes — pay-as-you-go billing continues and you do not receive an Agent SDK monthly credit.

    SDK vs Managed Agents: the programmatic split

    Side-by-side cards defining what Claude Code is and is not
    SDK vs Managed Agents — the programmatic split.

    Both programmatic surfaces let Claude run tools autonomously, but they differ in where the loop and the work live. Anthropic’s own comparison frames it this way: the Agent SDK “is a library that runs the agent loop inside your own process,” while Managed Agents “is a hosted REST API: Anthropic runs the agent and the sandbox, and your application sends events and streams back results.” Pick by who you want operating the infrastructure.

    Dimension Agent SDK Managed Agents
    Runs in Your process, your infrastructure Anthropic-managed infrastructure
    Interface Python or TypeScript library REST API
    Agent works on Files on your infrastructure A managed sandbox per session
    Session state JSONL on your filesystem Anthropic-hosted event log
    Best for Local prototyping; agents that work directly on your filesystem and services Production agents without operating sandbox/session infrastructure; long-running, asynchronous sessions

    A common path, per Anthropic’s docs, is to prototype with the Agent SDK locally, then move to Managed Agents for production.

    Quick chooser

    Three cards for fast volume, daily workhorse, and deep flagship Claude seats
    Quick chooser for the right surface.

    If you are not writing code and want Claude to finish a task on your computer, use Claude. If you are a developer working interactively on a codebase, use Claude Code. If you are building your own agent and want it to run in your own process, use the Agent SDK. If you want Anthropic to run the agent and host the sandbox for long-running or production work, use Managed Agents.

    Is Claude the same as Claude Code?

    No. Following the September 16, 2026 unification, standalone Claude was merged directly into core Claude: integrated Claude Desktop handles knowledge work (research, documents, spreadsheets, local folders, and cloud scheduled tasks), while Claude Code is the agentic coding surface across terminal, VS Code, JetBrains, Desktop, and claude.ai/code.

    Does a Claude subscription cover the Agent SDK or Managed Agents?

    Claude and Claude Code are included with Claude subscriptions (Pro, Max, Team, Enterprise). The Agent SDK and Managed Agents are API surfaces authenticated with a Claude API key. As of June 15, 2026, subscription users do get a separate monthly Agent SDK credit for SDK and claude -p usage, but Managed Agents has no subscription path — it requires an API key and a beta header.

    Where does the work actually execute for each surface?

    Claude runs on your own computer in the desktop app. Claude Code runs on your machine (or in the browser). The Agent SDK runs in your own process and infrastructure. Managed Agents executes in an Anthropic-managed cloud sandbox per session, or a self-hosted sandbox you control.

    Is the Agent SDK built on Claude Code?

    Yes. Per Anthropic, the Agent SDK “gives you the same tools, agent loop, and context management that power Claude Code, programmable in Python and TypeScript.” Anthropic also describes it as “Claude Code as a library.”

    Is Managed Agents generally available?

    No. As of November 2026, Claude Managed Agents remains in public beta (launched April 8, 2026). Every Managed Agents endpoint requires the managed-agents-2026-04-01 beta header (the SDK sets it automatically), and access is enabled by default for API accounts.

    Related on Tygart Media: what Claude is · Claude Code getting started · Agent SDK migration.


    >Part of the complete guide: Claude Code

  • Claude Enterprise Compliance: SOC 2, HIPAA & Security

    Claude Enterprise Compliance: SOC 2, HIPAA & Security

    Last verified: June 13, 2026

    Quick Reference • Anthropic Compliance Credentials
    SOC 2 · ISO 27001 / 42001 · HIPAA
    CredentialStatus as described by AnthropicScope
    SOC 2 Type I & Type IIListed as heldCommercial products (Claude for Work, Anthropic API)
    ISO 27001:2022CertifiedInformation Security Management
    ISO/IEC 42001:2023Certified (issued by Schellman Compliance, LLC, accredited by the ANSI National Accreditation Board)AI Management Systems
    HIPAA“HIPAA-ready configuration (BAA available)”See BAA section

    Anthropic publishes a defined compliance posture for Claude: it holds SOC 2 Type I and Type II, ISO 27001:2022, and ISO/IEC 42001:2023 credentials; it will sign a Business Associate Agreement (BAA) covering HIPAA-ready services such as the first-party API and Enterprise plans; by default it does not train models on data sent under its commercial terms; and it offers a zero-data-retention (ZDR) arrangement on the Messages and Token Counting APIs. The hard part for buyers is the per-surface boundary — what the BAA covers, which features are blocked under ZDR or HIPAA, how long data is kept, and where it can be processed. Every figure below is drawn from Anthropic’s own trust, privacy, and developer documentation, with sources at the bottom. Eligibility, feature lists, and durations change; treat your signed contract and the live Trust Center as the controlling sources.

    Certifications and attestations

    Five security domains: identity, data, code governance, audit, agents
    Certifications and attestations overview.

    Anthropic’s help center lists the following compliance credentials for its commercial products (Claude for Work and the Anthropic API). It directs customers to the Trust Portal at trust.anthropic.com to request copies of the underlying reports and certificates.

    CredentialStatus as described by AnthropicScope
    SOC 2 Type I & Type IIListed as heldCommercial products (Claude for Work, Anthropic API)
    ISO 27001:2022CertifiedInformation Security Management
    ISO/IEC 42001:2023Certified (issued by Schellman Compliance, LLC, accredited by the ANSI National Accreditation Board)AI Management Systems
    HIPAA“HIPAA-ready configuration (BAA available)”See BAA section

    Anthropic describes itself as “one of the first frontier AI labs” to achieve ISO/IEC 42001:2023 certification, in an announcement dated January 13, 2025. The help-center certifications list does not mention ISO 27017, ISO 27018, FedRAMP, or CSA STAR; those are left out here rather than asserted. GDPR and CCPA are handled through Anthropic’s privacy program and customer agreements rather than as line-item “certifications” (see GDPR section).

    HIPAA and the BAA: covered by product surface

    Five-step path: account, API keys, billing, usage, workspaces
    HIPAA and the BAA by product surface.

    Anthropic states it “provides a Business Associate Agreement (BAA) covering our HIPAA-ready services, such as use of our first-party API or Enterprise plans.” HIPAA readiness is enforced at the organization level: Anthropic provisions a dedicated HIPAA-enabled organization that automatically blocks non-eligible features. To process protected health information (PHI) on the API, an administrator must sign the BAA and contact sales to enable it; for Enterprise, an admin activates HIPAA compliance in the Claude Enterprise admin settings under “Data & Privacy” and signs the BAA there.

    SurfaceBAA / HIPAA-ready coverage
    First-party Claude API (Messages API)Covered as an Eligible Service (admin signs BAA, then contact sales)
    Claude EnterpriseCovered once an admin activates HIPAA compliance and signs the BAA
    Workbench and ConsoleNot covered
    Claude Free, Pro, Max, TeamNot covered
    CoworkNot covered
    Claude CodeNot covered under HIPAA readiness
    Amazon Bedrock / Vertex AINot covered (cloud provider is the data processor; see those platforms)
    Claude Platform on AWS / Microsoft FoundryHIPAA readiness not available
    Beta features (e.g., Claude in Office, Claude Design)Generally not covered unless explicitly listed as eligible

    Within the API, only a subset of features is HIPAA-eligible. Anthropic enforces this in code: a HIPAA-enabled organization that sends a non-eligible feature gets a 400 invalid_request_error naming the blocked feature. Anthropic states your signed BAA is the official source of truth for what is covered.

    API featureHIPAA-eligible
    Messages API (/v1/messages)Yes
    Token countingYes
    Web searchYes (dynamic filtering not eligible)
    Prompt caching, structured outputs, extended/adaptive thinking, citations, 1M context, PDF (inline), data residency, effort, fast mode, bash & text-editor tools, memory toolYes
    Web fetch, computer use, advisor tool, context management (compaction / editing), tool search, cache diagnosticsNo
    Code execution, programmatic tool callingNo
    Batch API, Files API, Agent Skills, MCP connector, Claude Managed Agents, MCP tunnelsNo

    PHI must appear only in message content, attached files, or related file names/metadata — never in JSON schema definitions (property names, enum/const values, or pattern regexes), because compiled schemas are cached separately and do not receive the same PHI protections. Anthropic notes workspace names, user contact details, billing data, and support tickets are not expected to contain PHI under the BAA.

    Data retention (commercial default)

    Under Anthropic’s commercial data retention policy, conversation content is not retained by default for the API, and API inputs and outputs are automatically deleted on the backend within 30 days of receipt or generation. For interface products such as Claude for Work, data persists until you delete it, after which it is removed from backend storage within 30 days. Two exceptions extend retention regardless of arrangement.

    Data type / eventRetention
    API inputs and outputs (default)Auto-deleted within 30 days
    Deleted conversation content (Claude for Work)Removed from backend within 30 days
    Inputs/outputs for a chat flagged as a Usage Policy violationUp to 2 years
    Trust & safety classification scores (flagged chat)Up to 7 years
    Data tied to feedback you submit (thumbs up/down, bug report)5 years

    Zero data retention (ZDR)

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    Zero data retention (ZDR).

    With a ZDR arrangement, customer data is not stored at rest after the API response is returned, except where needed to comply with law or combat misuse. ZDR is requested through Anthropic sales and enabled per organization — it does not carry over automatically to new organizations under the same account. Even under ZDR, Anthropic retains User Safety classifier results, and may retain inputs and outputs for up to 2 years if a chat or session is flagged for a Usage Policy violation. CORS is not supported for ZDR organizations, so browser apps must call through a backend proxy.

    SurfaceZDR coverage
    Claude Messages API & Token Counting APIEligible
    Claude Code (Commercial org API keys, or via Claude Enterprise with ZDR enabled)Eligible
    Console and WorkbenchNot eligible
    Claude Teams & Claude Enterprise interfacesNot eligible (except Claude Code via Enterprise with ZDR on)
    Claude Free, Pro, MaxNot eligible
    Claude Managed AgentsNot eligible (stateful; delete transcripts manually)
    Batch API, Files API, code execution, Agent Skills, MCP connectorNot eligible
    Third-party integrationsNot eligible

    A handful of ZDR-eligible features are marked “Yes (qualified)” — structured outputs and cache diagnostics — meaning Anthropic retains a narrow, documented set of technical data (for example, a cached JSON schema for up to 24 hours since last use) rather than your prompts or Claude’s outputs.

    Model-training policy and Covered Models

    Anthropic’s Privacy Policy states it does not apply to content processed on behalf of business customers; that data is governed by the customer agreement. For the API specifically, Anthropic states retained data is never used for model training without your express permission. Anthropic’s consumer-terms update confirms the data-use changes “do not apply to services under our Commercial Terms,” including Claude for Work, Claude for Government, Claude for Education, and API use (including via Amazon Bedrock and Google Cloud’s Vertex AI). Training on commercial data happens only if a customer explicitly opts in (for example, the Development Partner Program).

    One model-specific exception affects retention, not training: Claude Fable 5 and Claude Mythos 5 are designated Covered Models and require 30-day data retention. ZDR is not available for these two models; a request to either from an organization whose retention configuration doesn’t meet the requirement returns a 400 invalid_request_error. Organizations with ZDR can turn on 30-day retention for a single workspace (Console > Settings > Workspaces > Privacy controls) to use those models there while keeping ZDR elsewhere. On Bedrock, Vertex AI, and Microsoft Foundry, retention requirements for these models are set by each platform.

    GDPR, data residency, and international transfers

    For users in the EEA, UK, or Switzerland, the data controller is Anthropic Ireland, Limited; elsewhere it is Anthropic PBC. Where the EU or UK GDPR applies, Anthropic responds to verifiable data-subject requests within one calendar month. For transfers to countries without an adequacy decision, Anthropic relies on standard contractual clauses, and publishes its subprocessors at anthropic.com/subprocessors.

    On data residency, the Claude API exposes two independent controls. inference_geo sets where inference runs per request — values are "global" (default) or "us" — and is supported on Claude Opus 4.6, Sonnet 4.6, and later (older models return a 400). Workspace geo controls where data is stored at rest and where endpoint processing happens; it is set at workspace creation and cannot be changed afterward. Per Anthropic’s documentation, "us" is currently the only available workspace geo, and only "us" and "global" inference geos are available — so there is currently no EU-resident storage option at the workspace level. US-only inference is priced at 1.1x the standard rate on supported models. Data residency is available on the Claude API (first-party) and Claude Platform on AWS; on Bedrock and Vertex AI the region is set by the endpoint or inference profile.

    Does Anthropic train its models on my API or commercial data?

    No, not by default. Anthropic’s Privacy Policy excludes business-customer content (governed by your customer agreement), and for the API it states retained data is never used for training without your express permission. The consumer data-use changes explicitly do not apply to Commercial Terms services. Training on commercial data requires an explicit opt-in.

    Will Anthropic sign a BAA, and for what?

    Yes. Anthropic signs a BAA covering HIPAA-ready services such as the first-party API and Enterprise plans. The Messages API is covered as an Eligible Service. It does not cover Workbench/Console, Free/Pro/Max/Team, Cowork, Claude Code, or beta features unless explicitly listed. An admin must sign the BAA and enable HIPAA readiness; the organization then auto-blocks non-eligible features.

    What’s the difference between ZDR and HIPAA readiness?

    Per Anthropic, ZDR prevents customer data from being stored at rest after the API response. HIPAA readiness is a broader set of safeguards (encryption, access controls, audit logging) that protect PHI throughout its lifecycle and lets data be retained with safeguards rather than deleted immediately. Anthropic states you do not also need ZDR if you have HIPAA readiness.

    How long does Anthropic keep my data?

    By default, API inputs and outputs are auto-deleted within 30 days. If a chat is flagged as a Usage Policy violation, inputs/outputs may be retained up to 2 years and trust & safety classification scores up to 7 years. Data tied to feedback you submit is kept 5 years. ZDR removes the default at-rest storage but does not remove the law/misuse exceptions.

    Can I keep Claude inference and data in the EU?

    Not at rest currently. The API’s inference_geo can pin inference to "us" or run "global", but Anthropic’s documentation lists "us" as the only available workspace geo (storage region). EU/UK data-subject rights and standard contractual clauses apply regardless, but an EU storage-residency option is not currently offered at the workspace level per the docs verified here.

    Related on Tygart Media: is Claude safe · Anthropic safety.

  • Claude vs GPT-5 vs Gemini: 2026 Coding Benchmarks

    Claude vs GPT-5 vs Gemini: 2026 Coding Benchmarks

    Last refreshed: November 13, 2026 · Historical benchmark scores verified June 13, 2026

    Official references: Anthropic models overview · Claude API pricing

    Direct Answer (November 13, 2026): Anthropic’s current coding and reasoning lineup is Fable 5.2 (claude-fable-5-2, $8/$40), Opus 5.5 (claude-opus-5-5, $4/$20), Sonnet 5.5 (claude-sonnet-5-5, $2/$10), and Haiku 5.5 (claude-haiku-5-5, $0.10/$0.50 ≤100K) — all with 1M context and 128K max output. The primary-source leaderboard below preserves our verified June 13, 2026 cross-vendor benchmark audit (Fable 5, Opus 4.8, GPT-5.5, Gemini 3.1 Pro) without re-attributing historical scores to newer releases.

    TAKEAWAY PDF & MARKDOWN TWIN
    Claude vs GPT-5 vs Gemini — Takeaway PDF
    Edition of November 13, 2026 — facts verified November 13, 2026. For AI: read the markdown edition.

    As of June 13, 2026, the four models most often compared for coding work are Claude Fable 5 and Claude Opus 4.8 from Anthropic, GPT-5.5 from OpenAI, and Gemini 3.1 Pro from Google. This page is a leaderboard built on one rule: every score below is taken from a vendor’s own page or the benchmark’s official model card that we fetched on the verification date, or it is marked as not published. Several vendors publish their benchmark tables as images rather than machine-readable text; where we could not read an official figure directly, we list the metric as not machine-verifiable and link to the source document instead of estimating. The result is a smaller table than most roundups, but every number in it is one you can click through and check.

    November 2026 lineup update: Since those June 13 scores were verified, Anthropic’s lineup has moved to Fable 5.2 ($8/$40), Opus 5.5 ($4/$20), Sonnet 5.5 ($2/$10), and Haiku 5.5 ($0.10/$0.50 ≤100K; $0.50/$2.50 >100K), superseding Fable 5.1, Fable 5, Opus 4.8, and Haiku 4.5. The historical benchmark scores below remain labeled under their June 2026 models and have not been re-attributed.

    Models and pricing (specs verified June 13, 2026)

    Three cards: coding depth, latency first, agent reliability
    Models compared — verified specs without sticky dollars.

    These columns are confirmed from each vendor’s official model documentation. Claude prices, context windows, and cutoffs come from Anthropic’s models overview and the AWS Bedrock model card; GPT-5.5 from OpenAI’s developer docs; Gemini 3.1 Pro from Google’s DeepMind model card and the Gemini API pricing page.

    Model API ID Input / Output (per Mtok) Context Max output Knowledge cutoff
    Claude Fable 5 claude-fable-5 $10 / $50 1M 128K Not stated on overview*
    Claude Opus 4.8 claude-opus-4-8 $5 / $25 1M 128K Jan 2026
    GPT-5.5 gpt-5.5 $5 / $30 1,050,000 128K Dec 1, 2025
    Gemini 3.1 Pro gemini-3.1-pro-preview $2 / $12 (≤200K)** 1M 64K Not stated on model card

    *Anthropic’s models overview lists Fable 5’s specs and price but does not publish a knowledge-cutoff date for it in the table we fetched. **Gemini 3.1 Pro uses tiered pricing: $2 / $12 per Mtok for prompts up to 200K tokens, rising to $4 / $18 for prompts above 200K tokens (Google AI pricing page). GPT-5.5 pricing rises to 2x input / 1.5x output above 272K input tokens (OpenAI developer docs). Claude Opus 4.8 (legacy — still listed) offers an optional fast mode at $10 / $50 per Mtok (Anthropic).

    Coding benchmark scores (primary-source only, June 2026 models)

    Three abstract product cards on a desk comparing Claude with other chat API offerings
    Coding benchmark scores — primary-source only.

    Each cell is either a figure we read directly from a primary source on June 13, 2026, or marked “not machine-verifiable” with the source you should consult. A blank-equivalent entry never means zero — it means the official figure was not available in readable form during verification. Note the harness and version differences called out in the footnotes: they make cross-vendor cells not strictly comparable.

    Benchmark Claude Fable 5 Claude Opus 4.8 GPT-5.5 Gemini 3.1 Pro
    SWE-bench Verified Not machine-verifiable (see system card) Not machine-verifiable (see system card) Not published in retrievable primary source 80.6%
    SWE-bench Pro (Public) Not machine-verifiable (see system card) Not machine-verifiable (see system card) Not published in retrievable primary source 54.2%
    Terminal-Bench Not machine-verifiable (see system card) Not machine-verifiable (see system card) 83.4% (v2.1, Codex CLI harness)† 68.5% (v2.0, Terminus-2 harness)
    LiveCodeBench Pro Not published in retrievable primary source Not published in retrievable primary source Not published in retrievable primary source 2887 Elo

    †GPT-5.5’s Terminal-Bench 2.1 figure of 83.4% is the score Anthropic attributes to GPT-5.5 “with the Codex CLI harness” in a footnote on its Claude Opus 4.8 announcement page. It is a competitor-reported comparison, not a number we read from OpenAI directly. Google reports Gemini 3.1 Pro on Terminal-Bench 2.0 under the Terminus-2 harness (68.5%); because the version and harness differ, the Gemini and GPT-5.5 Terminal-Bench cells are not directly comparable. Gemini’s SWE-bench Verified (80.6%), SWE-bench Pro Public (54.2%), and LiveCodeBench Pro (2887 Elo) are single-attempt figures from Google’s official Gemini 3.1 Pro model card.

    What we could not verify from a primary source

    Anthropic publishes its coding comparison tables for Claude Opus 4.8 and Claude Fable 5 as images inside its announcement pages, and the full Claude Opus 4.8 System Card PDF exceeded our fetch size limit, so we could not machine-read those percentages on the verification date. OpenAI’s GPT-5.5 announcement page returned an access error to our fetcher, and its developer-docs model page lists specs and pricing but no benchmark scores. We have therefore left Claude’s and GPT-5.5’s SWE-bench figures out of the table rather than reproduce numbers we could not confirm at the source. For those figures, consult the primary documents linked in our source list: the Claude Opus 4.8 System Card, the Claude Fable 5 and Mythos 5 announcement, and OpenAI’s GPT-5.5 page. If you are choosing a model today, the verified spec table above (price, context, output, cutoff) is the part you can rely on without caveat.

    How to read a coding leaderboard

    Three cards for fast volume, daily workhorse, and deep flagship Claude seats
    How to read a coding leaderboard.

    Three cautions apply to any 2026 coding comparison. First, harness matters: the same model scores differently on Terminal-Bench depending on whether it runs under Terminus-2, a Codex CLI scaffold, or a vendor’s internal agent, which is why we annotate every Terminal-Bench cell. Second, version matters: “Terminal-Bench 2.0” and “Terminal-Bench 2.1” are different test sets, and “SWE-bench Pro” public and full splits differ — a single percentage with no version is close to meaningless. Third, a headline score is one slice of behavior; long-horizon agentic coding, tool-call reliability, and context handling over a long session often decide real-world usefulness more than a single pass rate. Treat the verified cells here as a starting point, then test the shortlist on your own repository.

    Which model has the highest published coding benchmark score in June 2026?

    We cannot crown a single winner from primary sources alone, because Anthropic and OpenAI publish their coding scores in formats we could not machine-verify on June 13, 2026. From figures we could read directly, Google’s Gemini 3.1 Pro model card reports 80.6% on SWE-bench Verified and 54.2% on SWE-bench Pro (Public). Anthropic’s and OpenAI’s comparable figures are in their system cards and announcement pages, which we link in the sources; we did not reproduce them here because they were not readable at the source during verification.

    What does Claude Fable 5 cost, and how is it different from Opus 4.8 (legacy — still listed)?

    Claude Fable 5 (claude-fable-5) is priced at $10 per million input tokens and $50 per million output tokens, with a 1M-token context window and up to 128K output tokens (Anthropic models overview). Claude Opus 4.8 (legacy — still listed) (claude-opus-4-8) is the Opus-tier flagship at $5 / $25 per Mtok, also 1M context and 128K output, with a January 2026 knowledge cutoff. Fable 5 is Anthropic’s most capable widely released model; Opus 4.8 (legacy — still listed) is the lower-priced model most teams will use for everyday agentic coding.

    Lineup currency (November 13, 2026): Current API list: Fable 5.2 $8/$40, Opus 5.5 $4/$20, Sonnet 5.5 $2/$10, Haiku 5.5 $0.10/$0.50 (≤100K). Legacy (still listed on Anthropic’s card): Fable 5.1 $10/$50, Haiku 4.5 $1/$5, Opus 4.8 $5/$25, Sonnet 4.6 $3/$15.

    Why are some benchmark cells marked “not machine-verifiable” instead of showing a number?

    Because this page only prints scores we could confirm from a primary source on the verification date. Several vendors render their benchmark tables as images, and one large system-card PDF exceeded our fetch limit, so the underlying percentages were not readable to us. Rather than copy figures from third-party trackers, we mark the cell and point you to the official document. It keeps the leaderboard honest at the cost of being shorter.

    How do the context windows compare?

    Claude Fable 5, Claude Opus 4.8, and Gemini 3.1 Pro each offer a 1M-token context window; GPT-5.5 offers 1,050,000 tokens. Maximum output is 128K tokens for Claude Fable 5, Claude Opus 4.8, and GPT-5.5, and 64K tokens for Gemini 3.1 Pro. Note that Claude Opus 4.8’s context window is 200K on Microsoft Foundry specifically, per Anthropic’s documentation.

    Is Terminal-Bench comparable across these models?

    Not cell-for-cell. Google reports Gemini 3.1 Pro on Terminal-Bench 2.0 under the Terminus-2 harness (68.5%), while the GPT-5.5 figure we show (83.4%) is Terminal-Bench 2.1 under a Codex CLI harness, as attributed by Anthropic. Different versions and different harnesses mean the two numbers should not be read as a head-to-head result.

    Related on Tygart Media: Claude Code vs Cursor · Claude Code vs Codex.

    TAKEAWAY PDF & MARKDOWN TWIN
    Keep This Guide: Claude vs GPT-5 vs Gemini (PDF)
    Edition of November 13, 2026 — facts verified November 13, 2026. For AI: read the markdown edition.


    Part of the complete guide: Claude vs the Field

    💼 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.

  • Migrating Off Retired Claude Models: The Breaking-Chang (2026)

    Migrating Off Retired Claude Models: The Breaking-Chang (2026)

    Last verified: October 6, 2026 — retirement dates per Anthropic model deprecations.

    Claude Opus 4 (claude-opus-4-20250514) and Claude Sonnet 4 (claude-sonnet-4-20250514) are deprecated and retire on June 15, 2026, after which requests to them return a 404. The official replacements are claude-opus-4-8 and claude-sonnet-4-6. But swapping the model string alone will break a working integration: depending on which target you choose, several request parameters that were valid on the May 2025 models now return a 400 error, and two changes alter behavior silently. This page maps each removed or changed parameter to the exact failure and the fix.

    One distinction governs the whole migration. The Opus path (to claude-opus-4-8) is the strict one: it removes temperature/top_p/top_k and manual thinking budgets entirely. The Sonnet path (to claude-sonnet-4-6) is gentler: it keeps sampling parameters (with the older “one of temperature or top_p, not both” rule) and still accepts budget_tokens as deprecated-but-functional. The one rule both paths share: assistant-turn prefills now return 400.

    The breaking-change matrix

    Side-by-side panels contrasting old model IDs still in code with a migrate checklist
    The breaking-change matrix.

    Each row is a change that breaks on at least one migration target. “Error” means the API rejects the request server-side (HTTP 400) even though the SDK request type still type-checks. “Silent” means no error — the behavior simply differs.

    ChangeOn Opus 4.8On Sonnet 4.6SymptomFix
    thinking: {type:"enabled", budget_tokens:N}400 error (removed)Deprecated, still works400 on Opus; cost/latency drift on Sonnetthinking: {type:"adaptive"} + output_config.effort
    temperature / top_p / top_k400 error (removed)Keep only one of temperature or top_p400 on Opus if any set; 400 on Sonnet if both setRemove on Opus; steer via prompt. Keep one on Sonnet
    Assistant-turn prefill (last message role:"assistant")400 error400 errorRequest rejected on bothoutput_config.format (structured outputs) or system-prompt instruction
    thinking.display defaultDefaults to "omitted"Returns summarized textReasoning text empty on Opus (silent)Set display: "summarized" on Opus
    TokenizerNew tokenizer (more tokens)Unchanged tokenizerSame text counts higher on Opus; max_tokens too tightRe-baseline with count_tokens; add headroom
    output_format (top-level)Deprecated API-wideDeprecated API-wideWorks, but slated for removalMove to output_config: {format: {...}}

    Model ID swaps and retirement dates

    Flow from Family to Seat to Generation to API id
    Model ID swaps and retirement dates.
    Retiring modelModel IDRetiresReplacement
    Claude Opus 4claude-opus-4-20250514 (alias claude-opus-4-0)June 15, 2026claude-opus-4-8
    Claude Sonnet 4claude-sonnet-4-20250514 (alias claude-sonnet-4-0)June 15, 2026claude-sonnet-4-6

    These are the original May 2025 models, not the later Opus 4.6 or Sonnet 4.5 releases. Use the exact replacement strings above — do not append a date suffix to claude-opus-4-8 or claude-sonnet-4-6 (they are dateless pinned snapshots).

    budget_tokens to adaptive thinking

    The Opus path removes the fixed thinking budget. thinking: {type:"enabled", budget_tokens:N} returns a 400 on claude-opus-4-8. The replacement is adaptive thinking — the model decides how much to think per request — with overall depth controlled by the effort parameter (low | medium | high | xhigh | max). There is no direct token-count equivalent; effort is an output-level control, not a thinking budget.

    # Before (Claude Opus 4 / Sonnet 4)
    client.messages.create(
        model="claude-opus-4-20250514",
        max_tokens=16000,
        thinking={"type": "enabled", "budget_tokens": 10000},
        messages=[{"role": "user", "content": "..."}],
    )
    
    # After (Claude Opus 4.8)
    client.messages.create(
        model="claude-opus-4-8",
        max_tokens=16000,
        thinking={"type": "adaptive"},
        output_config={"effort": "high"},  # or "max", "xhigh", "medium", "low"
        messages=[{"role": "user", "content": "..."}],
    )

    On the Sonnet path, budget_tokens is deprecated but still functional on claude-sonnet-4-6, so it will not 400 — but you should still migrate to adaptive thinking. Note also that Sonnet 4.6 defaults to effort: "high" where Sonnet 4 had no effort parameter at all; if you do not set it explicitly you may see higher latency and token use after the swap.

    Sampling parameters: removed vs. restricted

    Desk with laptop, checklist notebook, and billing card ready before creating an Anthropic API key
    Sampling parameters — removed vs restricted.

    This is where the two paths diverge most. On claude-opus-4-8, setting temperature, top_p, or top_k to any non-default value returns a 400. Remove them entirely and steer behavior through prompting instead. (If you used temperature=0 for determinism, note it never guaranteed identical outputs on prior models either.)

    # Opus path — sampling params 400 on claude-opus-4-8
    # Before
    client.messages.create(
        model="claude-opus-4-20250514",
        temperature=0.7,
        top_p=0.9,
        messages=[...],
    )
    
    # After — remove them
    client.messages.create(
        model="claude-opus-4-8",
        messages=[...],
    )

    On claude-sonnet-4-6 the older Claude 4.x rule still applies: you may pass one of temperature or top_p, but passing both returns a 400. So a Sonnet 4 to Sonnet 4.6 move only requires dropping one of the two if you were setting both.

    Assistant-turn prefills to structured outputs

    Prefilling the final assistant turn — ending your messages array with a role: "assistant" message to force a response shape — returns a 400 on both claude-opus-4-8 and claude-sonnet-4-6. This is the one breaking change you cannot dodge by choosing the gentler target. The replacement depends on what the prefill was doing.

    Prefill was used forReplacement
    Forcing JSON / YAML / schema outputoutput_config.format with a json_schema
    Forcing a classification labelA tool with an enum field, or structured outputs
    Skipping preambles (“Here is…”)System-prompt instruction: respond directly, no preamble
    Continuing an interrupted responseMove continuation into the user turn
    Steering around bad refusalsUsually unnecessary now — plain user-turn prompting suffices
    # Before (fails on both targets) — prefill forcing JSON shape
    messages=[
        {"role": "user", "content": "Extract the name."},
        {"role": "assistant", "content": "{\"name\": \""},
    ]
    
    # After — structured outputs replace the prefill
    client.messages.create(
        model="claude-opus-4-8",
        max_tokens=1024,
        output_config={"format": {"type": "json_schema", "schema": SCHEMA}},
        messages=[{"role": "user", "content": "Extract the name."}],
    )

    Thinking display: the silent one

    On claude-opus-4-8, thinking blocks still stream, but their thinking text field is empty unless you opt in — the default is display: "omitted". There is no error; if your UI rendered the summarized reasoning, it now shows a long pause before output. Restore it by setting the display mode:

    thinking = {
        "type": "adaptive",
        "display": "summarized",  # default is "omitted" on Opus 4.8/4.7
    }

    The block-field name is unchanged — it is still block.thinking on a thinking-type block. The fix is the request parameter, not the response-handling code. (Sonnet 4.6 is not affected by this default change.)

    The new tokenizer: re-baseline max_tokens

    This change is Opus-only and easy to miss because it produces no error. claude-opus-4-8 uses the tokenizer introduced with Opus 4.7, under which the same text tokenizes to roughly 1x–1.35x as many tokens — up to about 35% more, around 30% on typical content, varying by workload. Three consequences:

    What to checkWhy
    max_tokens ceilings and compaction triggersThe same output now consumes more tokens; tight limits truncate mid-thought
    Client-side token estimators (e.g. fixed char-to-token ratios)Calibrated against the old tokenizer; now undercount
    Cost and rate-limit dashboardscount_tokens returns higher numbers; re-baseline before reacting

    Re-run client.messages.count_tokens(model="claude-opus-4-8", ...) on a representative sample of your prompts. Do not apply a blanket multiplier. Sonnet 4.6 keeps the older tokenizer, so a Sonnet 4 to Sonnet 4.6 move has no tokenizer re-baseline to do.

    The full checklist

    StepOpus 4 to 4.8Sonnet 4 to 4.6
    Update model ID stringRequiredRequired
    Replace budget_tokens with adaptive thinkingRequired (400)Recommended (deprecated)
    Sampling paramsRemove all (400)Keep only one (both 400)
    Remove assistant-turn prefillsRequired (400)Required (400)
    Set display: "summarized" if showing reasoningRequired for visible thinkingNot applicable
    Re-baseline max_tokens for new tokenizerRequiredNot applicable
    Set effort explicitlyDefaults to highDefaults to high
    Move output_format to output_config.formatRecommendedRecommended
    Verify tool inputs parsed with a JSON parserRecommendedRecommended
    Spot-check one request, then roll outRequiredRequired

    If you run Claude Code, /claude-api migrate applies the model swap, breaking-parameter changes, prefill replacement, and effort calibration across a codebase, then produces a verify-it-yourself checklist. It asks you to confirm scope before editing any files.

    Is migrating off Claude Opus 4 really not just a model-string change?

    No. Moving to claude-opus-4-8 also requires removing temperature/top_p/top_k and any budget_tokens (all now return 400), removing assistant-turn prefills (400), opting back into summarized thinking if your UI shows it, and re-baselining max_tokens for the new tokenizer. Only the Sonnet 4 to Sonnet 4.6 move is close to a drop-in — and even that requires removing prefills.

    When exactly do Claude Opus 4 and Sonnet 4 stop working?

    June 15, 2026. After that date, requests to claude-opus-4-20250514 and claude-sonnet-4-20250514 return a 404. These are the original May 2025 models, not Opus 4.6 or Sonnet 4.5.

    What replaces budget_tokens now that it errors on Opus?

    Adaptive thinking (thinking: {type:"adaptive"}) plus the effort parameter inside output_config. There is no exact token-count equivalent: the model decides how much to think per request, and effort (low through max) tunes overall depth and spend. On Sonnet 4.6, budget_tokens still works but is deprecated.

    Why does the same prompt cost more tokens on Opus 4.8?

    Opus 4.8 uses the tokenizer introduced with Opus 4.7, under which the same text produces roughly 1x–1.35x as many tokens (about 30% more on typical content, up to ~35%). Re-run the count_tokens endpoint against claude-opus-4-8 and give max_tokens and compaction triggers extra headroom. Sonnet 4.6 keeps the older tokenizer, so it is unaffected.

    My thinking summaries disappeared after migrating to Opus — is that a bug?

    No. On Opus 4.8 (and 4.7), thinking.display defaults to "omitted", so thinking blocks stream with an empty text field. Set display: "summarized" in your thinking config to restore visible reasoning. The field name is unchanged; only the default flipped.

    Related on Tygart Media: Claude Fable 5 guide · API quickstart.

  • Claude Code Billing & Monthly Credit Pools (2026)

    Claude Code Billing & Monthly Credit Pools (2026)

    Last verified: November 13, 2026 (Pacific)

    TAKEAWAY PDF & MARKDOWN TWIN
    Claude Code Billing & Monthly Credit Pools (2026) — Takeaway PDF
    Edition of November 13, 2026 — facts verified November 13, 2026. For AI: read the markdown edition.

    Direct Answer (November 13, 2026): Interactive Claude Code in the terminal or IDE draws from your subscription’s rolling usage allowance, while programmatic runs (the Claude Agent SDK, claude -p, and CI integrations) use separate monthly API/Agent SDK credits. Per claude.com/pricing and platform.claude.com pricing: Pro ($20/mo) includes $0 general API credits (while retaining separate Agent SDK terms), Max ($100/mo) includes $100/mo in monthly API credits, Ultra ($200/mo, formerly Max 20x) includes $200/mo in monthly API credits, and Team includes up to $500/mo in pooled API credits; setting ANTHROPIC_API_KEY bills directly to your prepaid Console balance at standard token rates (led by Fable 5.2 at $8/$40, Opus 5.5 at $4/$20, Sonnet 5.5 at $2/$10, and Haiku 5.5 at $0.10/$0.50 up to 100K tokens).

    TAKEAWAY PDF & MARKDOWN TWIN
    Claude Code Billing & Monthly Credit Pools (2026) — Takeaway PDF
    Edition of November 13, 2026 — facts verified November 13, 2026. For AI: read the markdown edition.

    Claude Code has two billing models, and which one applies depends on how you run it, not just which plan you hold. When you use Claude Code interactively in the terminal or IDE on a Pro or Max plan, it draws from the same subscription usage limits as your Claude.ai chats. But starting June 15, 2026, Anthropic separates out programmatic usage: the Claude Agent SDK, the claude -p headless command, the Claude Code GitHub Actions integration, and third-party apps that authenticate through the Agent SDK will no longer count against your interactive subscription pool. Instead they draw from a new, separate monthly Agent SDK credit, billed at standard API rates. This page documents both models, the exact credit amounts per plan, and the SDK package rename you may also need to handle.

    The two billing models at a glance

    Workshop fuel gauge and metal tokens pouring into an API hopper, metaphor for pay-per-token pricing
    Two billing models at a glance — no sticky dollar stickers.

    The dividing line is interactive vs. programmatic. One number to remember: setting an ANTHROPIC_API_KEY environment variable overrides your subscription entirely — Claude Code then authenticates with that key and bills as pay-as-you-go API usage, regardless of plan.

    Usage typeHow it runsBilled against
    Interactive Claude CodeTerminal or IDE, human at the keyboardPro/Max subscription usage limits
    Claude.ai chatWeb, desktop, mobilePro/Max subscription usage limits
    Agent SDK (Python/TypeScript)Your own programmatic projectsSeparate Agent SDK credit (from June 15, 2026)
    claude -p (non-interactive)Headless / scripted Claude CodeSeparate Agent SDK credit (from June 15, 2026)
    Claude Code GitHub ActionsCI/CD automationSeparate Agent SDK credit (from June 15, 2026)
    Any usage with ANTHROPIC_API_KEY setAPI-key auth instead of subscriptionStandard API rates (pay-as-you-go)

    What changes on June 15, 2026

    Per Anthropic’s support documentation: “Starting June 15, 2026, Claude Agent SDK and claude -p usage no longer counts toward your Claude plan’s usage limits.” Each subscription tier instead receives a fixed monthly Agent SDK credit. When that credit runs out, additional Agent SDK usage flows to usage credits at standard API rates — but only if you have enabled usage credits. If you have not, “Agent SDK requests stop until your credit refreshes.” Unused credits do not roll over to the next billing cycle, and there is no automatic fallback to the interactive pool.

    PlanMonthly Agent SDK credit
    Pro$20
    Max$100 ($100/mo monthly API credits)
    Ultra (formerly Max 20x)$200 ($200/mo monthly API credits)
    Team (Standard seats)$20
    Team (Premium seats)$100
    Enterprise (seat-based Premium)$200

    What stays on the interactive subscription pool, unchanged: Claude conversations on web, desktop, and mobile; and interactive Claude Code in the terminal or IDE. The change is scoped strictly to programmatic execution.

    How each pool is metered and priced

    Infographic with three panels: protect the service, fair share, and cost control explaining rate limits
    How each pool is metered.

    Claude Code “charges by API token consumption” — the underlying meter is input/output tokens, including thinking tokens billed as output. On a subscription, that token consumption is what counts against your plan limits (interactive) or your Agent SDK credit (programmatic). The Agent SDK credit and any overflow are billed at standard API list rates; the per-model API token prices below are the verified current rates.

    PoolMeterPrice basis
    Interactive (Pro/Max)Tokens, against plan usage limitsIncluded in subscription
    Agent SDK creditTokens, against monthly creditStandard API rates
    Overflow past the creditTokens, usage creditsStandard API rates (only if usage credits enabled)
    API key (ANTHROPIC_API_KEY)Tokens, pay-as-you-goStandard API rates

    Verified current API token prices (per million tokens) for models commonly used in Claude Code:

    ModelModel IDInput $/MtokOutput $/Mtok
    Claude Fable 5.2claude-fable-5-2$8.00$40.00
    Claude Opus 5.5claude-opus-5-5$4.00$20.00
    Claude Sonnet 5.5claude-sonnet-5-5$2.00$10.00
    Claude Haiku 5.5 (≤100K / >100K)claude-haiku-5-5$0.10 / $0.50$0.50 / $2.50
    Claude Fable 5.1 (legacy)claude-fable-5-1$10.00$50.00
    Claude Opus 4.8 (legacy — still listed)claude-opus-4-8$5.00$25.00
    Claude Sonnet 4.6 (legacy — still listed)claude-sonnet-4-6$3.00$15.00
    Claude Haiku 4.5 (legacy)claude-haiku-4-5$1.00$5.00

    Subscription plan prices

    These are the published Claude plan prices the Agent SDK credits attach to. The Max plan starts at $100/month (with $100/month in API credits); Ultra ($200/month, which replaced Max 20x with 10x Pro weekly usage and no 5-hour limit for verified accounts) includes $200/month in API credits; Pro ($20/month) includes $0 in general API credits; and Team includes up to $500/month in pooled API credits.

    PlanPrice
    Free$0
    Pro$20/month, or $17/month billed annually ($200 up front)
    Max$100/month (5x Pro usage; includes $100/mo API credits)
    Ultra$200/month (formerly Max 20x — 10x Pro weekly, no 5h limit for verified accounts; $200/mo API credits)
    Team (Standard / Premium)$20/$25 Standard seat or $100/$125 Premium seat (up to $500/mo pooled API credits)

    The SDK rename: claude-code-sdk to claude-agent-sdk

    Separate from billing, the SDK itself was renamed. Anthropic’s migration guide states: “The Claude Code SDK has been renamed to the Claude Agent SDK.” If you have code on the old package, you must update the package name, imports, and one Python type. The headless CLI command name is unchanged — it is still claude -p.

    AspectOldNew
    npm package (TS/JS)@anthropic-ai/claude-code@anthropic-ai/claude-agent-sdk
    Python packageclaude-code-sdkclaude-agent-sdk
    Python options typeClaudeCodeOptionsClaudeAgentOptions
    Default system promptClaude Code’s presetMinimal (opt back in via preset: "claude_code")
    # TypeScript
    npm uninstall @anthropic-ai/claude-code
    npm install @anthropic-ai/claude-agent-sdk
    
    # Python
    pip uninstall claude-code-sdk
    pip install claude-agent-sdk

    Decision: which billing path applies to your work

    Three cards for fast volume, daily workhorse, and deep flagship Claude seats
    Which billing path applies to your work.
    If you are…Billing path
    A developer coding interactively in the terminalSubscription usage limits (unchanged)
    Running claude -p in a script or cron jobAgent SDK credit (from June 15, 2026)
    Running Claude Code in GitHub ActionsAgent SDK credit (from June 15, 2026)
    Building an app on the Agent SDK with subscription authAgent SDK credit (from June 15, 2026)
    A team or service account wanting budgets + usage reportsSet ANTHROPIC_API_KEY → standard API billing

    Does interactive Claude Code billing change on June 15, 2026?

    No. Anthropic’s documentation confirms interactive Claude Code in the terminal or IDE, and Claude conversations on web, desktop, and mobile, continue using subscription usage limits as before. Only programmatic usage — the Agent SDK, claude -p, GitHub Actions, and third-party Agent SDK apps — moves to the separate Agent SDK credit.

    How much is the separate Agent SDK credit?

    $100/month in monthly API credits on Max ($100/mo), $200/month on Ultra ($200/mo, formerly Max 20x), and up to $500/month pooled API credits across Team (Pro includes $0 in general API credits, alongside historical Agent SDK seat allocations). Credits are metered at standard API rates, do not roll over, and refresh monthly.

    What happens when the Agent SDK credit runs out?

    Additional Agent SDK usage flows to usage credits at standard API rates — but only if you have enabled usage credits. If you have not enabled them, Agent SDK requests stop until your credit refreshes. There is no automatic fallback to your interactive subscription pool.

    How do I avoid the credit pool entirely?

    Set an ANTHROPIC_API_KEY environment variable. Claude Code and the Agent SDK then authenticate with that key and bill as standard pay-as-you-go API usage, separate from any subscription. This is Anthropic’s recommended path for apps, CI jobs, service accounts, and team-owned projects that need budgets and usage reporting.

    Was the Claude Code SDK renamed?

    Yes. It is now the Claude Agent SDK. The npm package @anthropic-ai/claude-code became @anthropic-ai/claude-agent-sdk, the Python package claude-code-sdk became claude-agent-sdk, and the Python type ClaudeCodeOptions became ClaudeAgentOptions. The claude -p CLI command name is unchanged.

    Related on Tygart Media: Claude Code getting started · Claude pricing · Pro vs Max.

    TAKEAWAY PDF & MARKDOWN TWIN
    Keep This Guide: Claude Code Billing & Monthly Credit Pools (2026) (PDF)
    Edition of November 13, 2026 — facts verified November 13, 2026. For AI: read the markdown edition.

    Part of the complete guide: Claude Code