# Fast mode for Opus 4\.7 available on AI Gateway

**Published:** May 12, 2026 | **Authors:** Walter Korman, Rohan Taneja, Jeremy Philemon, Jerilyn Zheng

---

Fast mode for Claude Opus 4.7 is now available on [AI Gateway](https://vercel.com/ai-gateway) in research preview.

Fast mode delivers ~2.5x faster output token generation with full Opus 4.7 intelligence. This is an early, experimental feature.

To enable fast mode, pass `speed: 'fast'` in the `anthropic` provider options with `anthropic/claude-opus-4.7`.

```typescript
import { streamText } from "ai";
const { text } = await streamText({
  model: "anthropic/claude-opus-4.7",
  prompt: "Analyze this codebase structure and create a plan to add user auth.",
  providerOptions: {
    anthropic: {
      speed: "fast",
    },
  },
});
```

You can use fast mode with [Claude Code via AI Gateway](https://vercel.com/docs/ai-gateway/sdks-and-apis/anthropic-messages-api#configuring-claude-code) by setting the `CLAUDE_CODE_SKIP_FAST_MODE_ORG_CHECK` and `CLAUDE_CODE_ENABLE_OPUS_4_7_FAST_MODE` variables in your shell configuration file or in `~/.claude/settings.json`.

```bash
export CLAUDE_CODE_ENABLE_OPUS_4_7_FAST_MODE=1
export CLAUDE_CODE_SKIP_FAST_MODE_ORG_CHECK=1
```

```json
{
  "env": {
    "CLAUDE_CODE_SKIP_FAST_MODE_ORG_CHECK": "1",
    "CLAUDE_CODE_ENABLE_OPUS_4_7_FAST_MODE": "1"
  }
}
```

Fast mode is priced at 6x standard Opus rates.

| Standard | Fast Mode |
| --- | --- |
| Input: $5 / 1M tokens
Output: $25 / 1M tokens | Input: $30 / 1M tokens
Output: $150 / 1M tokens |

All standard pricing multipliers (e.g., prompt caching) apply on top of these rates.

**AI Gateway: Track top AI models by usage**
The AI Gateway model leaderboard tracks the most popular models over time, ranking them by the total volume of tokens processed across all Gateway traffic.
[View the leaderboard](https://vercel.com/ai-gateway/leaderboards)

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)