Claude Opus 4.8 is available everywhere as of May 28, 2026, and switching to it is straightforward — but the exact steps depend on how you access Claude. Whether you use the Claude API directly, Claude Code, GitHub Copilot, or a cloud platform like Bedrock or Vertex AI, this guide covers exactly how to start using Opus 4.8, including the model ID, the alias behavior, and the large-context variant.

The good news: for most users, the upgrade is automatic or a one-line change. The opus alias now routes to claude-opus-4-8, so if you've been using the alias, you're already on 4.8. If you pin specific versions, it's a single model-string update. Here's the complete breakdown.

Key Takeaway

The API model ID is claude-opus-4-8, and the opus alias now routes to it automatically. For the 1-million-token context window, use claude-opus-4-8[1m]. Opus 4.8 is available on the Claude API, Claude Code, Amazon Bedrock, Google Cloud Vertex AI, Microsoft Foundry, and GitHub Copilot (with a 15x premium multiplier until usage-based billing launches June 1). Pricing is unchanged: $5/M input, $25/M output.

Switching in the Claude API

If you call Claude through the API, update your model parameter to claude-opus-4-8. If you've been using the opus alias rather than a pinned version, you don't need to do anything — the alias now points to 4.8 automatically, so your existing integration upgrades on its own. This is the cleanest path: using the alias means you always get the latest Opus without code changes, though it also means model behavior can shift under you (which is why some teams pin versions for production stability).

For tasks requiring the full 1-million-token context window, use the claude-opus-4-8[1m] variant. Address it by that model ID when you need to process very long inputs — large codebases, extensive documents, or long conversation histories. Note that Anthropic's public Models-overview documentation page may take time to list the 4.8 entry, but the model and the [1m] variant are addressable at runtime today regardless of what the docs page shows.

One new capability worth adopting: the Messages API now accepts system entries inside the messages array, letting you update Claude's instructions mid-task without breaking the prompt cache. If you build agents, this is worth integrating — we cover it in detail in our Messages API breakdown.

Switching in Claude Code

In Claude Code, Opus 4.8 is available through the model picker. Select it the same way you'd select any model. If you use the opus alias in your Claude Code configuration, it routes to 4.8 automatically. The new effort controls (xhigh and max) are available here — use xhigh for difficult tasks and long-running asynchronous work, as covered in our effort controls guide. If you're on a Max, Team, or Enterprise plan, you also get access to dynamic workflows for large-scale tasks.

Anthropic raised Claude Code rate limits to accommodate the higher token usage of higher effort levels and dynamic workflows, so you have more headroom than before. Select whichever effort level makes sense for your project — the default works for most tasks, with xhigh reserved for the hard ones.

Switching in GitHub Copilot and Cloud Platforms

Claude Opus 4.8 is generally available in GitHub Copilot for Pro+, Business, and Enterprise users. Select it in the model picker in Visual Studio Code across all modes (chat, ask, edit, and agent). Note the important pricing detail: it launches with a 15x premium request multiplier until usage-based billing launches June 1, 2026. Rollout is gradual, so if you don't see it yet, check back soon.

On cloud platforms, Opus 4.8 is available on Amazon Bedrock, Google Cloud Vertex AI, and Microsoft Foundry — Claude is the first frontier model available on all three major hyperscalers. Use the claude-opus-4-8 model ID on each platform; the exact integration syntax varies by platform but the model identifier is consistent.

📬 Getting value from this?

One actionable AI insight per week. Plus a free prompt pack when you subscribe.

Subscribe free →

Availability and Model IDs at a Glance

Platform How to Access Notes
Claude APIclaude-opus-4-8 or opus alias[1m] variant for 1M context
Claude CodeModel pickerEffort controls + dynamic workflows
GitHub CopilotVS Code model picker15x multiplier until June 1
Amazon Bedrockclaude-opus-4-8Available today
Google Vertex AIclaude-opus-4-8Available today
Microsoft Foundryclaude-opus-4-8Available today

Once you're on Opus 4.8, the fastest way to improve your results is better prompts. The free Prompt Optimizer sharpens any prompt before you send it, and TresPrompt brings one-click optimization into Claude, ChatGPT, and Gemini.

📬 Want more like this?

One actionable AI insight per week. Plus a free prompt pack when you subscribe.

Subscribe free →

Alias vs Pinned Version: Which Should You Use?

One decision deserves more thought than it usually gets: whether to use the opus alias or pin a specific version like claude-opus-4-8. The alias auto-upgrades to the latest Opus, which is convenient — you always get the newest model without code changes. But that convenience cuts both ways. When Anthropic ships the next Opus (likely in about six weeks, given the cadence), the alias will silently route your application to it, changing the model's behavior without warning. For casual use, that's fine and even desirable. For production systems, a silent model change can break carefully-tuned prompts or alter outputs in ways that matter.

The best practice depends on your context. For experimentation, prototyping, and non-critical work, use the alias and enjoy automatic upgrades. For production applications where behavior stability matters — customer-facing features, automated pipelines, anything where a surprise behavior change causes problems — pin the specific version (claude-opus-4-8) so you control exactly when you upgrade. Then upgrade deliberately: when a new model launches, test it against your workflows in staging, confirm it behaves correctly, and switch when you're ready. This gives you the benefits of new models without the risk of unexpected production changes.

Verifying Your Switch Worked

After switching to Opus 4.8, take a moment to verify the change took effect and behaves as expected — a step many developers skip. Confirm the model ID in your API responses or Claude Code session matches claude-opus-4-8. Run a few representative tasks and compare the outputs to what you got from your previous model, watching for the improvements (better honesty, cleaner code, less verbosity) and any behavior changes that might affect your workflows. If you use the 1M context variant, verify you're addressing claude-opus-4-8[1m] specifically, since the standard model has a smaller default context.

For teams, document the switch — note the date, the model version, and any prompt adjustments made — so you have a record if you need to diagnose behavior changes later. This is especially important given the rapid release cadence; keeping track of which model version your systems use, and when you upgraded, saves significant debugging time when something behaves unexpectedly. A small amount of discipline around model versioning pays off when you're running production systems on a model that updates every six weeks.

Frequently Asked Questions

What is the Claude Opus 4.8 model ID?

The API model ID is claude-opus-4-8. The opus alias also routes to it automatically. For the 1-million-token context window, use claude-opus-4-8[1m]. These work across the Claude API, Bedrock, Vertex AI, and Microsoft Foundry.

Do I need to change my code to use Opus 4.8?

If you use the opus alias, no — it routes to 4.8 automatically. If you pin a specific model version (like claude-opus-4-7), update the model string to claude-opus-4-8. That's the only change needed; pricing and API structure are unchanged.

How do I access the 1M token context window?

Use the claude-opus-4-8[1m] variant as your model ID. This is the same as Opus 4.8 but with the full 1-million-token context window for processing very long inputs. Note that the public docs page may not list it yet, but it's addressable at runtime today.

Why does GitHub Copilot charge a 15x multiplier for Opus 4.8?

Opus 4.8 launches in GitHub Copilot with a 15x premium request multiplier until usage-based billing launches on June 1, 2026. This is a temporary billing structure during the transition period. It's available to Copilot Pro+, Business, and Enterprise users, with gradual rollout.

Is Opus 4.8 on all cloud platforms?

Yes — Claude is the first frontier model available on all three major hyperscalers: Amazon Bedrock, Google Cloud Vertex AI, and Microsoft Foundry. Use the claude-opus-4-8 model ID on each. The model launched simultaneously across all platforms on May 28, 2026.

Disclosure: Some links in this article are affiliate links. We only recommend tools we've personally tested and use regularly. See our full disclosure policy.