LLM inference API, large model: Llama 3.3 70B or gpt-oss-120b
LLM inference with a large open model: send a prompt (optional system prompt, up to 1,024 output tokens) and get an answer from Llama 3.3 70B Instruct or OpenAI gpt-oss-120b in one call, with no provider account; OpenAI-compatible at /v1/chat/completions by model name. Use when a small model is not enough: reasoning, drafting, analysis and Q&A inside an agent workflow.
Inputs
| Name | Type | Description |
|---|---|---|
prompt (required) | string | User prompt, up to 8,000 characters |
model | string | llama-3.3-70b (default) or gpt-oss-120b. One of: llama-3.3-70b, gpt-oss-120b. |
system | string | Optional system prompt, up to 2,000 characters |
maxTokens | integer | Maximum output tokens, 1-1024 (default 400) |
temperature | number | 0-1.5 (default 0.6) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/llm/inference?prompt=Explain%20x402%20in%20one%20sentence."
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"model": "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
"response": "x402 lets software pay for an HTTP request with a stablecoin by answering a 402 Payment Required challenge."
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is llm_inference, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp