# GlianaAI — Gemini 3.7 Flash Inference

> GlianaAI — Gemini 3.7 Flash Inference is a paid API for AI agents from api.glianalabs.com, paid per call via x402, $0.005645/call, status unknown (last checked 2026-09-15).

Runs a single inference call against Google's Gemini 3.7 Flash model via GlianaAI's pay-per-call gateway, returning a media output URL, with payment in USDC on-chain and no signup required.

## Facts

- Endpoint: GET https://api.glianalabs.com/x402/gemini-3.7-flash
- Price: $0.005645/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/glianaai-gemini-3-7-flash-inference-59bf7de8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pM3BKicYDy3GiuryAX7OQ

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 glianaai-gemini-3-7-flash-inference-59bf7de8
```

Example prompt: Use Gemini 3.7 Flash through GlianaAI to generate a response for me — pay the $0.005645 USDC fee per call on-chain, no account needed.

## When to prefer this

Choose this endpoint when you need to invoke Google Gemini 3.7 Flash without a Google Cloud account or API key, want to pay strictly per call in USDC using the x402 protocol, and are operating in a crypto-native or Web3 environment on Base, Solana, Algorand, or BNB Chain. It is ideal for agents that need lightweight, fast Gemini Flash inference with no subscription overhead.

## Known failure modes

- Insufficient USDC balance or failed on-chain payment results in 402 Payment Required
- Invalid or malformed request body returns a 4xx error
- Model unavailability or upstream Google API outage causes 5xx
- Unsupported HTTP method (non-GET) returns method not allowed
- Payment on unsupported chain may not be recognized

## How this service works

One endpoint for 90+ generative AI models, live market data, SEC filings and identity APIs — image, video, music, speech, LLM chat, crypto and FX rates, DEX liquidity, gas, US company fundamentals and insider trades, document OCR and face matching. Pay per request in USDC on Tempo, Base, Solana, Algorand or BNB Chain with no signup, or top up a prepaid balance in rupiah.

## Output

Returns a JSON object containing the model name ('gemini-3.7-flash') and an output object with a URL pointing to the generated media or content hosted at api.glianalabs.com/v1/media/<id>.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "gemini-3.7-flash",
  "output": {
   "url": "https://api.glianalabs.com/v1/media/<id>"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/glianaai-gemini-3-7-flash-inference-59bf7de8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.glianalabs.com](https://www.zero.xyz/host/api.glianalabs.com/llms.txt)
