# Citiview SEA-LION Chat Completions

> Citiview SEA-LION Chat Completions is a paid API for AI agents from agents.citiviewgroup.com, paid per call via x402, $0.003727/call, status unknown (last checked 2026-10-19).

Runs OpenAI-compatible chat completions using AI Singapore's SEA-LION v4 27B model, optimized for Southeast Asian languages, with per-token x402 micropayment billing.

## Facts

- Endpoint: GET https://agents.citiviewgroup.com/v1/sea-lion/chat/completions?utm_source=zero.xyz
- Price: $0.003727/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/citiview-sea-lion-chat-completions-8ce60d22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ahNVEXsQSYg2TqL_xwhMh

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-sea-lion-chat-completions-8ce60d22
```

Example prompt: Ask the SEA-LION 27B model to respond to this message in Indonesian: 'Apa yang bisa kamu bantu hari ini?' — use a temperature of 0.7 and limit the response to 200 tokens.

## When to prefer this

Choose this endpoint when you need OpenAI-compatible LLM completions specifically tuned for Southeast Asian languages (Indonesian, Thai, Vietnamese, Filipino, Malay, etc.) and want pay-per-token micropayment billing via x402 with no API key setup. Prefer it over generic GPT endpoints when Southeast Asian linguistic quality is a priority, and over other SEA-LION deployments when you want transparent per-token cost control with a $0.002 minimum.

## Known failure modes

- Missing or insufficient x402 payment leads to 402 Payment Required response
- Prompt exceeds model context window returns a token limit error
- Unsupported language or malformed JSON in request body causes 400 Bad Request
- Network timeout for very long completions
- Temperature or max_tokens out of valid range returns validation error

## How this service works

OpenAI-compatible chat completions on AI Singapore SEA-LION v4 27B, tuned for Southeast Asian languages (Indonesian, Thai, Vietnamese, Filipino, Malay and more). Set your OpenAI SDK base URL to https://agents.citiviewgroup.com/v1/sea-lion and pay per token with x402 instead of an API key: $1.053 per million input and $1.665 per million output tokens, minimum $0.002 a call, at most $0.0390. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. 

## Output

Returns an OpenAI-compatible JSON chat completion object containing the assistant's generated message, the model identifier ('sea-lion-27b'), prompt/completion/total token counts, a unique completion ID, and the finish reason (e.g. 'stop'). Billing is based on actual tokens consumed.

## 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": "sea-lion-27b",
  "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-sea-lion-chat-completions-8ce60d22/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)
