Description
The Charging Gateway (CG) is a critical component within the 3GPP charging architecture, specifically defined as part of the Offline Charging System (OFCS). Its primary role is to function as a collection and forwarding point for Charging Data Records (CDRs) or Charging Data Function (CDF) sessions. Network elements that generate charging information, such as the Gateway GPRS Support Node (GGSN) in 3G, the Packet Data Network Gateway (P-GW) in 4G, or the Session Management Function (SMF) in 5G, are known as Charging Trigger Functions (CTFs). These CTFs send charging events to the CG using the Ga reference point, which is based on the Diameter base protocol with the 3GPP Charging Data (Charging Data, 32.299) application.
Architecturally, the CG sits between the CTFs in the network and the central billing domain or Billing System (BS). It receives CDRs from multiple CTFs, performing initial processing, temporary storage, and consolidation. A key technical function is the correlation of partial CDRs that belong to the same service session but may be generated by different network nodes or at different times. The CG ensures the integrity and sequence of these records before forwarding them in a batch to the Billing Domain via the Bx interface. The Bx interface typically uses a file-based transfer protocol like FTP or SFTP, carrying files formatted according to 3GPP TS 32.297 (Charging Data Record (CDR) file format and transfer).
Internally, the CG comprises several logical functions. It includes a Diameter stack for Ga interface communication, a CDR processing engine for validation and correlation, a reliable storage subsystem for holding CDRs before transfer (often with redundancy), and a file generation module for creating the final transfer files. It also handles error scenarios, such as retransmission of lost CDRs or notification of failures to the CTF. Its operation is governed by charging characteristics and profiles that dictate how records are to be handled for different subscribers or services.
In the broader 5G Service-Based Architecture (SBA), while the traditional CG as a standalone network element is still defined, similar functions can be integrated within the Charging Function (CHF) as part of the Converged Charging System (CCS). However, the CG remains vital in deployments where a clear separation is required between the real-time network functions and the offline, bulk-oriented billing systems. It provides a buffer, absorbing peaks in charging data generation and ensuring that transient issues in the billing domain do not impact the core network's ability to generate charging events, thereby maintaining both network performance and billing accuracy.
Purpose & Motivation
The Charging Gateway was created to address the fundamental business need for reliable and accurate subscriber billing in packet-switched mobile networks. As services evolved beyond simple voice calls to include GPRS, IMS, and rich data services, the volume and complexity of charging data exploded. Network elements like GGSNs were not designed to handle direct, reliable connections to potentially distant and heterogeneous billing systems. Sending CDRs directly from each network node posed significant risks: it could overload the billing system, cause data loss during network congestion, and require each node to implement complex file transfer and error-handling logic, increasing their cost and complexity.
Historically, before the standardization of the CG, operators faced challenges in consolidating charging data from numerous network elements. This led to unreliable data transfer, billing inaccuracies, and revenue leakage. The CG, introduced in 3GPP Release 8 as part of a matured offline charging framework, solved this by acting as a dedicated mediation layer. It abstracts the billing system from the network, allowing CTFs to use a simple, real-time Diameter protocol (Ga) to push records, while the CG assumes responsibility for the reliable, batched transfer to the billing domain using robust file-based mechanisms. This separation of concerns improves scalability and operational efficiency.
Furthermore, the CG enables critical functions like CDR correlation and pre-processing, which are essential for services that involve multiple network components (e.g., a video call using both access and IMS resources). By performing these functions centrally, it reduces the processing burden on individual CTFs and ensures a consistent, unified view of a subscriber's session for billing purposes. Its creation was motivated by the need for a standardized, carrier-grade solution to ensure revenue assurance as mobile networks became the primary platform for digital services.
Detected Changes Across Releases
from 3GPP Change RequestsSpecific changes extracted from the „Change history“ tables of 3GPP specifications (104 CRs across 5 releases). Complements the general historical overview above with the evidence-based evolution of this function.
Studied in Rel-8, normative work from Rel-15.
In Release 15, the Charging Gateway function was enhanced to support 5G within the overall charging architecture, including the introduction of a converged charging system. Specific updates included the formal introduction of the SMSF into the 5GS charging architecture and enhancements for secondary RAT reporting in offline charging. Furthermore, clarifications and corrections were made to charging procedures involving multiple PRA (Primary Rate Access) scenarios.
- Introduce the Northbound API charging TS 32.240CR0394
- Introduction of 5G in charging architecture TS 32.240CR0396
- Introduction of 5G converged charging TS 32.240CR0397
- Introduction of 5G in charging mechanisms TS 32.240CR0399
- Introduce the 5G charging in clause 3 TS 32.240CR0401
- Charging mode clarifications in Converged Charging System TS 32.240CR0402
+ 16 more changes
In Release 16, the key enhancement for the Charging Gateway function was the introduction of the AMF into the charging architecture. This release also provided clarifications and corrections for CG-ConfigInfo in NR-DC and NE-DC scenarios and for the calculation of CG occasions. Furthermore, it introduced specific descriptions for volume-based charging of VoLTE within the Packet Switched domain.
- Introduction of AMF in charging architecture TS 32.240CR0409
- Introduce description of volume based charging for VoLTE in PS TS 32.251CR0514
- Corrections on CG-UCI multiplexing in TS38.212 TS 38.212CR0078
- Correction on the calculation of CG occasion TS 38.321CR0889
- Correction on the calculation of CG occasion TS 38.331CR2010
- Activation of CG and DRX inactivity timer TS 38.321CR1058
+ 1 more changes
In Release 17, the Charging Gateway (CG) function was updated to support new 5G services, including the formal introduction of a charging architecture for 5G LAN services and enhancements for Edge Computing charging. The release also involved corrections and clarifications to the charging architecture for Network Slices and the integration of the 5G DDNMF (Data Domain Network Management Function) into the 5GS charging framework. Furthermore, adjustments were made to the logical ubiquitous charging architecture regarding the PGW's role within the service-based interface.
- Add PGW in logical ubiquitous charging architecture- service based interface TS 32.240CR0413
- Introduction of 5G DDNMF in charging architecture for 5GS TS 32.240CR0429
- Addition of the 5G LAN service charging TS 32.240CR0434
- Charging architecture for Local Breakout TS 32.240CR0439
- Addition of the architecture for 5G LAN charging TS 32.240CR0442
- Enhance charging architecture for Edge Computing TS 32.240CR0443
+ 18 more changes
In Release 18, the Charging Gateway (CG) function was enhanced to support new services including TSN (Time-Sensitive Networking) and 5G Satellite charging, and to provide slice-aware charging for roaming partners. The architecture was also updated to incorporate the MB-SMF (Multicast/Broadcast Session Management Function) and to refine B2B (Business-to-Business) charging principles and architecture. Furthermore, specific charging procedures and information elements, such as the Charging-Data AVP containing addresses of charging functions, were extended to accommodate these new service and network function integrations.
- Adding New Consumer for MMS in Charging Architecture TS 32.240CR0446
- Slice-aware charging for Roaming partners TS 32.240CR0467
- Add MB-SMF in charging architecture for 5GS TS 32.240CR0470
- Add charging support for TSN service TS 32.240CR0473
- Add annex for B2B charging TS 32.240CR0474
- Update B2B charging principles TS 32.240CR0475
+ 28 more changes
In Release 19, the Charging Gateway function was expanded to support new services and architectures, including the integration of the Gateway Mobile Location Centre (GMLC) into the 5GS charging architecture and the addition of charging principles for AIoT services, Unmanned Aircraft Systems (UAS), and satellite-based services like MVNO and store-and-forward operations. The release also introduced charging support for CAPIF (Common API Framework) services and clarified specifications for the Nchf interface and the converged charging refund mechanism. Furthermore, corrections and updates were made to existing specifications, such as those for network sharing, disaster roaming charging, and uplink power control for Type-1 CG-PUSCH.
- Introduction of GMLC in charging architecture for 5GS TS 32.240CR0491
- Rel-19 CR 32.240 Add charging support to AIoT service TS 32.240CR0510
- Rel-19 CR 32.240 CAPIF Logical Charging Architecture TS 32.240CR0511
- Rel-19 CR 32.240 CAPIF Service Charging TS 32.240CR0512
- Add charging principles for UAS TS 32.240CR0517
- Add MVNO charging which provides satellite service TS 32.240CR0518
+ 11 more changes
Explore further
Broader topics and technologies where CG plays a role.
Defining Specifications
3GPP specifications that define or reference CG, with the latest known release. Sourced from the 3GPP document catalog — see methodology.
| Specification | Title | Release |
|---|---|---|
| TS 29.234 vb20 | WLAN-3GPP Interworking Stage-3 Protocol | Rel-11 |
| TS 32.240 vj40 | Charging Management Architecture & Principles | Rel-19 |
| TS 32.251 vj00 | PS Domain Charging Management | Rel-19 |
| TS 32.272 vj00 | Charging for Push-to-Talk over Cellular (PoC) | Rel-19 |
| TS 32.273 vj00 | MBMS Charging Management | Rel-19 |
| TS 32.278 vj00 | Monitoring Events Offline Charging Specification | Rel-19 |
| TS 32.295 vj00 | 3GPP Charging: CDR Transfer via GTP' Protocol | Rel-19 |
| TS 36.101 vj30 | LTE UE Radio Transmission & Reception Requirements | Rel-19 |
| TS 36.300 vj00 | E-UTRAN Radio Interface Protocol Architecture Overview | Rel-19 |
| TS 36.302 vj00 | E-UTRA Physical Layer Services | Rel-19 |
| TS 36.306 vj00 | E-UTRA UE Radio Access Capability Parameters | Rel-19 |
| TS 36.321 vj00 | E-UTRA MAC Protocol Specification | Rel-19 |
| TS 36.331 vj00 | LTE RRC Protocol Specification | Rel-19 |
| TS 37.473 vj00 | W1 Application Protocol (W1AP) Specification | Rel-19 |
| TS 38.212 vj10 | NR Multiplexing and Channel Coding | Rel-19 |
| TS 38.300 vj00 | NG-RAN Overall Description | Rel-19 |
| TS 38.321 vj00 | NR MAC Protocol Specification | Rel-19 |
| TS 38.331 vj00 | NR Radio Resource Control (RRC) Protocol Specification | Rel-19 |
| TS 38.473 vj10 | 5G F1 Application Protocol (F1AP) | Rel-19 |
| TS 38.521 vj20 | NR Physical Layer UE Conformance Testing | Rel-19 |
| TR 38.825 vg00 | Study on NR Industrial IoT | Rel-16 |
| TR 38.838 vh00 | Study on XR Evaluations for NR | Rel-17 |
| TS 38.863 vj10 | NR NTN RF and Co-existence Spec | Rel-19 |
| TR 38.889 vg00 | NR-based access to unlicensed spectrum study | Rel-16 |