# Gemini 2.0 Flash LLM via x402 Gateway

> Gemini 2.0 Flash LLM via x402 Gateway is a paid API for AI agents from x402-gateway-production.up.railway.app, paid per call via x402, $0.012000/call, status unknown (last checked 2026-09-15).

Runs inference on Google's Gemini 2.0 Flash model — a fast, efficient, high-quality language model for everyday AI tasks — via a pay-per-call x402 gateway

## Facts

- Endpoint: POST https://x402-gateway-production.up.railway.app/api/llm/gemini-3-flash
- Price: $0.012000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-gateway-production-up-railway-app-9332c2d1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LSop4RzmTvMdfzZ23ivtX

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-9332c2d1 -d '<json body>'
```

Example prompt: Use Google's Gemini Flash model to summarize the following paragraph in three bullet points: 'Quantum computing leverages quantum mechanical phenomena such as superposition and entanglement to perform computations. Unlike classical bits, qubits can represent both 0 and 1 simultaneously, enabling parallelism that classical hardware cannot match for certain problem classes.'

## When to prefer this

Choose this endpoint when you need fast, high-quality LLM inference from Google's Gemini Flash family and want pay-per-call micropayment billing via x402 rather than a subscription API key. Prefer it over heavier models when latency and cost efficiency matter more than maximum reasoning depth. Use it over OpenAI or Anthropic endpoints on this same gateway when you specifically want Google's model quality and style.

## Known failure modes

- Payment not included or invalid x402 USDC payment header — returns 402 Payment Required
- Prompt too long or exceeds model context window — returns 400 or truncation error
- Model unavailable or upstream Google API error — returns 503 or 500
- Malformed request body — returns 400 Bad Request
- Rate limit exceeded — returns 429 Too Many Requests

## How this service works

Google's next-gen flash model — fast and efficient for everyday tasks with improved quality

## Output

Returns generated text from Gemini 2.0 Flash — the model's completion or response to the provided prompt, suitable for summarization, Q&A, drafting, analysis, code tasks, and other general-purpose language tasks.

## Example request

```json
{
 "messages": [
  {
   "role": "user",
   "content": "Summarize the following in three bullet points: Quantum computing leverages quantum mechanical phenomena such as superposition and entanglement to perform computations. Unlike classical bits, qubits can represent both 0 and 1 simultaneously, enabling parallelism that classical hardware cannot match for certain problem classes."
  }
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-gateway-production-up-railway-app-9332c2d1/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)
