# Citiview Agent Market – Chat Completions (Llama 3.1 8B)

> Citiview Agent Market – Chat Completions (Llama 3.1 8B) is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.003183/call, status unknown (last checked 2026-10-14).

OpenAI-compatible chat completions powered by Meta Llama 3.1 8B, callable via GET or POST with a prompt and optional system message, billed per request via x402.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/chat/completions?utm_source=zero.xyz
- Price: $0.003183/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-agent-market-chat-completions-llama-3-1-8b-8afdb192
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AJBlyonUmd1sB5WQSzbgM

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 citiview-agent-market-chat-completions-llama-3-1-8b-8afdb192
```

Example prompt: Ask the Llama 3.1 8B chat model 'What are three creative names for a coffee shop that focuses on sustainability?' using a system message that says 'You are a helpful branding expert', and cap the response at 300 tokens.

## When to prefer this

Choose this endpoint when you need a fast, OpenAI SDK-compatible chat completion without a monthly subscription, want per-request micropayment billing via x402 USDC, or are working with Meta Llama 3.1 8B specifically. Prefer it for lightweight, cost-controlled agentic workflows where paying per call is better than a flat-rate plan.

## Known failure modes

- Missing or empty prompt parameter returns a validation error
- Exceeding 2048 output tokens silently truncates or returns an error
- Payment failure via x402 results in a 402 Payment Required response
- Invalid model name passed to the model field returns a 404 or error response
- Malformed query parameters on GET requests cause a 400 Bad Request

## How this service works

Citiview Agent Market: 211 pay-per-call tools for AI agents. Cited answers, deep research, agent memory, file hosting, webhooks, schedules, sanctions and link safety checks, OpenAI-compatible LLMs on 11 models, web search, scraping, PDF, OCR, speech, Solana and EVM token risk, DeFi, prediction odds, SEC data. Pay per call in USDC with x402. No key, no signup.

## Output

Returns an OpenAI-compatible chat completion object containing the assistant's generated message text, finish reason, and token usage counts. Streaming is supported for incremental token delivery.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "User message"
      },
      "system": {
       "type": "string",
       "description": "Optional system message"
      },
      "max_tokens": {
       "type": "integer"
      },
      "temperature": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "chatcmpl-...",
  "model": "llama-3.1-8b-instruct",
  "usage": {
   "total_tokens": 18,
   "prompt_tokens": 14,
   "completion_tokens": 4
  },
  "object": "chat.completion",
  "choices": [
   {
    "index": 0,
    "message": {
     "role": "assistant",
     "content": "Bonjour !"
    },
    "finish_reason": "stop"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/citiview-agent-market-chat-completions-llama-3-1-8b-8afdb192/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.citiviewgroup.com](https://www.zero.xyz/host/agents.citiviewgroup.com/llms.txt)
