# ProxyLLM Cost Scout

> ProxyLLM Cost Scout is a paid API for AI agents from api.proxyllm.ai, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Analyzes monthly OpenAI API spend and returns the optimal ChatGPT/Codex subscription tier via ProxyLLM gateway, including savings, new monthly total, live model catalog, and autonomous agent-executable signup steps.

## Facts

- Endpoint: POST https://api.proxyllm.ai/x402/llm-cost-scout
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/proxyllm-cost-scout-4538a3ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ay2vwJ91TECwuxTxNnTxk

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 proxyllm-cost-scout-4538a3ad -d '<json body>'
```

Example prompt: I'm spending about $420 a month on OpenAI API calls — can you check ProxyLLM's cost scout to see which subscription tier would cover that, how much I'd save, and walk me through the signup steps?

## When to prefer this

Use this endpoint when an agent or user wants to evaluate whether switching from pay-as-you-go OpenAI API billing to a ProxyLLM flat-rate gateway subscription saves money, and needs a specific tier recommendation, savings calculation, and autonomous signup path — especially when no browser interaction is possible.

## Known failure modes

- Missing or non-numeric monthly_openai_bill_usd returns a 400 validation error
- Negative or zero spend value may return an error or no matching plan
- Payment failure (x402 protocol) results in 402 response blocking the call
- Service unavailability returns 5xx with no cost or plan data

## How this service works

LLM cost scout: send your monthly OpenAI API spend in USD and get back the flat ChatGPT/Codex subscription tier that absorbs it through the ProxyLLM gateway, the exact new monthly total and savings, the live model catalog, and machine-readable signup steps an agent can complete autonomously (email OTP, no browser).

## Output

Returns the recommended subscription plan name, plan cost in USD, ProxyLLM flat fee ($129), equivalent API capacity per month in USD, calculated monthly savings, new monthly total, a live catalog of available models at the gateway, and machine-readable signup steps (email OTP-based, no browser required) that an agent can execute autonomously.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "monthly_openai_bill_usd"
 ],
 "properties": {
  "monthly_openai_bill_usd": {
   "type": "number",
   "description": "Current monthly OpenAI API spend in USD"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "plan": "string - subscription tier that absorbs the workload",
 "models": "array - live model catalog at the gateway",
 "signup": "object - autonomous agent signup steps and URLs",
 "plan_cost_usd": "number",
 "proxyllm_fee_usd": "number - flat SaaS fee (129)",
 "plan_capacity_usd": "number - API-equivalent capacity per month",
 "monthly_savings_usd": "number",
 "new_monthly_total_usd": "number"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/proxyllm-cost-scout-4538a3ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.proxyllm.ai](https://www.zero.xyz/host/api.proxyllm.ai/llms.txt)
