# CoreForge Inference

> CoreForge Inference is a paid API for AI agents from coreforge-memory.onrender.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-02).

OpenAI-compatible LLM chat completions relay running Qwen3-8B locally, with hard server-side token and daily rate caps

## Facts

- Endpoint: POST https://coreforge-memory.onrender.com/x402/inference/chat/completions?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coreforge-inference-581b12eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b6jxNiJiH6Wn_2OMTiSrI

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 coreforge-inference-581b12eb -d '<json body>'
```

Example prompt: Ask the CoreForge Inference endpoint to respond to this conversation: system prompt 'You are a helpful assistant', user message 'Explain quantum entanglement in two sentences', using up to 200 tokens at temperature 0.7.

## When to prefer this

Choose this endpoint when you need a low-cost, OpenAI-compatible chat completions call against a Qwen3-8B model and can tolerate hard token caps (512 max completion tokens) and potential daily rate limits. It is ideal for lightweight agent tasks, summarization, or Q&A that fit within short completions, and when you want pay-per-call pricing at $0.002 USDC via x402 rather than a subscription. Prefer a full-scale OpenAI or Anthropic endpoint if you need longer completions, higher reliability SLAs, or access to frontier models.

## Known failure modes

- Daily call cap exceeded — returns a rate-limit or quota error
- Server-enforced token cap truncates output unexpectedly if max_tokens set too high
- Payment not received or x402 handshake fails — request blocked
- Model unavailable or server cold-start on Render free tier — slow or timeout response
- Malformed messages array (missing role or content fields) — validation error
- Requested model name not available on server — falls back to default or errors

## How this service works

LLM inference relay — OpenAI-compatible chat completions with hard server-side token and daily caps

## Output

An OpenAI-compatible chat completion response object containing the assistant's generated message, finish reason, and token usage counts. The server enforces a hard cap of 512 tokens on completion length regardless of the requested max_tokens value, and may impose a daily call cap.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "type": "string",
   "description": "Model name (OpenAI-compatible). Optional — the server default is the local Qwen3-8B model."
  },
  "messages": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "description": "OpenAI-style chat messages: [{role: 'system'|'user'|'assistant', content: '...'}]"
  },
  "max_tokens": {
   "type": "integer",
   "description": "Requested completion cap — the server enforces its own hard cap (default 512) regardless"
  },
  "temperature": {
   "type": "number",
   "description": "Optional sampling temperature"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coreforge-inference-581b12eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coreforge-memory.onrender.com](https://www.zero.xyz/host/coreforge-memory.onrender.com/llms.txt)
