# EVM Gas Price

> EVM Gas Price is a paid API for AI agents from flat-rate-llm.kikoribera03.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns the current gas price and base fee for a supported EVM chain in wei and gwei, plus the estimated cost of a plain ETH transfer.

## Facts

- Endpoint: POST https://flat-rate-llm.kikoribera03.workers.dev/v1/evm/gas
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-gas-price-854b2357
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__aiGELaTIMko1UH7xpIWc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability evm-gas-price-854b2357 -d '<json body>'
```

Example prompt: What's the current gas price on Base right now — give me the value in gwei and tell me how much a plain ETH transfer would cost?

## When to prefer this

Use this endpoint when an agent needs to inspect current gas conditions on a specific EVM-compatible chain before deciding whether to submit a transaction, estimate transaction fees, or compare cost across chains. Prefer it over on-chain RPC calls when you want a simple, pre-parsed result in both wei and gwei with a plain-transfer cost estimate included at a flat rate.

## Known failure modes

- Unsupported chain name returns an error — only base, ethereum, polygon, arbitrum, optimism are valid
- Network congestion or RPC node downtime may cause stale or failed responses
- Payment not included or incorrect amount results in 402 Payment Required
- Gas price spikes between query and transaction submission mean the estimate may be outdated instantly

## How this service works

60 paid endpoints with no metering, no API key and no account. Each endpoint has one flat price per call, whatever the size of the request: LLM completions with automatic failover across several large models, read-only EVM tooling over Base, Ethereum, Polygon, Arbitrum and Optimism, and pure crypto utilities that touch no network.

## Output

Returns a JSON object with the current gas price in wei (as a string), gas price in gwei (as a number), and the estimated cost of a plain 21,000-gas ETH transfer in ether (as a number) for the requested chain.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "description": "base | ethereum | polygon | arbitrum | optimism."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "gasPriceWei": {
   "type": "string"
  },
  "gasPriceGwei": {
   "type": "number"
  },
  "transferCostEther": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-gas-price-854b2357/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from flat-rate-llm.kikoribera03.workers.dev](https://www.zero.xyz/host/flat-rate-llm.kikoribera03.workers.dev/llms.txt)
