Chat completion (Llama 3.3 70B or gpt-oss-120b)

$0.01 per call · failed calls are never charged · no account or API key needed

Send a prompt, get an answer from a larger open model: Llama 3.3 70B Instruct (default) or OpenAI gpt-oss-120b, with an optional system prompt, up to 1,024 output tokens and adjustable temperature. Same call as /ai/chat with a stronger model. Use when the 8B model is not enough: reasoning, drafting and Q&A.

Run it free (25 free calls) Buy credits by card (from $5) Example result (JSON)

Inputs

NameTypeDescription
prompt (required)stringUser prompt, up to 8,000 characters
modelstringllama-3.3-70b (default) or gpt-oss-120b. One of: llama-3.3-70b, gpt-oss-120b.
systemstringOptional system prompt, up to 2,000 characters
maxTokensintegerMaximum output tokens, 1-1024 (default 400)
temperaturenumber0-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/ai/chat-large?prompt=Explain%20x402%20in%20one%20sentence."

Or one of your 25 free calls, no key:

curl "https://agent-data-tools.revmesh2074.workers.dev/ai/chat-large?prompt=Explain%20x402%20in%20one%20sentence.&trial=1"

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, Monad, World Chain or Tempo) 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 ai_chat_large, and the first 25 successful calls are free:

https://agent-data-tools.revmesh2074.workers.dev/mcp

Related tools