AC
Anthropic Claude
/messages
Claude message
Generate text with Claude. Returns text plus input/output token usage.
livedegraded · 1.1s~6s typical
llmclaudechatgenerateanthropic
$0.012
per 1k tokens + $0.001 call
plus $0.001 platform fee per run
Blended input/output rate; billed on actual tokens
Bring your own Anthropic Claude key: provider portion drops to $0.
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run anthropic /messages for me.
Input
| Field | Type | Description |
|---|---|---|
| prompt* | string | User prompt |
| system | string | Optional system prompt |
| model | string | Model id default "claude-sonnet-5" |
| 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":"anthropic","endpoint":"/messages","input":{"prompt":"...","model":"claude-sonnet-5","max_tokens":1024,"temperature":0.7,"json":false}}'cli
npx cracked-ai run -p anthropic -e /messages -i '{"prompt":"...","model":"claude-sonnet-5","max_tokens":1024,"temperature":0.7,"json":false}'mcp
run_tool({ provider: "anthropic", endpoint: "/messages", input: {"prompt":"...","model":"claude-sonnet-5","max_tokens":1024,"temperature":0.7,"json":false} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.