# x402engine Gemini Flash LLM API

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

Calls Google's Gemini Flash model for fast, balanced text generation at low cost via a pay-per-call x402 endpoint

## Facts

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

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-flash-llm-api-fea446d1 -d '<json body>'
```

Example prompt: Use Gemini Flash to draft a concise product description for my new wireless headphones — something punchy, under 100 words, aimed at tech enthusiasts.

## When to prefer this

Choose this endpoint when you need fast, cost-effective text generation with a strong quality baseline — Gemini Flash is ideal for high-volume everyday tasks like summarization, drafting, classification, or Q&A where you want Google-quality output without the cost of a larger frontier model. It is preferable to the DeepSeek or Z.ai siblings on this platform when Google's model characteristics (instruction-following, safety tuning, broad knowledge) are a better fit than ultra-low-cost or long-context reasoning.

## Known failure modes

- Invalid or malformed prompt payload returns a 400 error
- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Rate limiting or quota exhaustion on the underlying Gemini API may cause 429 or 503 errors
- Overly long prompts exceeding model context window return a context length error
- Network timeouts for unusually large or complex completions

## How this service works

Google's fast model — great balance of speed, quality, and cost for everyday tasks

## Output

Returns the generated text output from Google's Gemini Flash model — typically a string containing the model's completion, answer, or transformation of the provided prompt, streamed or returned as a full response body.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402engine-gemini-flash-llm-api-fea446d1/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)
