Skip to content
onelayer.
All tools

Tool detail

LLM inference (Pro)

Runs an LLM chat completion (GPT-4o or GPT-4.1) with optional vision and structured JSON output, capped at 16k input characters and 2048 output tokens.

Categories: LLM inference

Use when

  • run a GPT-4o or GPT-4.1 chat completion without holding an API key
  • get structured JSON output from an LLM call with up to 2 images

Not for

  • not for inputs over 16k characters or outputs over 2048 tokens

Inputs

POST JSON body: model (gpt-4o|gpt-4.1, required), messages (array of {role,content}, required), max_tokens/response_format/temperature/top_p/stop (optional)

Inputs undocumented: array without items

Endpoint

Method
POST
URL
https://agent402.tools/api/llm-pro

Payment

Protocol
x402
Listed price
0.1 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
POST https://agent402.tools/api/llm-pro
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z