PeumeAPI

Finance & crypto

Ask Claude

Prompt Claude for a cited answer. Costs a per-call fee plus the model's token cost.

$0.0009 per call

Call it

curl https://api.peume.com/v1/call/ask-claude \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "user_prompt": "your user prompt",
    "model_name": "your model name"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: ask-claude.

Parameters

user_promptRequiredstring

The question or instruction sent to the model.

model_nameRequiredstring

Model name from /ai/claude-models, e.g. 'claude-sonnet-4-5'; a bare family name picks its latest version.

max_output_tokensinteger

Maximum answer tokens (1-1024, default 1024); caps the LLM token cost.

temperaturenumber

Randomness of the AI response (default 0; max 1)

top_pnumber

Diversity of the AI response (default null; max 1)

web_searchboolean

Enable web search for current information (default false)

force_web_searchboolean

Force AI agent to use web search (default false)

web_search_country_iso_codestring

ISO country code of the location used for searching the web (values: AR, AT, AU, BE, BR, CA, CH, CL, CN, DE, DK, ES, FI, FR, GB, HK, ID, IN, IT, JP, KR, MX, MY, NL, NO, NZ, PH, PL, PT, RU, SA, SE, TR, TW, US, ZA)

web_search_citystring

City name of the location used for searching the web

system_messagestring

Instructions for the AI behaviour

message_chainarray

Message chain

use_reasoningboolean

Enable reasoning for the AI model (default false)

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.