CEKAKUN / DEVELOPER GUIDE

Your models.
One clean endpoint.

Connect your coding tools to our managed CodeCraft model pool using an application key. Your key is scoped, metered, and never exposes the provider credentials behind it.

OpenAI-compatible · streaming supported
01 / QUICKSTART

Connect in two values

Use the application key generated by the Cekakun dashboard. Do not use a cc_... provider key in your coding tool.

CLIENT CONFIG
Base URL: https://api.silien.web.id/api/proxy/v1
API key: app_your_key_here
Where do I get an app key?Dashboard → Account monitor → Issue a Cekakun user key. The key is displayed once.
02 / MODEL CATALOG

Choose a real CodeCraft model

The model catalog is passed through from CodeCraft. Ask the endpoint for the current list; model IDs can change as the provider catalog changes.

LIST MODELS
curl https://api.silien.web.id/api/proxy/v1/models \
  -H "Authorization: Bearer app_your_key_here"

The response contains the actual model ID, context window, capabilities, and pricing. Use the returned id in your completion request.

03 / CHAT COMPLETIONS

Send a coding request

CURL
curl https://api.silien.web.id/api/proxy/v1/chat/completions \
  -H "Authorization: Bearer app_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "model_id_from_models",
    "messages": [{"role":"user","content":"Explain this code"}],
    "stream": true
  }'

Streaming uses server-sent events and ends with data: [DONE]. Usage is recorded from the final chunk.

04 / LIMITS & USAGE

Clear limits, predictable usage

Per-user limitConfigured by the dashboard owner
Default RPM60 requests per minute
Usage meterprompt + completion tokens
Resetmonthly, based on the configured limit

Cekakun counts only traffic sent through this endpoint. Direct calls to CodeCraft are outside this usage ledger.

05 / ERRORS

When a request stops

401Invalid or missing Cekakun app key.
402Your Cekakun monthly token limit has been reached.
429Rate limit reached. Wait and retry.
5xxProvider or upstream service error.
Security noteNever publish your app_... key in source code or screenshots. Reissue it from the dashboard if it is exposed.