# x402engine Gemini Pro API

> x402engine Gemini Pro API is a paid API for AI agents from x402engine.app, paid per call via x402, $0.035/call, status unknown (last checked 2026-09-14).

Provides pay-per-call access to Google's Gemini Pro large language model for reasoning, coding, and multimodal tasks via HTTP 402 micropayments

## Facts

- Endpoint: POST https://x402engine.app/api/llm/gemini-pro
- Price: $0.035/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402engine-gemini-pro-api-e95f91eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fi5J9BTLCcOBi7JgI2Vru

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 x402engine-gemini-pro-api-e95f91eb -d '<json body>'
```

Example prompt: Use Gemini Pro to write me a Python function that parses nested JSON and flattens it into a single-level dictionary, with docstrings and error handling included.

## When to prefer this

Choose this endpoint when you need Google Gemini Pro's specific capabilities — particularly strong multimodal reasoning, coding, and complex instruction-following — accessed pay-per-call without managing a Google AI API key or subscription. Ideal for agents that need sporadic LLM inference paid via USDC micropayments rather than committing to a monthly plan.

## Known failure modes

- Payment not received or insufficient USDC balance — returns HTTP 402
- Prompt exceeds model context window — returns token limit error
- Model unavailable or upstream Google API outage — returns 503
- Malformed request body — returns 400 bad request
- Rate limit exceeded on the x402engine platform — returns 429

## How this service works

Google's most capable model — strong at reasoning, coding, and multimodal tasks

## Output

Returns a text response generated by Google's Gemini Pro model, which may include reasoning chains, code, prose, structured content, or multimodal analysis depending on the prompt provided.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402engine-gemini-pro-api-e95f91eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402engine.app](https://www.zero.xyz/host/x402engine.app/llms.txt)
