O
OpenAI
/chat
Chat completion
Generate text with a GPT model. Returns text plus token usage.
livestable · 1.8s~5s typical
llmgptchatgenerateopenai
$0.0040
per 1k tokens + $0.001 call
plus $0.001 platform fee per run
Billed on actual total tokens, rounded up to 1k
Bring your own OpenAI key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run openai /chat for me.
Input
| Field | Type | Description |
|---|---|---|
| prompt* | string | User prompt |
| system | string | Optional system prompt |
| model | string | Model id default "gpt-4.1-mini" |
| max_tokens | number | Max output tokens default 1024 |
| temperature | number | Sampling temperature default 0.7 |
| json | boolean | Ask for a JSON object response default false |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"openai","endpoint":"/chat","input":{"prompt":"...","model":"gpt-4.1-mini","max_tokens":1024,"temperature":0.7,"json":false}}'cli
npx cracked-ai run -p openai -e /chat -i '{"prompt":"...","model":"gpt-4.1-mini","max_tokens":1024,"temperature":0.7,"json":false}'mcp
run_tool({ provider: "openai", endpoint: "/chat", input: {"prompt":"...","model":"gpt-4.1-mini","max_tokens":1024,"temperature":0.7,"json":false} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.