# Orbonomy LLM Code Generation

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

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

## Facts

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

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-a25fcedc -d '<json body>'
```

Example prompt: Can you write me a Python function that reads a CSV file and returns the top 5 rows sorted by a given column? Use Orbonomy's LLM code endpoint with text set to that description and 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 when operating in a crypto-native or x402 payment context and need code produced in a specific programming language from a natural language description.

## Known failure modes

- Missing required 'text' field returns validation error
- Missing required 'language' field returns validation error
- Unsupported or unrecognized programming language may return empty or error result
- Payment failure via x402 protocol returns 402 status
- Ambiguous or malformed text prompt may produce incorrect or incomplete code
- Service unavailability returns 5xx error

## 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 for the specified programming language based on the input text prompt.

## 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-a25fcedc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from orbonomy.xyz](https://www.zero.xyz/host/orbonomy.xyz/llms.txt)
