C
CCAPI
/chat_completion
Call a text model
Send a conversation to any text model available through CCAPI (Claude, GPT, Gemini, DeepSeek, GLM, MiniMax, Kimi, Qwen…) and get the reply. Useful for consultin
liveunknown~5s typical
mcpccapi
$0.0020
per call
plus $0.001 platform fee per run
Open MCP server; Cracked bills routing only
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run mcp-ai-ccapi-mcp /chat_completion for me.
Input
| Field | Type | Description |
|---|---|---|
| model* | string | Exact model name, e.g. claude-sonnet-5 or deepseek-v4-pro. Call list_models with category |
| messages* | string | Conversation so far, oldest first. Must contain at least one message. |
| max_tokens | string | Maximum tokens to generate. Omit for the model default. |
| temperature | string | Sampling temperature, typically 0-2. Omit for the model default. |
| top_p | string | Nucleus sampling probability mass, 0-1. Omit for the model default. |
| stop | string | Up to 4 sequences that stop generation. |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"mcp-ai-ccapi-mcp","endpoint":"/chat_completion","input":{"model":"...","messages":"..."}}'cli
npx cracked-ai run -p mcp-ai-ccapi-mcp -e /chat_completion -i '{"model":"...","messages":"..."}'mcp
run_tool({ provider: "mcp-ai-ccapi-mcp", endpoint: "/chat_completion", input: {"model":"...","messages":"..."} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.