KarpoPlatform
Resources
  • Docs
  • Help & feedback
Sign inSign up
KarpoPlatform

Integration docs

Call Karpo Decision from your own code, with curl or either SDK.

Address and authentication

Send requests to https://router.karpo.ai. Authenticate every call with your key in the Authorization header.

https://router.karpo.ai
Authorization: Bearer <API_KEY>
Create and manage keys

Models and prices

Model idNamePriceReleased
karpo-decision-31bKarpo Decision 31BTyped decisions (choice, yes/no, score) over text and images, read in one forward pass. #1 on the Decision Index (Full 73.9, 12 November 2026).$0.1 per million input tokens2026-11-05
karpo-decision-27b-actKarpo Decision 27B ActWeb actions for browser agents: at each step, one choice among the page's actions and seven endings, read from the numbered page list and a screenshot. The System 1 model of karpo-browser. Reads images only at state.viewport_screenshot (an image_url part) and in images; assets are refused. For general decisions, use karpo-decision-31b.$0.08 per million input tokens2026-11-20
karpo-decision-12bKarpo Decision 12BTyped choice, yes/no, and score questions over text and images. Images can be sent inline as assets, in the state screenshot, or in the images list.$0.025 per million input tokens2026-11-12
karpo-decision-9b

Output tokens are free.

Pointing each SDK at the platform

SDKAddress to set
TypeSafe SDKbaseURL: "https://router.karpo.ai" · base_url="https://router.karpo.ai"The SDK adds /v1/systemone and /v1/models itself.
OpenRouter SDKserverURL: "https://router.karpo.ai/v1" · server_url="https://router.karpo.ai/v1"systemOne.create goes to /v1/systemone.
OpenRouter SDK · alpha.decisions.create{ serverURL: "https://router.karpo.ai" } · server_url="https://router.karpo.ai"alpha.decisions.create takes its server per call, not from the client, and the SDK adds /api/alpha/decisions.

Examples

Each example asks the same question and prints the answers and the usage. They read the key from KARPO_API_KEY.

curl https://router.karpo.ai/v1/systemone \
  -H "Authorization: Bearer $KARPO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "karpo-decision-31b",
    "state": "Order 1182: the customer asks to return a blender bought 45 days ago. Policy: returns within 30 days.",
    "questions": {
      "eligible": {"type": "noul", "instructions": "Is the return eligible under the policy?"},
      "action": {"type": "choice", "instructions": "What should the agent do?",
                 "criteria": {"refund": "Issue a full refund", "decline": "Politely decline the return",
                              "escalate": "Escalate to a supervisor"}}
    }
  }'

Errors

Every error has the body {"error":{"code","type","message"}}. TypeSafe's SDKs retry 408, 429 and 5xx; OpenRouter's retry only 5xx, so a 429 reaches your code as TooManyRequestsResponseError. A retry waits as long as Retry-After says.

StatusTypeMeaning
401invalid_api_keyThe key is missing, malformed or unknown.
401api_key_revokedThe key was revoked.

Limits

  • A request body is at most 32 MiB, before and after decompression.
  • A body can be compressed with gzip or zstd (Content-Encoding).
  • Send images as assets with the TypeSafe SDK, or as image_url parts.
  • The box question type is not supported.
  • Each account may make 120 calls per minute, in bursts of up to 20.

On this page

  • Address and authentication
  • Models and prices
  • Pointing each SDK at the platform
  • Examples
  • Errors
  • Limits
Karpo Decision 9BTyped choice, yes/no, and score questions over text and images. Send images in state.viewport_screenshot or the top-level images list.
$0.02 per million input tokens
2026-11-12
karpo-decision-4bKarpo Decision 4BTyped choice, yes/no, and score questions over text and images. Send images in state.viewport_screenshot or the top-level images list.$0.015 per million input tokens2026-11-12
karpo-decision-2bKarpo Decision 2BTyped choice, yes/no, and score questions over text and images. Send images in state.viewport_screenshot or the top-level images list.$0.005 per million input tokens2026-11-12
karpo-decision-0.8bKarpo Decision 0.8BTyped choice, yes/no, and score questions over text and images. Send images in state.viewport_screenshot or the top-level images list.$0.002 per million input tokens2026-11-12
401
api_key_expired
The key has expired.
403account_disabledThe account is disabled.
403testers_onlyThe platform is in test mode, and the key's account is not one of its testers.
429rate_limitedToo many requests for the account. Wait for the seconds in Retry-After.
400invalid_bodyThe body is not a JSON object, a multipart request without its request part, or damaged compressed data.
402key_budget_exhaustedThe key reached its monthly budget. Raise the limit or wait for the next UTC month.
402admin_key_budget_exhaustedThe key reached its admin-set monthly cap. A team admin can raise it.
402member_budget_exhaustedThe member reached their monthly team budget across keys and Playground. A team admin can raise it.
400model_requiredThe request has no model.
400model_not_foundThe model is not in the catalog; the message lists the available ones.
402insufficient_creditsThe account balance is zero or negative. Top up to restore a positive balance.
400invalid_requestThe model could not read the request, an image or an asset; the message says why.
413too_largeThe body is over the size limit.
415unsupported_encodingThe Content-Encoding is not supported.
422unprocessableThe request breaks the format: a question is too long, or it uses the box type. The message says which.
429quota_exhaustedThe model has insufficient daily GPU quota for this call.
503busyThe model is at capacity. Retry after the seconds in Retry-After.
503model_unavailableThe model is starting or paused. Retry after the seconds in Retry-After.
502upstream_errorThe service behind the API failed. Retry later.
504upstream_timeoutThe model did not answer in time.
500internal_errorSomething went wrong on our side. Retry later.