# open_ai: Support fast mode in BYOK via the Responses API service_tier \(\#57412\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/5e717a06cdf5af0a4df74f56339e7d58365667f4)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 5e717a06cdf5af0a4df74f56339e7d58365667f4

Requested commit: 5e717a06cdf5af0a4df74f56339e7d58365667f4

Commit: 5e717a06cdf5af0a4df74f56339e7d58365667f4

Tree: cd525a29b5128990d8ea9097de629906dbcf6b8a

Author: Tom Houlé

Committer: GitHub

## Message

```
open_ai: Support fast mode in BYOK via the Responses API service_tier (#57412)

Maps the existing `Speed::Fast` plumbing to OpenAI's `service_tier:
"priority"`, which matches what "fast mode" in Codex does. Relevant docs
[here](https://platform.openai.com/docs/api-reference/chat/create#chat-create-service_tier).

Like for the existing Anthropic fast mode we have a
`Model::supports_priority` method for the variants on
https://openai.com/api-priority-processing. Pro, nano, and legacy gpt-4
are excluded; Custom defaults to false.

This is gated to staff only for now (not in this diff, but the existing
fast mode feature), until we have the mechanism to require confirmation
before you enable fast mode.

Release Notes:

- Added support for Fast Mode (priority service tier) on the OpenAI API
provider.
```

## Parents

- [e25458243bb5f3522fd56c12d16d145e44395053](https://git.cafe/gitcafe/zed/commit/e25458243bb5f3522fd56c12d16d145e44395053?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/5e717a06cdf5af0a4df74f56339e7d58365667f4?format=markdown)
