MOONSHOT AI
Kimi K2.6
Long context, vision, reasoning, and general coding.
- Multi-turn chat
- Vision and reasoning
- Streaming output
PUBLIC BETA · CLOUDFLARE EDGE
No sign-up or API key. Try Kimi, GLM, GPT-OSS, and Gemma with SSE streaming and two OpenAI-compatible APIs.
02 / MODEL SHELF
MOONSHOT AI
Long context, vision, reasoning, and general coding.
Z.AI
Chinese, complex reasoning, and agentic coding workflows.
MOONSHOT AI
Agentic coding with vision, structured output, and multi-turn tools.
OPENAI
An open-weight model for reasoning, agents, and developer workloads.
03 / CONNECT
Chat Completions supports common apps; Responses API supports Codex and agent tooling. Streaming responses use SSE only.
/api/v1/chat/completions/api/v1/responses/api/modelscurl https://api-ai.js.gripe/api/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "kimi-k2.6",
"messages": [{"role": "user", "content": "Hello"}],
"stream": false
}'

04 / ENDPOINT GUIDE
Lists aliases, context windows, output ceilings, and compression thresholds.
curl https://api-ai.js.gripe/api/modelsWorks with common OpenAI chat clients. Set stream: true for SSE.
curl https://api-ai.js.gripe/api/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"kimi-k2.6","messages":[{"role":"user","content":"Hello"}],"stream":true}'Works with Codex and Responses clients using a string or input-item array.
curl https://api-ai.js.gripe/api/v1/responses \
-H "Content-Type: application/json" \
-d '{"model":"gpt-oss-120b","input":"Hello","stream":true}'Reads the tool and skill manifests. Responses uses {"type":"web_search"}; Chat can set web_search: "auto".
curl https://api-ai.js.gripe/api/tools/web-search
curl https://api-ai.js.gripe/api/skills/web-searchApp setup: use https://api-ai.js.gripe/api/v1 as the Base URL; no API key is required. Use stream: false for JSON or stream: true for SSE. In auto, the selected model decides whether to search from its model-specific knowledge-cutoff system prompt; third-party requests that declare no tool default to off. Send a stable x-session-affinity for each conversation to maximize native Workers AI prefix-cache hits; x-kiln-prompt-cache reports affinity status. The API is stateless and never silently compresses caller context; use thresholds from /api/models if your client manages memory. See /openapi.json for the complete schema.
05 / HOW IT RUNS
Static pages ship quickly while chat state stays in the tab.
SSE, Chat, Responses, and model-decided search.js.gripe web search; WAF handles traffic policy.
Models run at the edge; credentials never reach the browser.
An efficient MoE open model for vision, reasoning, structured output, and tools.