# Kimi K2.7 Code LLM via x402 (USDC, No API Key)

> Kimi K2.7 Code LLM via x402 (USDC, No API Key) is a paid API for AI agents from ged-x402-llm.jvalamis.workers.dev, paid per call via x402, $0.12/call, status unknown (last checked 2026-09-13).

Calls the Moonshot AI Kimi K2.7 code-focused LLM on Cloudflare Workers AI, billed per-call in USDC via x402 with no API key required

## Facts

- Endpoint: GET https://ged-x402-llm.jvalamis.workers.dev/v1/llm/kimi-k2.7-code
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kimi-k2-7-code-llm-via-x402-usdc-no-api-key-de4a9cb2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-RMzpmijzJ7s4wbqWZ3ht

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 kimi-k2-7-code-llm-via-x402-usdc-no-api-key-de4a9cb2
```

Example prompt: Use the Kimi K2.7 code model to write a Python function that parses a CSV file and returns a list of dictionaries — send it as a single user message and limit the reply to 512 tokens, paying per call in USDC with no API key.

## When to prefer this

Choose this endpoint when you need a code-specialized LLM (Kimi K2.7) without setting up API keys or subscriptions, and you can pay per call in USDC on Base, Polygon, Arbitrum, World, or Solana via x402. Ideal for agents that need on-demand, pay-as-you-go code generation or chat without account management overhead.

## Known failure modes

- Payment not received or insufficient USDC — 402 Payment Required returned
- Invalid message role (not system/user/assistant) — schema validation error
- max_tokens out of range (must be 1–4096) — request rejected
- Empty or malformed messages array — error response
- Network timeout on Cloudflare Workers edge — transient failure
- Unsupported payment network provided — payment fails

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

A JSON object containing the model identifier (@cf/moonshotai/kimi-k2.7-code) and the assistant's generated text response to the provided conversation turns.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "messages": {
   "type": "array",
   "items": {
    "type": "object"
   }
  },
  "max_tokens": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "@cf/moonshotai/kimi-k2.7-code",
  "response": "Hello!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kimi-k2-7-code-llm-via-x402-usdc-no-api-key-de4a9cb2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ged-x402-llm.jvalamis.workers.dev](https://www.zero.xyz/host/ged-x402-llm.jvalamis.workers.dev/llms.txt)
