v1.0.11Stable
CCHP v1.0.11
Delivers major gateway CPU and privacy-redaction speedups, adds Codex v2 remote compaction, Claude Code Message Batches, multimodal and audio pipelines, organization-tree quota pools, local settlement spooling, and automated database retention.
18 features14 improvements7 fixes2 upgrade notes
In this release
- Roughly 50% lower gateway CPU on large-body replays, an order-of-magnitude faster privacy redaction, and worker-offloaded BPE verification.
- Expanded protocol support: Codex remote compaction (v2), Claude Code Message Batches, Anthropic Files, Google resumable uploads, and streaming TTS.
- Organization-tree quota pools, local node settlement spooling, automated database retention, and expand/contract schema migrations.
- Enabled Codex remote compaction (v2) through the gateway: learns native compaction support per key and model, falling back to another candidate or performing compaction in the gateway when unsupported (Connect Codex).
- Added Claude Code Message Batches compatibility across all six endpoints, serving organization-scoped listings, applying Batch-tier pricing, and recording individual request logs (Connect Claude Code).
- Expanded multimodal pipelines with Anthropic Files, Google resumable uploads and batch operations, per-operation request body limits,
X-CCHP-Waitterminal-state waiting, and chunked binary response forwarding. - Added streaming text-to-speech write-back, endpoint-scoped transcription usage accounting, and minimum billable duration in the pricing catalog.
- Allowed content moderation decision chains to invoke OpenAI and Mistral moderation models directly, with a configurable total decision timeout (default 20 seconds; see Prompt safety and content moderation).
- Introduced organization-tree quota pools: a parent organization's quota tracks combined usage across itself and all sub-organizations, with existing counters migrated automatically on startup (Manage organizations).
- Added configurable settlement backlog limits (
billing.settlement.global_backlog_limitdefault8000,billing.settlement.org_backlog_limitdefault2000), returning503withRetry-Afterwhen exceeded. - Added local node spooling for settlement events during database outages, replaying events upon recovery with exactly-once settlement per request.
- Enabled request filter rules to override output token limits across protocols, recalculating pricing and topping up pre-authorization against the outbound limit.
- Added category-based database storage retention: the worker prunes expired details in batches daily at
04:45UTC and automatically trims cleanable details in priority order with alerts if free space drops below the safety threshold. - Introduced an expand/contract migration compatibility contract: additive migrations avoid drops and renames and build indexes concurrently, removals follow the contract track via
migrate planandmigrate contract, and data stages version by read/write targets to rerun only affected stages.
- Added approval-required invitation codes so redeemed invitations await administrator approval before activation (Default organization and invite codes).
- Added Mattermost incoming webhook support as a notification channel.
- Added live schedule editing on the Scheduled Tasks page, applying published changes within seconds.
- Unified all 17 transactional email scenarios under consistent feature toggles and templates.
- Enforced hierarchical organization network access policies that progressively narrow across organization, team, user, and key levels.
- Split request detail ingress into sub-stages showing request-body upload throughput, and surfaced actively uploading requests in the in-flight list.
- Updated the installed Progressive Web App (PWA) to open directly to the dashboard and remember the last active organization.
- Reduced gateway CPU usage by roughly half when replaying large request bodies.
- Reused preprocessed request bodies across failover and hedging attempts instead of repeating redaction, scanning, and decoding.
- Reduced privacy-redaction CPU time on large request bodies by an order of magnitude.
- Moved token-variance verification from the gateway to the worker, eliminating per-request BPE encoding in the gateway.
- Parsed incoming requests by field type without decoding or copying long strings and base64 images.
- Improved large routing graph loading so the gateway starts within deadline under high provider-key counts, and prevented access audit failures during slow snapshot reads.
- Mapped reasoning effort to tiers supported by the target model (including disabling reasoning), preventing upstream
400errors from unsupportednoneorminimalvalues. - Stopped retrying or failing over on upstream safety blocks (such as
cyber_policy), terminating immediately with error code20020without penalizing provider health. - Retried and failed over content moderation decision calls using the same reliability policy as regular requests.
- Isolated routing metrics, health signals, and cache coefficients by organization and request type.
- Disabled payload archiving gracefully and reported degraded status in System Health when the archive volume fills up; startup is now refused only if the usage-log or settlement spool volumes run out of space.
- Restricted supplier-perspective cost views and toggles to organization administrators and platform administrators.
- Simplified mobile-width leaderboards and tree tables to display name and primary metric only, and fixed screen readers announcing expand buttons twice.
- Updated runtime and library dependencies.
- Returned
404instead of503when a multimodal resource name cannot be encoded into the egress path. - Fixed streaming text-to-speech on Mistral and MiniMax returning
503. - Routed image generation requests strictly by required image operation so failovers no longer hit image-editing endpoints.
- Fixed Anthropic requests with
thinkingdisabled being rejected with error code10008when routed to reasoning-effort-only protocols. - Fixed concurrent identical requests failing follower requests with
500(replay: terminal state), and ensured graceful shutdown finishes accepted requests before exiting. - Fixed LLM key settings failing to save after a fresh installation.
- Fixed CC Hub imports failing on content containing sensitive words, prevented random rejections of chunked uploads without a declared length under busy disks, and cleaned up partially written files when clients disconnect mid-upload.
Upgrade Notes
- Back up the database before upgrading; schema migrations cannot be rolled back (Install with Docker Compose).
- Parent organization quota counters migrate automatically on startup to reflect aggregate usage across the organization tree.