---
eip: 8011
label: EIP-8011
title: Multidimensional Gas Metering
status: Draft
type: Standards Track
category: Core
created: 2025-08-22
requires: 1559
official: https://eips.ethereum.org/EIPS/eip-8011
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8011.md
canonical: https://eips.huatuo.xyz/eip-8011/
lang: en
tldr: Meters gas separately per resource (compute, state access, size, memory, state growth, history) and fills blocks by the busiest resource only, raising throughput while users still see one gas limit and one fee.
tags: [gas, scaling, fee-market, multidimensional, core]
---

# EIP-8011: Multidimensional Gas Metering

> Gas accounting by EVM resource, increasing throughput and improving resource usage controls, with minimal changes to the protocol and UX

**TL;DR:** Meters gas separately per resource (compute, state access, size, memory, state growth, history) and fills blocks by the busiest resource only, raising throughput while users still see one gas limit and one fee.

## What problem does it solve?

Today every operation's cost is added into one number, and a block is "full" when that sum reaches the gas limit. But a block full of computation and a block full of storage writes stress very different parts of a node. Because everything shares one budget, a block heavy in one resource leaves the others idle, and the single limit must be set conservatively for the worst mix.

EIP-8011 separates **pricing** from **metering**. Transactions are priced exactly as before, but the block tracks gas per resource, and only the most-used resource counts toward the block limit. Transactions that use different resources can then share a block, increasing throughput without changing what users see.

## How it works

- **Cost vectors.** Every operation gets a 6-part cost: `(compute, access, size, memory, state, history)`. Pure compute opcodes put their whole cost in `compute`; memory-expanding opcodes split it between `compute` and `memory`. Assignments for state-touching opcodes, `LOG` opcodes and intrinsic transaction costs are still TBD, pending benchmarks.
- **Transactions are unchanged.** A transaction still has one `gas_limit`, pays fees on one `gas_used` (the sum of all six parts), and runs out of gas the same way. Clients additionally record a `gas_used_vector`.
- **Blocks use the bottleneck.** The block header gains a `max_gas_metered` field: the largest of the six per-resource totals across the block. Validity becomes `max_gas_metered <= gas_limit`.
- **Base fee follows the bottleneck.** The [EIP-1559](/eip-1559/) update rule uses `parent.max_gas_metered` in place of `parent.gas_used`.

So the gas limit and target now mean "how much gas any single resource may consume per block".

## Sample code

Computing the new header field, simplified from the spec:

```python
DIMS = 6  # compute, access, size, memory, state, history

def compute_block_max_gas_metered(block) -> int:
    totals = [0] * DIMS
    for tx in block.transactions:
        gas_used, gas_used_vector = execute_transaction(tx)
        totals = [a + b for a, b in zip(totals, gas_used_vector)]
    return max(totals)

assert block.max_gas_metered <= block.gas_limit
gas_used_delta = parent.max_gas_metered - parent.gas_target  # feeds the base fee update
```

Illustrative example: with a hypothetical 60M limit, a block using 50M compute and 40M state gas is valid (bottleneck 50M), even though the sum is 90M. Each transaction in it still paid for its full summed gas.

## Things to know

- **Status: Draft.** Large parts of the cost table are TBD, so the actual throughput gain is not yet known.
- Requires a hard fork, and adds a field to the block header.
- Blobs are excluded; they already have their own fee market ([EIP-4844](/eip-4844/)).
- It is designed as a stepping stone toward full multidimensional pricing such as [EIP-7999](/eip-7999/), where each resource also gets its own base fee.
- Block building gets harder: builders must balance six dimensions. The authors argue simple greedy heuristics remain effective, limiting centralisation pressure.
- With a lower equilibrium base fee, stuffing a block on one cheap resource gets cheaper, which slightly weakens censorship resistance under FOCIL ([EIP-7805](/eip-7805/)).
- State and history growth are long-term limits, so their opcodes may need higher prices to keep growth in check as throughput rises.


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-8011
