v1.0.13StableBreakingUpgrade Action Required
CCHP v1.0.13
Delivers hierarchical spending quotas, end-to-end OpenAI Responses WebSocket support, major console and routing performance gains, and Gateway API ingress for Kubernetes.
20 features4 improvements8 fixes9 upgrade notes
In this release
- Hierarchical spending quotas: Four-tier limits across API keys, users, teams, and organizations, with prepaid/postpaid modes and configurable price basis.
- Responses WebSocket & new upstreams: Default WebSocket transport for OpenAI Responses, Gemini
/v1and Interactions, plus new speech and video integrations. - Major performance gains: Console cold-start paint
1,518 → 364 ms, routing heap3,409 → 2,156 MiB, and catalog import lock5.5 → 0.2 s.
Breaking Upgrade Notice
- Database backup & irreversible migrations: Back up the database before upgrading. This release includes 7 irreversible migrations (no tables or columns are dropped or renamed).
- Kubernetes Gateway API migration: Kubernetes and k3s public ingress has migrated to the Gateway API: before applying manifests, install Envoy Gateway using the command at the top of
deployments/k8s/base/gateway.yaml, then remove legacyIngressresources after cutover. - Migration timeout deadline: The migration job deadline has been increased to
44640s(744m). Update any custom timeout overrides to at least this value. - Default price basis & quota error code: Billing price basis defaults to the user-requested model (
request), and HTTP429spending-quota rejections now return error code20003. - Redirected models in group whitelists: Provider group whitelists must include redirected target model names.
- Proxy pool migration: Legacy
proxy_urlconfigurations migrate to global proxies and proxy pools, which also carry outbound notifications, authentication, and payment requests. - Internal S3 egress allowlisting: If an organization's artifact S3 endpoint is hosted on an internal network, allowlist it under Outbound Addresses before upgrading.
- Local-only gateway readiness: Gateway
/readyznow reports only local process readiness; check thedependenciesfield for downstream dependency status. - Rolling quota window cleanup: Deployments that previously added
5htoquota.rolling_cf.window_kindscan remove it after all nodes have runv1.0.13for more than one hour.
- Hierarchical spending quotas: Configure spending limits across API keys, users, teams, and organizations with effective capacity capped at the tightest remaining layer; organizations can run in prepaid or postpaid (credit-limit) mode.
- Configurable billing price basis: Price requests by the requested model, redirected model, or response model.
- Multi-tier network proxy pools: Configure proxy pools at the global, provider, and provider-key levels with automatic cooldown and failover on connection failures.
- Per-upstream HTTP transport settings: Choose
HTTP/1.1orHTTP/2preference and custom connect timeouts per upstream. - Module-scoped admin tokens: Grant admin tokens access to an entire functional module or full administrative scope.
- Customizable organization sidebar: Tailor sidebar navigation per organization, with members landing directly on their personal hub after sign-in.
- Session filtering & upload telemetry: Filter and export request logs by client session ID and inspect outbound reasoning effort alongside per-attempt upload latency.
- Key renaming & magpie import: User API keys can now be renamed, and magpie has been added to "Import to Client".
- Checkout QR & in-app payments: Checkout now supports direct QR code rendering as well as Alipay and WeChat Pay in-app payments.
- Control-plane rendered public pages: Public pages are rendered directly by the control plane with dedicated URL prefixes across five languages and native HTTPS, HTTP/2, and HTTP/3 serving.
- Internal testing deployment toggle: Added
CCH_INSECURE_DEPLOYMENTfor reduced-security internal testing deployments.
- Default OpenAI Responses WebSocket: Uses WebSocket on both inbound and outbound hops by default, falling back automatically to HTTP when an upstream lacks WebSocket support.
- Same-protocol passthrough & early redirects: Added an opt-in same-protocol passthrough preference toggle (disabled by default) and moved model redirection ahead of candidate lookup.
- Gemini v1, Interactions & Omni Flash: Added support for the Gemini API
/v1endpoint, Gemini Interactions conversational format, and Omni Flash video. - Expanded speech & video upstreams: Added Baidu AI Cloud VOD, Bailian Paraformer, Doubao audio file recognition, AssemblyAI, MiniMax async speech, and WebSocket speech for ElevenLabs, MiniMax, and Volcano Doubao.
- Automatic Anthropic cache breakpoints: Requests translated to Anthropic Messages automatically insert prompt cache breakpoints so each turn reuses the prior turn's cache.
- Cross-protocol reasoning continuity: Chat Completions histories carrying
reasoning_contentnow complete cleanly when routed to Responses upstreams. - Expanded non-chat cache keys: Response caching for non-chat endpoints now keys by request body, path, and query parameters.
- Video, image-size & container metering: Added video-token billing for Volcano Ark Seedance, size-tier billing for Google image generation, and active-minute billing for containers.
- Inline audio duration billing: Added duration-based billing for inline audio embedded in conversational requests.
- Faster console cold start: First paint improved from
1,518 msto364 ms(desktop Lighthouse71 → 93), with incremental asset downloads on post-release revisits. - Lower routing memory footprint: Routing planner peak heap dropped from
3,409 MiBto2,156 MiB, spilling oversized request bodies to disk during processing. - Faster catalog import locking: Catalog write-lock hold duration during pricing table imports dropped from
5.5 sto0.2 s. - Polished loading feedback: Added entry animations for incoming usage log rows and replaced skeleton placeholders with shimmer loaders.
- Dragonfly rolling-quota queuing: Fixed rolling quota windows causing Dragonfly command queuing and request failures with error code
20001. - Multi-domain organization sign-in: Fixed sign-in failures on secondary domains bound to the same organization and enabled sign-in relay across domains within an organization.
- Raw upstream error retention: Ensured request attempt chains always retain raw upstream error responses regardless of request archive settings.
- Overlay closing flicker: Fixed closing flicker on modals, drawers, and the command palette.
- Reorder undo & final redirect deletion: Fixed HTTP
500errors when undoing drag-and-drop reordering a second time and fixed model sync failures when deleting the final redirect rule. - Parent-to-child admin navigation: Fixed spurious permission-denied errors when opening a child organization's admin page from a parent organization.
- Large upstream balance handling: Fixed provider keys being erroneously paused when upstream balances were very large.
- Alibaba Cloud OSS compatibility: Fixed S3-compatible object storage failures against Alibaba Cloud OSS.