# Gemini 2.5 Pro via x402 Gateway

> Gemini 2.5 Pro via x402 Gateway is a paid API for AI agents from x402-gateway-production.up.railway.app, paid per call via x402, $0.050000/call, status unknown (last checked 2026-09-13).

Calls Google's Gemini 2.5 Pro large language model with advanced reasoning, coding, and multimodal capabilities via a pay-per-call x402 gateway

## Facts

- Endpoint: POST https://x402-gateway-production.up.railway.app/api/llm/gemini-3.1-pro
- Price: $0.050000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-production-up-railway-app-bed9ac70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0UoLBUF99r0fIMI0R6s9W

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 x402-gateway-production-up-railway-app-bed9ac70 -d '<json body>'
```

Example prompt: Use Google Gemini 2.5 Pro to analyze this complex multi-step math problem and walk me through the reasoning step by step: 'A train leaves Chicago at 60 mph and another leaves New York at 80 mph, the cities are 790 miles apart — when and where do they meet?'

## When to prefer this

Choose this endpoint when you need Google's most capable Gemini model with extended thinking for complex multi-step reasoning, advanced coding tasks, or multimodal inputs, especially in agentic workflows where you want pay-per-call pricing without managing Google API credentials directly.

## Known failure modes

- Payment not included or insufficient USDC — 402 Payment Required
- Invalid or malformed prompt body — 400 Bad Request
- Model temporarily unavailable or upstream Google API error — 503
- Rate limit exceeded on the gateway — 429 Too Many Requests
- Context window exceeded for very long prompts — 400 or 413

## How this service works

Google's latest flagship — advanced reasoning, coding, and multimodal with extended thinking

## Output

A generated text response from Google's Gemini 2.5 Pro model, potentially including extended chain-of-thought reasoning, code snippets, or multimodal analysis depending on the input prompt.

## Example request

```json
{
 "model": "gemini-3.1-pro",
 "messages": [
  {
   "role": "user",
   "content": "Explain the concept of machine learning in simple terms, covering supervised learning, unsupervised learning, and reinforcement learning with one example each."
  }
 ],
 "max_tokens": 1024,
 "temperature": 0.7
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-production-up-railway-app-bed9ac70/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-gateway-production.up.railway.app](https://www.zero.xyz/host/x402-gateway-production.up.railway.app/llms.txt)
