# fold · x402 — Gemini 3.5 Flash LLM via x402

> fold · x402 — Gemini 3.5 Flash LLM via x402 is a paid API for AI agents from x402.fold.computer, paid per call via x402, $2/call, status down (last checked 2026-09-15).

Runs an OpenAI-compatible chat completion using Gemini 3.5 Flash, paid per-call via the x402 micropayment protocol, with onchain market intelligence context

## Facts

- Endpoint: POST https://x402.fold.computer/llm/gemini-3-5-flash
- Price: $2/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fold-x402-gemini-3-5-flash-llm-via-x402-7280dc3f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z8ZL_H49jPT6VPkpTillO

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 fold-x402-gemini-3-5-flash-llm-via-x402-7280dc3f -d '<json body>'
```

Example prompt: Using the fold x402 Gemini 3.5 Flash endpoint, send this message thread and ask: 'What are the current trends in onchain DeFi liquidity?' — temperature 0.7, max 512 tokens, and pay the $2 USDC per-call fee via x402.

## When to prefer this

Use this endpoint when you need LLM inference that is natively payable via the x402 USDC micropayment protocol — especially for onchain agents that lack traditional API keys and instead transact with crypto. Prefer this over standard LLM APIs when your agent needs to pay per-call without a subscription, or when you want Gemini 3.5 Flash responses embedded in an x402-compatible agentic workflow.

## Known failure modes

- Payment not provided or insufficient USDC — x402 payment required error returned
- Malformed messages array (not OpenAI format) — validation error
- Model unavailable or rate-limited upstream from Gemini — 5xx error
- Invalid temperature or max_tokens values — parameter validation error
- x402 facilitator or payment channel failure — payment processing error

## How this service works

Machine-readable market intelligence for onchain agents, served over x402.

## Output

An OpenAI-format chat completion object containing the model's generated response, alongside x402 cost metadata (amount charged, payment status). The 'data' field wraps the completion output and payment details; 'status' indicates request success.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "messages"
 ],
 "properties": {
  "messages": {
   "type": "array",
   "description": "OpenAI-format chat messages"
  },
  "max_tokens": {
   "type": "number"
  },
  "temperature": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "status",
  "data"
 ],
 "properties": {
  "data": {
   "type": "object",
   "description": "OpenAI-format completion + x402 cost info"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fold-x402-gemini-3-5-flash-llm-via-x402-7280dc3f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.fold.computer](https://www.zero.xyz/host/x402.fold.computer/llms.txt)
