v1.0.15Stable
CCHP v1.0.15
Introduces scoped plans, stackable discounts and campaigns, pricing-table v2, full pairwise cross-protocol translation, Client Definitions & Access Rules, built-in GeoIP, and S3 default object storage.
43 features18 improvements36 fixes6 security updates3 upgrade notes
In this release
- Highlights
- New Features43
- Operations, Plans & Promotions10
- Model Catalog & Pricing7
- Gateway & Protocol Translation11
- Organizations, Accounts & Security9
- Deployment & Operations6
- Improvements18
- Fixes36
- Gateway & Protocol Translation16
- Billing, Wallets & Payments6
- Console & Public Pages8
- Organizations, Identity & Sign-In3
- Deployment & Operations3
- Security6
- Upgrade Notes3
- Plans, Discounts & Pricing v2: Scoped and audience-targeted plans, stackable discounts, timed campaigns,
cchp.pricing-table/v2, and reference pricing. - Cross-Protocol & Client Rules: Full pairwise protocol translation, Client Definitions & Access Rules, Codex discovery, and endpoint autocorrection.
- GeoIP, S3 & Hardening: Built-in GeoIP inspection, S3 default object storage,
XAES-256-GCMv2 encryption, and broad gateway and console fixes.
- Scoped plans: Restrict eligible traffic using AND/OR/NOT conditions over provider groups, providers, provider keys, and models. Out-of-scope calls fall through to the next plan or wallet balance, and issued plans lock in the scope active at grant time.
- Audience-restricted plans: Target plan purchases, renewals, and redemptions to specific teams, organizations, or users.
- Plan-level request & response overrides: Apply overrides to requests covered by a plan, automatically bypassed when an upper scope enforces "Lock All".
- Plan-specific pricing rules: Define exclusive prices or discounts by condition, resolving multi-team members along the team chain with consistent pricing across storefronts, checkout modals, renewals, and settlement.
- Stackable discount rules: Configure rules under Operations → Campaigns → Discount Rules matching plans, provider groups, providers, keys, models, teams, organizations, or users with per-rule toggles and drag-and-drop ordering. Matching rules multiply top-to-bottom with live effective-rate previews, and "Stop Further Matching" halts subsequent rules and campaign discounts.
- Time-limited campaigns: Schedule start/end times under Operations → Campaigns → Campaigns with explicit time zones, scope, and audience to apply campaign discounts, temporarily list or unlist plans and top-up tiers, or switch check-in parameters, with optional pre-launch in-app notices and marketing emails.
- Top-up tier visibility: List or unlist individual top-up tiers independently.
- Unified audience selector: Share multi-select targeting (teams, organizations, users, tags, or all users) across announcement emails, campaign notifications, and standalone marketing emails; marketing emails support custom subjects and Markdown bodies, and in-app announcements render only for targeted audiences.
- Daily usage reports: Send scheduled digests summarizing the previous day's total spend, top members, and top models in the organization's time zone via configured notification channels.
- Settlement list-price breakdown: Display the standard unit price and exact pricing source (catalog model, catalog scope, offer variant, price tier, tier-restricted provider, and billing snapshot version) per billing item in request details; members see standard unit prices in their own request details.
- Pricing table v2 format: Added
cchp.pricing-table/v2support for cloud vendor offers, conditional price-tier and alias bindings (AND/OR trigger groups with fallback payload rewriting to the primary model), and peak/off-peak time-of-use pricing with IANA time zones, day-of-week filters, midnight-spanning windows, and DST handling. - Enhanced Model Management pricing panel: Configure peak/off-peak modes (official schedule, always peak, always off-peak), custom peak/off-peak windows, variant disablement, variant priority, and custom base pricing rails; pre-hold, settlement, and repricing all evaluate windows by request start time.
- Tier-bound aliases: Route requests via the bound price tier and fall back according to configured rules when that tier is unavailable.
- Cloud pricing reference prices: Models without official vendor pricing (such as select MiniMax and DeepSeek models) now carry attributed reference prices (provider API, OpenRouter, or third-party catalog) used by default so requests are no longer rejected as unpriced.
- Pricing status badges & filters: Reference-priced models display a "Reference · Source" badge and unpriced models display an "Unpriced" badge opening Quote Sources directly; unpriced alert banners now reflect admin scope (system admins see all enabled unpriced models; org admins see org-added models) with a reminder that unpriced models are rejected by default; added an Ownership filter (Org-added / Global).
- Pricing import diagnostics: Pricing table import summaries now report counts for reference-priced models and models without official or reference pricing, with a one-click link to the unpriced filter in Model Management.
- Categorized unofficial model aliases: Consolidated unofficial derivative model names (quantized, uncensored, reseller, and community variants such as
deepseek-v4.1-flash-cyber) as collapsible categorized aliases under official catalog entries; upstreams offering the alias receive it verbatim while others rewrite to the official name, rolling aliases display their target, andtier_aliasentries are no longer misclassified as unofficial variants.
- Full pairwise cross-protocol translation: Translate between every protocol pair within each endpoint family—chat, token counting, embeddings, rerank, image generation, video generation, 3D, speech synthesis, speech recognition, moderation, evaluation, and realtime sessions.
- New upstream credential types: Added Azure API Key, Azure Entra ID tokens, and Amazon SigV4 request signing.
- Client Definitions & Client Access Rules: Replaced legacy client identification tables and scattered whitelists with platform-level definitions (10 built-in presets, 13-field request condition-tree engine, server-fetched inline icons with zero third-party browser requests, interactive test drawer, and cross-tenant reference protection); three independent tightening evaluation chains (Caller: Platform / Org / Team / User / API Key; Provider Group; Candidate: Provider / Provider Key / Endpoint) with rule locks, ruleset locks, 200-entry revision history, and self-service API key tightening; single-pass raw-request detection logged to
usage_logs.client_id,client.idoverride conditions, and client-scoped/v1/modelsfiltering and response cache isolation. - OpenAI Codex model discovery: Native
api_key_model_discoveryonGET /v1/models(detectingclient_versionand returning Codex catalog metadata including context windows and reasoning effort while enforcing key permissions, client access rules, and provider group routing); Responses reconstruction preserves Codexdeveloperinstruction metadata and Gemini 2.x function tool definitions. - Automatic endpoint autocorrection: Corrects malformed client base URLs or paths (duplicate, missing, or wrong version prefixes, extra segments, full endpoint URLs entered as base URLs, redundant slashes, or single-segment typos) whenever a unique minimum-edit candidate exists, recording the original URL as a decision event (
detector.endpoint_autocorrect, enabled by default). - Automatic conversational protocol inference: Infers the target protocol when a conversational endpoint receives a payload clearly targeting another conversational protocol (Chat Completions, Anthropic Messages, or Responses); enable
detector.strict_path_body_matchto enforce HTTP400. - Normalized model-name matching: Case- and separator-insensitive model name matching by default (
Claude-Opus-5.5matchesclaude-opus-5-5) across routing, leaderboards, model discovery, pricing resolution, and whitelists (routing.model_name_ignore_case_and_separators, enabled by default). - Hot-reloadable override body caps: Configurable limits (
gateway.request_overrides.max_request_body_bytes,max_response_body_bytes,validator_max_body_bytes) skip body overrides with a recorded decision event on oversized payloads while continuing header, model, and path overrides; replaced the hard8 KiBper-rule value error with non-blocking editor guidance. - JSON payloads for image edits:
POST /v1/images/editsnow acceptsapplication/jsonbodies with images and masks supplied viaimage_urlorfile_id. - Empty-output failover: Detects empty outputs on conversational generation endpoints, triggers failover to the next candidate, tags attempts with
EMPTY_OUTPUT, excludes empty responses from response caching, and prevents them from winning hedged races. - Redesigned provider endpoint picker: Added Chat/Image presets (Chat selected by default), concurrent upstream model probing across OpenAI, Anthropic, and Google to auto-select endpoint types, presets for other providers, search, category filters, and virtual scrolling.
- Registration email domain allowlists: Added restrictions under Identity & Login (
site.registration_email_domain_restriction_enabled,site.registration_allowed_email_domains) supporting exact domains, wildcards, and TLD allowlists for new sign-ups without affecting existing users. - Member request-content privacy toggle: Organization owners can disable "Organization admins can view member request content", preventing org admins from viewing or exporting member request/response bodies and transcripts unless explicitly granted via a custom role or admin token.
- Direct custom-role membership management: Assign and remove members directly on custom role detail pages.
- Built-in GeoIP database: Automatically updates daily with manual refresh in System Settings; displays country flags, geolocation, proxy markers, and clickable IP detail drawers in request logs, request details, audit logs, Account & Security, and User Management.
- Client IP Inspector: Shows every proxy hop with geolocation in System Settings, compares resolved visitor IPs under published versus draft settings, and offers one-click trusted CIDR addition, header extraction, or Cloudflare range enrollment.
- Ordered visitor IP header list: Header-based visitor IP extraction now accepts an ordered list of headers, resolving from the first non-empty header.
- Setup wizard Visitor IP step: Added a "Visitor IP" step after initial organization creation, including a Cloudflare CDN toggle.
- Redesigned Sessions & Sign-In History: One session per row showing device, browser, OS, IP, and timestamp under Account & Security, plus paginated sign-in history (20 rows per page) also viewable per member in User Management.
- Cross-domain sign-in relay: Relay sign-in between organization-bound domains and the public site URL, plus an "Open in …" switcher in the console user menu.
- S3 default object storage: Use S3-compatible object storage as the default object store with transparent fallback reads to legacy local data, accompanied by
gateway objectstore copyto migrate local objects to S3. - Database primary failover tolerance: Request-path transactions wait up to
database.pool.<role>.primary_unreachable_wait_msfor the new primary to become ready and resume automatically. - Cache listener-disconnect grace periods: Configure
token.listen_grace_secondsandquota.listen_grace_secondsincache.per_layer_configto avoid cache flushes during transient drops. - Resilient local privacy buffering: When the privacy mapping database is unreachable, mappings are encrypted and buffered on local disk so traffic continues uninterrupted and automatically flushes back on recovery.
- Scheduled gateway CPU profiling: Schedule collection from the Performance page (
profiling.schedule.interval_hours,profiling.schedule.seconds) with downloadable merged PGO profiles. - Managed ledger reconciliation task: Ledger reconciliation now runs as a managed scheduled task (
ledger_reconcile) with run history and failure alerts.
- Streamlined console hierarchy: Removed redundant subtitles, decorative counters, static
0.0%trend badges, and internal identifiers across pages, cards, and drawers; moved helper text into tooltips; simplified endpoint pickers and URL previews; and decluttered user API key detail pages (removing key-level client access revision history, downstream ruleset lock toggles, and Routing Preview while retaining higher-level lock controls and inherited lock indicators). - Cleaner request log defaults: Hides unmatched
GET404requests by default (toggleable in filters) and defaults to showing Time, Model, Provider, User, IP, Tokens, Reasoning Effort, Performance, Cost, and Status (moving Key, Session, and Metering to column settings without resetting saved preferences). - Faster request log interactions: Clicking a model cell copies the model name; open request details by clicking the leading timestamp or pressing
Enteron a focused row. - Lightweight catalog & cursor pagination: Split model catalog loading into lightweight list endpoints (
GET /api/account/catalog/models,GET /api/public/catalog/models) plus on-demand detail endpoints (GET …/catalog/models/{modelId}), addedETag/304responses to catalog and org model lists, and migrated LLM token lists to cursor pagination. - Alert-based moderation verdict failures: When a decision-model chain fails to reach a verdict, allowed requests are no longer logged as moderation blocks; instead, an organization-scoped alert reports the failure reason for each step.
- Bounded violation body storage: Added byte budgets (
16 MiB+2 MiB/hrper org;32 MiB+4 MiB/hrglobal) for stored moderation violation request bodies, retaining only the leading4 KiBonce exhausted. - Caller-error metrics exclusion: Classified HTTP
404(unknown endpoint),405(method not allowed), and disabled protocol-family requests as caller errors excluded from error-rate and success-rate metrics. - Clearer provider group multipliers & cleanup: Renamed "Team Multiplier / Org Multiplier" in provider group sections to "Group Extra Multiplier" and "Parent Extra Multiplier", and automatically cleaned up references across org/team settings, quota policies, privacy filters, config declarations, and override rulesets when deleting a provider group.
- Plan financial ledger accounting: Recorded online plan payments as financial inflows while recording plan purchases and renewals at full price as outflows.
- Scoped archive capture budgets: Capped archive capture for non-streaming task-free JSON responses to
archive.capture.max_body_bytes; scopedarchive.capture.include_attempt_bodiesstrictly to request archives while attempt cards always preserve redacted upstream error responses (up to16 KiB). - Longer streaming idle timeout & Gemini error formatting: Raised default
executor.timeout.idle_msto 10 minutes; formatted gateway-generated Gemini stream failures as Google API error objects so clients retry and prefer alternate providers. - Anthropic cache cap & reasoning restoration: Capped automatic
cache_controlbreakpoint insertion at 4 breakpoints when translating to Anthropic Messages without existing breakpoints, and restored saved reasoning items when Chat Completionsreasoning_contentis sent to OpenAI or xAI Responses. - Stricter live auth & key-revocation cascades: Enforced live per-request auth against current team, key, organization status, and maintenance mode for realtime calls; prevented deleting parent teams and registering custom roles with built-in role names; and cascaded cleanup of model safety tasks, error rules, filters, quotas, client access rules, and request overrides upon revoking a provider key.
- Automatic cross-session sign-out: Signed out all other active sessions automatically when changing passwords or email addresses, adding or removing passkeys, toggling authenticators, or regenerating recovery codes.
- Resilient wallet daily-spend charts: Switched wallet daily-spend charts to 15-minute rollups so stats errors impact only the burn-rate card without blocking wallet balance or plan views.
- Reserved system org visibility: Excluded the reserved
systemorganization from organization lists and selectors while keeping it available in audit log filters for platform-level events. - Release-date catalog sorting: Defaulted Model Management sorting to release date descending (deprecated models last, undated models after dated ones, matching the public catalog) and added
sort=released_desc|released_asctoGET /api/account/orgs/{orgId}/models(retaining creation-time descending when omitted). - Redirect-based default pricing: Changed
billing.price_basisdefault toredirect(pricing by redirected model), keepingrequestandresponseconfigurable.
Fixes
36- Allowed RLS manifests and runtime grants to skip contracted legacy tables (such as
client_rules), fixing gateway/readyzreturning503after contract migrations. - Replaced unbounded recursion in response cache
LiveCoordinator.Claimover expired multi-node local spools (which caused a1 GiBstack overflow crash) with bounded iteration (up to 5 rounds) and owner-isolated stale cache cleanup. - Fixed reasoning models emitting extended thinking tokens before content being prematurely failed over by the first-content timeout, and fixed Gemini streams pausing during long tool-call generation being severed by idle timeouts.
- Preserved
top_k,seed,frequency_penalty,presence_penalty,parallel_tool_calls,response_formatdescriptions, imagedetail,stop_sequence,logprobs, and streaming error codes across protocol translation. - Fixed upstream conversation continuations (
previous_response_idon Responses andprevious_interaction_idon Gemini Interactions) turning tool results into user text and repeating tool calls, plus cross-protocol handling of unanswered tool calls, orphaned tool results, non-Anthropictool_useIDs, and top-levelanyOf/oneOf/allOftool schemas. - Fixed Google Interactions streams truncating before tool calls, missing bodies and reporting zero usage, and reducing
/v1tool results to names only; fixed Responses streams dropping reasoning items containing onlyencrypted_content. - Fixed Mistral stream chunks with typed-block array
delta.contentfailing with503(20017), out-of-int32seedvalues collapsing to one constant on Gemini, Gemini function results with IDs losing embedded images when matched to ID-less calls, and missing requireddetailon OpenAI Responsesinput_image. - Fixed
POST /v1/images/editsJSON requests returning404(10002) and image URLs failing with503(20002) during encoding for byte-only upstreams. - Prevented duplicate request-body persistence causing gateway OOM during retry storms, capped retries on deterministic upstream rejections (context length exceeded, insufficient balance) to 3 attempts when the model is unchanged, and eliminated linear memory growth when tailing very long streams.
- Fixed overloaded gateway nodes rejecting all traffic with
503for the remainder of the stats window after recovery, and prevented Responses WebSocket upstreams disconnecting before the first event from being marked "WebSocket unsupported" for one hour. - Fixed override rules returning
500on non-JSON payloads (multipart transcription, binary audio, media tasks), fixed500"replay: terminal state" when a prior generation had already completed, and changed exhausted request-body decode spill slots to return413immediately with the configured limit instead of stalling until503. - Fixed false Dragonfly command timeouts under high load causing
503/500failures in login rate limiting, CAPTCHA, quotas, and routing reads. - Fixed privacy filter placeholder restoration when adjacent to prefixes or suffixes (
provider:<uuid>,x-<mac>,<uuid>.json,addr:<ipv6>), fixed503[10016]on oversized private keys, JWTs, or high-entropy strings, and fixed503[10016]malformed ciphertext errors after enabling v2 encryption. - Fixed streaming, encoding, and edge-case bugs across Ollama NDJSON privacy restoration and channel text, managed stream error formatting, Cohere/Mistral/Hunyuan/Bailian finish reasons, Bedrock
imageOutputCount, Anthropic tool-input stream events, multimodal rerank documents, and error/truncation termination across six streaming protocols. - Fixed browser WebSocket subprotocol negotiation for Responses, Gemini dual signatures, missing usage frames in speech recognition streams, realtime handshake cancellation, Gemini/Anthropic batch terminal states, replay proxy error responses, and web search turn resets and truncation.
- Fixed image token count overflows, IPv4-mapped IPv6 address bans, chunked moderation reads, non-finite or overflowing routing prices, image/media dimension and usage overflows, multi-error failover outcomes, backoff overflow after 31 consecutive retries, JSON pruning on escaped quotes, rerank NaN/out-of-bounds scores, redundant SSE pushes for unchanged task status, and multi-header price-tier triggers evaluating only one random header.
- Fixed organization admins editing global model prices overwriting shared pricing and blocking cloud sync updates: org-admin edits now create and update an org-scoped copy while repointing org exact whitelists, group exact rules, and org aliases to the copy (system admins still edit global models directly).
- Fixed effective team multipliers omitting parent organization multipliers above
1.0x, and fixed online plan order payments missing from financial inflow totals. - Fixed stalled multi-batch repricing dry-run cursors, downward repricing over-adjusting plan-covered portions, and dispute refunds failing to deduct prior inflows.
- Fixed currency conversion for 0- and 3-decimal currencies, inconsistent plan-balance offset rules during checkout, Stripe/overdraft/proration calculation errors, and concurrency issues in referral reward payouts.
- Fixed voice and container pre-hold calculations, container pre-hold release and price-tier matching, unbilled multimodal and advisor-hosted turns, and duplicate spend-limit deductions when settlement events were republished after 15 minutes.
- Fixed plan price mismatches on purchase pages, renewals allowed for ineligible plans, duplicate wallet submissions executing twice, cross-org isolation across wallets, checkout, and pending orders, currency formatting in wallet and member billing dialogs, payment channel cache invalidation, minimum top-up validation, and financial event pagination, filtering, and CSV export.
- Fixed entering the console from the landing page dropping organization context and displaying "No permission" across sections.
- Fixed custom role assignment and empty role member lists (now selectable in user details, member lists, and team member lists), fixed 30-second stale org/team multiplier displays after saving, and fixed deleting provider groups leaving dangling references (
42230137) or returning500when privacy filters were attached. - Fixed model sync re-adding upstream models manually removed from a key's whitelist, multi-field System Settings edits saving only the last field, deleting the final model redirect rule failing with
schema_invalid, single-key model sync errors stalling the whole run inapplying, and double-undoing drag reorder returning500. - Fixed password managers (such as 1Password) being unclickable inside modals, passkey prompts canceling re-authentication, permission refreshes closing or resetting open dialogs, and Safari or password managers autofilling search and credential inputs.
- Fixed dashboard 25-hour trends, KPI and tag aggregation bugs, stale currency displays after switching, request details clearing on background refresh errors or rendering literal "Loading..." and "...", cached request logs reverting to page 1, leaderboard tables clearing on cost refresh failures, and Tasks range clicks clearing selections.
- Fixed public page SSR hydration mismatches,
500errors on status-page model drawer deep links, missing third-party sign-in buttons and discarded email input on login pages,/modelsrendering timeouts (500), rate-limited SSR caching model pages as "Not found", and newly written models returning404. - Fixed chunk-load failures during rolling updates, new-version banners appearing on outdated builds, stalled PWA updates, WebKit font and image failures on new builds, locale resets on unprefixed URLs, immediate post-login console logouts, and
403state mismatches on org-bound domains. - Fixed missing unsaved-changes prompts in org user details and org creation, missing "Back to Sign In" links after password reset, token login clearing pasted tokens on error, and numerous form, filter, pagination, loading, and permission issues across admin and provider-key views.
- Eliminated dangling references in routing, scopes, and selectors after deleting organizations, teams, keys, or provider groups.
- Fixed concurrent team hierarchy updates overwriting each other, team multiplier overflow validation, and stalled initial organization creation on repeated setup runs.
- Fixed federated sign-in expiration checks, first-login auto-provisioning recovery, origin-domain normalization, missing organization checks when declining transfer invitations, lost pending join requests, referral binding forms reappearing after switching organizations, and org-scoped campaign notifications leaking to users in other organizations.
- Fixed runaway growth in
moderation_violations(previously reaching50 GiBin 6 days) and prevented NUL bytes or invalid UTF-8 in one event from failing an entire batch. - Fixed unbounded growth of historical quota reservation fields in Dragonfly, duplicate scheduled task runs across multi-replica workers, unrelated running tasks being canceled during 4-second database pauses, and alert write deadlocks under transaction pooling.
- Fixed CDN cache-purge requests bypassing global proxy and outbound restrictions, unattributable settlement events blocking other organizations' settlements, hot-wallet settlement queues over 30 seconds being double-claimed by another worker, startup failures when legacy layouts wrote the GeoIP database to a read-only root filesystem, and SIEM delivery failing to retry on HTTP
429,408, and425.
- Self-approval & zero-net guards: Prohibited self-operation and self-approval for quota grants/adjustments, billing disputes, and repricing, and rejected zero-net-payment settlements.
- Payment outbound hardening: Disabled HTTP redirect following and enforced response size caps on Creem and WeChat Pay outbound requests.
- Tenant isolation & egress policies: Enforced tenant isolation for realtime call queries and actions, strengthened tokenizer access control and CSRF checks, and required SSO connector outbound requests to obey egress policies.
- CAPTCHA, gzip & announcement hardening: Bound CAPTCHA verification tokens to the target organization and operator, added decompression limits on Volcengine speech gzip frames, and hardened announcement content sanitization.
- Bounded IdP key revocation: Revoked identity-provider signing keys now expire within at most 5 minutes.
- Encryption envelope v2: Added
XAES-256-GCMencryption while maintaining backward read compatibility withv1ciphertext.
Upgrade Notes
- Database backup & irreversible migrations: Back up the database before upgrading; schema migrations in this release are not reversible.
- Migration timeout deadline: The migration job deadline has been increased to
49440s(824m). Update any custom Kubernetes or systemd timeout overrides to at least this value. - Default billing price basis:
billing.price_basisnow defaults toredirect(pricing by the redirected model);requestandresponseremain available as configurable options.