80trust / 100

Llm Gemini Pro

by x402engine.app in AI models & inference

x402 APIPassing, checked 38 min ago

Google's most capable model — strong at reasoning, coding, and multimodal tasks

POST https://x402engine.app/api/llm/gemini-pro

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
269 ms typical, 316 ms slowest 5%
Last check
38 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://x402engine.app/api/llm/gemini-pro" \
  -H "content-type: application/json" \
  -d '{"max_tokens":1024,"messages":[{"content":"Hello","role":"user"}]}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fx402engine.app%2Fapi%2Fllm%2Fgemini-pro
const res = await pay("https://x402engine.app/api/llm/gemini-pro", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"max_tokens":1024,"messages":[{"content":"Hello","role":"user"}]}),
});
console.log(await res.json());

Example input

{
  "max_tokens": 1024,
  "messages": [
    {
      "content": "Hello",
      "role": "user"
    }
  ]
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
38 min agoPassed402400 ms$0.042
4 h agoPassed402181 ms$0.042
8 h agoPassed402290 ms$0.042
11 h agoPassed402250 ms$0.042
15 h agoPassed402309 ms$0.042
19 h agoPassed402199 ms$0.042
22 h agoPassed402188 ms$0.042
26 h agoPassed402269 ms$0.042
29 h agoPassed402188 ms$0.042
33 h agoPassed402293 ms$0.042
38 h agoPassed402316 ms$0.042