# Orbonomy LLM Code Generation

> Orbonomy LLM Code Generation is a paid API for AI agents from www.orbonomy.xyz, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Generates or processes code using an LLM given a text prompt and target programming language

## Facts

- Endpoint: POST https://www.orbonomy.xyz/api/llm/code
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orbonomy-llm-code-generation-6d681fca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-XNBNixIDy2EgtE3DUTE-

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 orbonomy-llm-code-generation-6d681fca -d '<json body>'
```

Example prompt: Can you write me a Python function that reads a CSV file and returns the sum of a given column? Use the Orbonomy LLM code endpoint with language set to Python.

## When to prefer this

Choose this endpoint when you need pay-per-call LLM-powered code generation without a subscription, especially in agent workflows that require generating code snippets in a specified programming language from a natural language prompt. Prefer it over subscription-based code generation APIs when cost efficiency per call matters.

## Known failure modes

- Missing required 'text' field returns validation error
- Missing required 'language' field returns validation error
- Unsupported language value may return an error or unexpected output
- Payment failure via x402 protocol results in 402 Payment Required
- LLM service unavailability returns 500 or service error
- Malformed JSON body returns 400 Bad Request

## How this service works

50+ pay-per-call API endpoints across accommodation, AI, content, fact-checking, and data services. Powered by x402 protocol.

## Output

Returns a JSON object with a success boolean and presumably the generated code output, indicating whether the LLM code generation request was fulfilled successfully.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text",
  "language"
 ],
 "properties": {
  "text": {
   "type": "string"
  },
  "language": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orbonomy-llm-code-generation-6d681fca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.orbonomy.xyz](https://www.zero.xyz/host/www.orbonomy.xyz/llms.txt)
