Alert Source Discuss

Draft Meta

EIP-8007: Glamsterdam Gas Repricings

Directory of EIPs introducing changes to the gas pricing model for the Glamsterdam fork

Authors
Maria Silva ()
,
Ansgar Dietrichs ()
Created 2025-08-21
Discussion Link https://ethereum-magicians.org/t/eip-8007-glamsterdam-gas-repricings-meta-eip/25206
Requires EIP-2780 , EIP-2926 , EIP-7686 , EIP-7778 , EIP-7904 , EIP-7923 , EIP-7971 , EIP-7973 , EIP-7976 , EIP-7981 , EIP-8011 , EIP-8032 , EIP-8037 , EIP-8038 , EIP-8053 , EIP-8057 , EIP-8058 , EIP-8059

Abstract

This Meta EIP documents all the proposals for Glamsterdam related to the gas repricing effort. The goal of this effort is to harmonize gas costs across the EVM, thereby reducing the impact of specific bottlenecks on scaling. Proposals include changes to the cost of single EVM operations, as well as bigger changes to the gas model. This Meta EIP is purely informational and does not aim to have an active role in the governance process for the Glamsterdam fork. Instead, it serves as a directory for all repricing-related proposals, helping to organize the work and keeping the community informed about the status of each EIP.

Motivation

The main objective of the Glamsterdam fork is to improve L1 scalability. A crucial aspect of this initiative is to create a better alignment between gas costs and actual resource usage. Currently, the gas model often misprices operations, resulting in inefficiencies and unintended incentives. For instance, within the pure compute operations, there is a high variance in execution time per gas unit, which indicates that a single unit of computation is not priced equally across the various opcodes.

By standardizing gas costs across EVM operations and other resources, we can reduce bottlenecks and enhance the utilization of EVM resources, which will subsequently enable further scalability. The EIPs listed below constitute a significant first step in that direction. We expect that further iteration will be necessary in future hardforks.

Specification

The following table lists all EIPs related to repricings that are being discussed in the scope of the Glamsterdam fork. There are three types of EIPs in this list:

  1. Broad harmonization. These EIPs reprice a class of operations with the goal of harmonizing them and removing single bottlenecks.
  2. Pricing extension. These EIPs make targeted changes to a specific opcode or component of the gas model, usually coupled with a new mechanism.
  3. Supporting. These EIPs are not directly doing a repricing, but instead introduce a change that support other repricing EIPs or enhance the scalability potential of repricings.

Considered for Inclusion

EIPDescriptionTypeResource classGas change overview
EIP-2780Reduce intrinsic transaction gas and charge 25k when a value transfer creates a new account.Broad harmonizationMulti-resourceDecrease TX_BASE_COST (21k→4.5k); increase new-account surcharge (0→25k)
EIP-7778Prevent Block Gas Limit Circumvention by Excluding Refunds from Block Gas Accounting.Pricing extensionGeneral AccountingNo opcode repricing; excludes gas refunds (e.g. SSTORE clearing) from block gas accounting
EIP-7904Gas Cost Increase to reflect computational complexity and transaction throughput increaseBroad harmonizationComputeAll increase: DIV, SDIV, MOD, MULMOD, KECCAK256, precompiles (BLAKE2F, BLS12_G1ADD, BLS12_G2ADD, ECADD, ECPAIRING, POINT_EVALUATION)
EIP-7976Further increase calldata cost to 15/60 gas per byte to reduce maximum block size.Pricing extensionDataIncrease calldata floor cost (10/40 → 15/60 per byte)
EIP-7981Introduce floor pricing for access lists to reduce maximum block size.Pricing extensionDataIncrease: new floor charge on access list data (addresses + storage keys)
EIP-8037Harmonization, increase and separate metering of state creation gas costs to mitigate state growth and unblock scaling.Broad harmonizationStateAll increase (dynamic with gas limit): GAS_CREATE, GAS_CODE_DEPOSIT, GAS_NEW_ACCOUNT, GAS_STORAGE_SET, PER_AUTH_BASE_COST
EIP-8038Increases the gas cost of state-access operations to reflect Ethereum's larger state.Broad harmonizationStateAll increase: cold storage write/access, cold account access, warm access, EXTCODESIZE/EXTCODECOPY extra read, access list costs

Declined for Inclusion

EIPDescriptionTypeResource class
EIP-2926Introduce code-chunking in an MPT context.Pricing extensionState
EIP-7686Adjust memory limits and gas limits of sub-calls to create a clear linear bound on how much total memory an EVM execution can consume.Pricing extensionMemory
EIP-7923Linearize Memory Costing and replace the current quadratic formula with a page-based cost model.Pricing extensionMemory
EIP-7971Decrease costs for TLOAD and TSTORE with a transaction-global limit.Pricing extensionMemory
EIP-7973Introduce warm account writes, decreasing the cost of writing to an account after the first write.Pricing extensionState
EIP-8011Gas accounting by EVM resource, increasing throughput and improving resource usage controls, with minimal changes to the protocol and UX.SupportingNA
EIP-8032Makes SSTORE gas cost scale with a contract's storage size to discourage state bloat.Pricing extensionState
EIP-8053Adds milli-gas as the EVM's internal gas accounting unit, reducing rounding errors without impacting UX.SupportingNA
EIP-8057Multi‑block temporal locality discounts for state and account access.Pricing extensionState
EIP-8058Reduces gas costs for deploying duplicate contract bytecode via access-list based mechanism.Pricing extensionState
EIP-8059Gas parameters and variables are increased to a factor of REBASE_FACTOR to reduce rounding errors without major changes to the EVM.SupportingNA

Rationale

Gas cost changes by operation

The following tables summarize the preliminary gas cost changes. Numbers are not yet finalized and will be subject to change.

Compute Opcodes — EIP-7904 (all increase)

OpcodeNameCurrentNewDirection
0x04DIV515increase
0x05SDIV520increase
0x06MOD512increase
0x09MULMOD811increase
0x20KECCAK256 (base)3045increase

KECCAK256 per-word cost stays at 6. ADDMOD, SMOD, and ECRECOVER are unchanged.

Precompiles — EIP-7904 (all increase)

PrecompileCurrentNewDirection
BLAKE2F (base)0170increase
BLAKE2F (per round)12increase
BLS12_G1ADD375643increase
BLS12_G2ADD600765increase
ECADD150314increase
ECPAIRING (per pair)34,00034,103increase (slight)
POINT_EVALUATION50,00089,363increase

State Access — EIP-8038 (all increase, values TBD)

Opcode(s)ComponentCurrentNewDirection
SSTOREGAS_COLD_STORAGE_WRITE5,000TBDincrease
SSTORE, SLOADGAS_COLD_STORAGE_ACCESS2,100TBDincrease
CALL, STATICCALL, DELEGATECALL, BALANCE, EXT*, SELFDESTRUCTGAS_COLD_ACCOUNT_ACCESS2,600TBDincrease
All state ops (warm)GAS_WARM_ACCESS100TBDincrease
EXTCODESIZEExtra warm read for 2nd DB lookup0+GAS_WARM_ACCESSincrease (new)
EXTCODECOPYExtra warm read for 2nd DB lookup0+GAS_WARM_ACCESSincrease (new)
SSTORE, SLOAD (access list)ACCESS_LIST_STORAGE_KEY_COST1,900TBDincrease
CALL etc. (access list)ACCESS_LIST_ADDRESS_COST2,400TBDincrease

State Creation — EIP-8037 (all increase, dynamic with gas limit)

At 60M gas limit, cost_per_state_byte (cpsb) = 662. Costs scale up with higher gas limits.

OperationOpcodes AffectedCurrentNew (at 60M)Direction
GAS_CREATECREATE, CREATE2, create txs32,000112 x cpsb + 9,000 (~83k)increase
GAS_CODE_DEPOSITCREATE, CREATE2, create txs200/bytecpsb/byte + hash (~662/byte)increase
GAS_NEW_ACCOUNTCALL* to new accounts25,000112 x cpsb (~74k)increase
GAS_STORAGE_SETSSTORE (0 -> non-zero)20,00032 x cpsb + 2,900 (~24k)increase
PER_AUTH_BASE_COSTEIP-7702 auth12,50023 x cpsb + 7,500 (~22.7k)increase
PER_EMPTY_ACCOUNT_COSTEIP-7702 auth25,000112 x cpsb (~74k)increase

Transaction-Level Costs

ParameterCurrentNewDirectionEIP
TX_BASE_COST21,0004,500decrease2780
New account surcharge (top-level value tx)025,000increase2780
Calldata floor cost10/40 per byte15/60 per byteincrease7976
Access list data cost0floor_token_cost per tokenincrease (new)7981

Security Considerations

Discussed in the individual EIPs.

Copyright and related rights waived via CC0.

Citation

Please cite this document as:

Maria Silva, Ansgar Dietrichs, "Glamsterdam Gas Repricings," Ethereum Improvement Proposals, no. 8007, early access, August 2025. [Online serial]. Available: https://eips-wg.github.io/EIPs/8007/.