# OpenAI Responses API (Llama / GPT-OSS, pay-per-call)

> OpenAI Responses API (Llama / GPT-OSS, pay-per-call) is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call (dynamic — varies by input), status unknown (last checked 2026-10-22).

Generates a single non-streaming text completion using the OpenAI Responses request shape, served by Llama 3.1 8B (default, $0.003), Llama 3.3 70B, or gpt-oss-120b ($0.01).

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/v1/responses?utm_source=zero.xyz
- Price: $0.01/call (dynamic — varies by input)
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-openai-responses-api-llama-ac261211
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Vh-ZttmIABOzf74jQ0auL

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 agent-data-tools-revmesh2074-workers-dev-openai-responses-api-llama-ac261211
```

Example prompt: Answer this question using the cheap Llama 3.1 8B model: 'What are the main differences between REST and GraphQL APIs?' — keep the response under 300 tokens and use a neutral, informative tone.

## When to prefer this

Choose this endpoint when you need a cheap, stateless, non-streaming single-turn text completion via the OpenAI Responses API shape, especially if your agent is already using an OpenAI SDK and you want to point it at a pay-per-call alternative with no account setup. Prefer the default Llama 3.1 8B model at $0.003 for high-volume or cost-sensitive tasks; switch to Llama 3.3 70B or gpt-oss-120b at $0.01 for better reasoning quality. Not suitable for streaming, tool-calling, function-calling, or multi-turn stateful conversations.

## Known failure modes

- Missing required 'input' field returns a validation error and no charge
- Setting stream:true returns an error (streaming is not supported)
- max_output_tokens exceeding 1024 triggers a schema validation error
- Invalid model name may fall back to default or return an error
- Payment failure (insufficient x402 balance or bad credentials) results in a 402 response and no charge
- Network timeout on the Cloudflare Worker edge may return a 5xx with no charge

## How this service works

OpenAI Responses request shape: input (a string or a list of role/content items), optional instructions, max_output_tokens and temperature; one completed message comes back in output (plus output_text). Served by the same models and prices as /v1/chat/completions: $0.01 by default, $0.01 with model "llama-3.3-70b" or "gpt-oss-120b". No streaming, no tools. Point an OpenAI SDK at https://agent-data-tools.revmesh2074.workers.dev/v1 with an x402 or MPP fetch wrapper. Failed calls are never charged.

## Output

Returns a response object following the OpenAI Responses shape, containing an 'output' array with the completed message and a top-level 'output_text' field with the raw text. No streaming chunks — one complete response per call. Model used and token usage metadata may also be included.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "oneOf": [
    {
     "type": "string"
    },
    {
     "type": "array",
     "items": {
      "type": "object",
      "properties": {
       "role": {
        "enum": [
         "system",
         "user",
         "assistant"
        ],
        "type": "string"
       },
       "content": {}
      }
     }
    }
   ],
   "description": "A string, or a list of { role, content } items (content a string or input_text parts)"
  },
  "model": {
   "type": "string",
   "description": "@cf/meta/llama-3.1-8b-instruct-fp8 (default, $0.01), or llama-3.3-70b / gpt-oss-120b ($0.01)"
  },
  "stream": {
   "type": "boolean",
   "description": "Must be false or absent"
  },
  "temperature": {
   "type": "number",
   "maximum": 1.5,
   "minimum": 0
  },
  "instructions": {
   "type": "string",
   "description": "Optional system prompt"
  },
  "max_output_tokens": {
   "type": "integer",
   "maximum": 1024,
   "minimum": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "string"
  },
  "model": {
   "type": "string"
  },
  "usage": {
   "type": "object",
   "properties": {
    "estimated": {
     "type": "boolean"
    },
    "input_tokens": {
     "type": "number"
    },
    "total_tokens": {
     "type": "number"
    },
    "output_tokens": {
     "type": "number"
    }
   }
  },
  "object": {
   "type": "string"
  },
  "output": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string"
     },
     "role": {
      "type": "string"
     },
     "type": {
      "type": "string"
     },
     "status": {
      "type": "string"
     },
     "content": {
      "type": "array",
      "items": {
       "type": "object",
       "properties": {
        "text": {
         "type": "string"
        },
        "type": {
         "type": "string"
        },
        "annotations": {
         "type": "array",
         "items": {}
        }
       }
      }
     }
    }
   }
  },
  "status": {
   "type": "string"
  },
  "created_at": {
   "type": "number"
  },
  "output_text": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-openai-responses-api-llama-ac261211/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
