Skip to content

GPT-6 Astra Ultrafast fails: serviceTier "ultrafast" rejected #53538

Closed

Description

@benjamin-glatzeder

Description

GPT-6 Astra Ultrafast is listed as an available model in OpenCode 1.18.34 (TUI), but every request immediately fails with:

invalid openai provider options

The debug log shows that OpenCode sets:

"serviceTier": "ultrafast"

but the bundled OpenAI provider rejects it:

Invalid option: expected one of
"auto" | "flex" | "priority" | "default"

path: ["serviceTier"]

openai/gpt-6-astra and openai/gpt-6-astra-fast work with the same OAuth account. Ultrafast also works for this account in the official Codex client.

Expected behavior

openai/gpt-6-astra-ultrafast should work since OpenCode already exposes the model and maps it to serviceTier: "ultrafast".
It looks like the bundled OpenAI provider/AI SDK has an older serviceTier validation schema that does not yet accept "ultrafast".

Plugins

No response

OpenCode version

1.18.34

Steps to reproduce

  1. Select gpt-6-astra-ultrafast
  2. Write a prompt, e.g. 'Say hello'
  3. error: invalid openai provider options

Screenshot and/or share link

No response

Operating System

Ubuntu 26.04.1 LTS

Terminal

Ghostty

Activity

  1. github-actions commented on Oct 6, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of an existing issue. Please check:

  2. timwkosatec commented on Oct 6, 2026

    @timwkosatec

    Looks like opencode still uses @ai-sdk/openai 3.0.88 while ultrafast support was added on on 3.0.123

  3. rekram1-node commented on Oct 8, 2026

    @rekram1-node
    Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions