Skip to content

[FEATURE]: Bedrock prompt caching via cache_point_ttl provider option #23106

Closed as not planned

Description

@bainos
  • I have verified this feature I'm about to request hasn't been suggested before.
    Bedrock prompt caching works but there is no way to configure the cache TTL from opencode. This adds a cache_point_ttl option to the Bedrock provider in opencode.json, accepting 5m or 1h. Tested on Haiku 4.5, Sonnet 4.5/4.6, Opus 4.5/4.6.

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Apr 17, 2026
  2. github-actions commented on Apr 17, 2026

    @github-actions
    Contributor

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • The feature request template requires checking the box verifying that this feature hasn't been suggested before (required field). Please use the feature request template and include all required fields.
    • No system information provided — please include your OS, terminal, and OpenCode version so maintainers have context.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


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

    If you believe this was flagged incorrectly, please let a maintainer know.

  3. added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Apr 17, 2026
  4. github-actions commented on Apr 17, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now follows the contributing guidelines and feature request template. Your request is clear and well-described.

  5. removed
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  6. github-actions commented on Jul 5, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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