# GEDX402 Kimi K2.7 Code LLM

> GEDX402 Kimi K2.7 Code LLM is a paid API for AI agents from llm.gedx402.com, paid per call via x402, $0.12/call, status unknown (last checked 2026-09-14).

Runs the Moonshot AI Kimi K2.7 code-specialized LLM via x402 pay-per-call with USDC, no API key required

## Facts

- Endpoint: GET https://llm.gedx402.com/v1/llm/kimi-k2.7-code
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-kimi-k2-7-code-llm-46b723cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_67fVYBJlS_Rf5dsU7zHPA

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 gedx402-kimi-k2-7-code-llm-46b723cc
```

Example prompt: Using the Kimi K2.7 code model, write me a Python function that parses a JWT token and extracts the payload claims — use up to 512 tokens for the reply.

## When to prefer this

Choose this endpoint when you need a code-specialized LLM (Kimi K2.7) with no API key or subscription setup, paying micro-amounts per call in USDC on Base, Polygon, Arbitrum, World, or Solana. Prefer it over OpenAI or Anthropic APIs when you want crypto-native, pay-as-you-go access to a strong coding model at $0.12/call.

## Known failure modes

- Insufficient USDC balance — payment fails and request is rejected with 402
- Invalid message role — messages array contains a role outside system/user/assistant enum
- max_tokens exceeds 4096 — request rejected with validation error
- Empty messages array — model returns an error or empty response
- Network timeout on Cloudflare Workers — transient 5xx error
- Unsupported payment chain — USDC sent on a chain not supported by the facilitator

## 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 conversation provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "messages": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "role",
     "content"
    ],
    "properties": {
     "role": {
      "enum": [
       "system",
       "user",
       "assistant"
      ],
      "type": "string",
      "description": "Speaker role for this turn."
     },
     "content": {
      "type": "string",
      "description": "Message text for this turn."
     }
    }
   },
   "description": "Conversation turns in order (system, user, assistant)."
  },
  "max_tokens": {
   "type": "integer",
   "maximum": 4096,
   "minimum": 1,
   "description": "Maximum tokens to generate in the assistant reply."
  }
 }
}
```

## 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/gedx402-kimi-k2-7-code-llm-46b723cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llm.gedx402.com](https://www.zero.xyz/host/llm.gedx402.com/llms.txt)
