OpenCheap
Server Details
Call 860+ AI models (Claude, GPT, Gemini, DeepSeek) at up to 90% below list price, and manage keys, budgets and usage from your agent.
- Status
- Healthy
- Uptime
- 50.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 73 tools
Most tools have distinct resource+action scopes and the long descriptions carefully contrast related ones (e.g. get_supply_earnings vs list_supply_earnings vs get_usage vs list_ledger). However there is real overlap among the many read tools: get_account_budget vs list_budgets vs get_key_budget, get_usage vs list_ledger vs get_supply_earnings, and bulk_offer_action duplicates the per-offer pause/resume/cancel tools, so an agent can easily pick the wrong one.
Strong, predictable verb_noun snake_case pattern across the set (create_/get_/list_/update_/set_/revoke_/cancel_/publish_offer). Minor deviations: delete_customer/delete_gateway coexist with remove_wallet/remove_account_budget for destructive operations, and reset_offer_health vs test_offer use different verbs for similar health actions.
73 tools is far beyond a comfortable surface for one server, even a broad marketplace with accounts, keys, customers, gateways, budgets, offers, supply, instances and payouts. Many read variants (three budget readers, three earnings/usage/ledger readers) could be consolidated, and the sheer count increases selection error risk.
Coverage is remarkably broad: CRUD for customers, keys, gateways and budgets, a full seller lifecycle (credential, discover, draft, test, publish, price, pause, payout), instances, wallets and top-ups. Gaps: management keys can be listed but not created or revoked, and customer keys have no update/rename operation.
Available Tools
73 toolsbulk_offer_actionPause, resume, cancel or reset several offersADestructiveInspect
Pause, resume, cancel or reset several offers
The same action on up to 100 offers; each one's outcome, so one refusal does not stop the rest. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: action (required), offerIds (required).
cancel_offerCancel an offerADestructiveInspect
Cancel an offer
Ends the offer for good. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required).
create_customerCreate a customerAInspect
Create a customer
Creates a customer (201): a group of keys with its own monthly limit, balance record and usage. With an externalRef that already exists, returns that one with 200 instead, so a signup webhook can be retried safely. Its usage is debited directly from your balance at our price, so its keys work without any credit. With billingMode limit, or a spendLimitUsd sent alone, spendLimitUsd caps its monthly usage (PATCH sets it for any customer). initialCreditUsd only records a payment for your books. Amounts are at our price. At most 10,000 customers per account: past it, 409 limit_reached.
Inputs: name (required), email, billingMode, externalRef, +3 more.
create_customer_keyCreate a key for a customerADestructiveInspect
Create a key for a customer
Creates a model key for the customer. The secret is in this response only. Calls with it are billed to your balance at our price. At most 50 working keys per customer, and 5,000 new customer keys a day per account: past either, 409 limit_reached.
Inputs: id (required), name, allowedModels, idempotencyKey, +1 more.
create_gatewayCreate a gatewayAInspect
Create a gateway
Saves a new gateway from its config, validated and normalized; the stored config comes back. The name is its id here and in the x-klinn-gateway header: a-z, 0-9 and -, at most 48 characters, and not new, playground, rules or templates (the console's own pages); a name already in use is 409 conflict. A chat gateway needs only a name; a fallback or a split needs at least two targets. A decision gateway (kind decision) needs a default_model that is a decision model (kind decisions in the list_models tool) and 1 to 128 questions. At most 50 gateways an account. Keys are attached with the update_key tool. At most 50 gateways per account: past it, 409 limit_reached.
Inputs: name (required), data, kind, cache, +18 more.
create_keyCreate a model keyADestructiveInspect
Create a model key
Creates a model key for the account itself. The secret is returned once, in this response; a replay with the same Idempotency-Key returns the key with secret: null. Customer keys are created under /customers/{id}/keys. maxPrice gives it a default limit order (the most its requests are billed per 1M tokens), minDiscount a default minimum discount (its requests are served only at least that many percent under a model's list price), and speed a default speed (how its requests pick among routes: cheapest, balanced, fastest or a custom floor and ceiling; see /docs/speed). At most 500 model keys per account, and 1,000 new ones a day (revoked ones count): past either, 409 limit_reached.
Inputs: name (required), speed, ioRatio, maxPrice, +5 more.
create_offersDraft offers from a key's modelsAInspect
Draft offers from a key's models
Drafts one offer per model of the key's last discovery, priced to follow the market unless a fixed discount is given. The selection replaces the key's drafts. A draft goes live after its health test and identity checks pass (the test_offer tool) and it is published (the publish_offer tool). Sellers only: an account that has not accepted the selling terms gets 403 not_seller. Send selfPrices (model id to { p, c, cr? }, USD per 1M tokens, each above 0) to draft any model at your own price; a model with no reference price anywhere needs one. A Z.ai key that discovery found to be an open-platform one (the job's zaiKind is open) is refused while nothing is listed on it: 422 preset_coming_soon (GLM Coding Plan keys work now). At most 500 offers per account (drafts included, cancelled ones not), and 2,000 new ones a day: past either, 409 limit_reached.
Inputs: models (required), credentialId (required), selfPrices, discountPct, +3 more.
create_supply_credentialSave your own server or a vendor API keyAInspect
Save your own server or a vendor API key
Saves, for selling, your own OpenAI-compatible server's https base URL and optional key (preset custom), or a vendor API key (today a Z.ai GLM Coding Plan key: preset zai). A preset marked comingSoon in the list_supply_presets tool is refused (422 preset_coming_soon). It is sealed at once to the box that serves requests (the console itself cannot read it back), never logged and never shown again: the answer carries a hint only. OAuth and session tokens are refused (400 key_refused). One listing per key: the same key saved again answers 200 with the credential already saved (alreadyAdded: true, nothing new is saved), and a key another account lists is refused (409 key_taken). Then discover its models with the discover_models tool. Sellers only: an account that has not accepted the selling terms gets 403 not_seller. At most 20 seller keys per account, and 100 new ones a day: past either, 409 limit_reached.
Inputs: preset (required), key, label, baseUrl, +2 more.
create_topup_checkoutCreate a card top-up linkAInspect
Create a card top-up link
A card checkout link (Stripe Checkout) for a person to top up this account. Open the url in a browser; the balance is credited when the payment completes. Card top-ups start at $5, in whole dollars, with no maximum of ours: a smaller amount is raised to $5, and the reply returns the limits (maxUsd is Stripe Checkout's own ceiling for one payment, 999999). When a deposit fee applies, it is added on top of the credit (10 % of it plus $0.30 by card): the link charges payUsd plus any VAT or sales tax. The amount is fixed: Stripe's page shows the credit as one line, and the fee as its own line when there is one. Takes an agent session or a management key like every v1 operation (a model key gets 403 wrong_key_type), and every call is recorded in the activity log. With an Idempotency-Key, a retry returns the first link instead of making another. Also served at /v1/topup/checkout, which also accepts the account's model keys (kl_live_).
Inputs: amountUsd, idempotencyKey.
credit_customerRecord a customer paymentADestructiveInspect
Record a customer payment
Records on balanceUsd a payment (positive) or a correction (negative). For your books only: its calls never draw on it and are not blocked at zero, because its usage is debited directly from your balance. Your own balance is untouched. Idempotency-Key is required so a retry never records twice. Returns the customer.
Inputs: id (required), amountUsd (required), idempotencyKey (required), note.
delete_customerDelete a customerADestructiveIdempotentInspect
Delete a customer
Deletes the customer, its balance history and all its keys, which stop working at once. Cannot be undone.
Inputs: id (required).
delete_gatewayDelete a gatewayADestructiveIdempotentInspect
Delete a gateway
Deletes it. Keys that had it as their default go back to none, so their requests run as without a gateway; a request still naming it is refused by the Model API (400 gateway_not_found). Both follow within about a minute: the router keeps a key's gateway and the account's gateway list for about 60 seconds, so until then a request may still run through the deleted gateway. 204 with no body.
Inputs: name (required).
discard_offerDiscard a draft offerADestructiveIdempotentInspect
Discard a draft offer
Deletes a draft that never went live; a listed offer is cancelled instead (the cancel_offer tool). Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required).
discover_modelsDiscover a key's modelsAInspect
Discover a key's models
Reads the models the key can serve and checks that it is a paid or funded key, as a job: poll the get_supply_job tool every second until it is done (a few seconds: the model list only); its models are every model the key serves, each with its reference price and where it comes from (none anywhere: set your own price), and paid false means add funds and discover again. A Z.ai open-platform key (zaiKind open) lists its models as not listable for now: Z.ai open platform keys are coming soon. Each model's self-name check runs in its health test. A discovery running or done in the last ten minutes is reused unless fresh. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required), fresh.
gateway_decisionsGet a decision gateway's answersARead-onlyIdempotentInspect
Get a decision gateway's answers
How a decision gateway answered over the last 24 hours or 7 days: for each question of its config, how many requests answered it and, for a choice or a yes/no question, each answer's count, most frequent first (at most 12, the rest as other); for a score, the mean and the share at or above 0.5. requests counts the decisions calls through the gateway in the range. A chat gateway answers 400 invalid_request.
Inputs: name (required), range.
gateway_statsGet gateway statsARead-onlyIdempotentInspect
Get gateway stats
What the gateway did over the last 24 hours (per hour) or 7 days (per day), from the request log: requests (a refused one counts its repeats), p95 latency, the error rate, the cache hit rate and how many requests were blocked; then each routing rule's count over the range and per bucket: fell back, retried (and how many retries), answered from cache (savedUsd: what the hits would have cost at the model's average price), rate limited, refused as not allowed, timed out, and the split per model. The same numbers as the console's gateway page.
Inputs: name (required), range.
get_accountGet the accountBRead-onlyIdempotentInspect
Get the account
The account, its prepaid balance (your calls and your customers' calls are debited from it), what it spent this calendar month at our price, and its default gateway.
Inputs: no named parameters.
get_account_budgetGet the account budgetARead-onlyIdempotentInspect
Get the account budget
The account's budget: every key's spend together, its customers' keys included (their calls debit the account's balance), with each limit's spend this window. 404 not_found when the account has none. Windows are UTC: the day from midnight, the week from Monday, the month from the 1st, lifetime from when that limit was set.
Inputs: no named parameters.
get_balanceGet the balanceARead-onlyIdempotentInspect
Get the balance
The prepaid balance and how to top it up from code: over x402 with USDC (when switched on) or with a card link for a person (the create_topup_checkout tool). Takes an agent session or a management key like every v1 operation; a model key gets 403 wrong_key_type. Also served at /v1/balance, which also accepts the account's model keys (kl_live_).
Inputs: no named parameters.
get_customerGet a customerCRead-onlyIdempotentInspect
Get a customer
One of your customers.
Inputs: id (required).
get_gatewayGet a gatewayARead-onlyIdempotentInspect
Get a gateway
The gateway's stored config (what create and replace accept, normalized), the ids of the keys it is the default of, and when it was created and last changed.
Inputs: name (required).
get_instanceGet an instanceCRead-onlyIdempotentInspect
Get an instance
One instance, billed up to now when it runs.
Inputs: id (required).
get_key_budgetGet a key's budgetARead-onlyIdempotentInspect
Get a key's budget
One key's budget (any working model key of the account, a customer's included: the keys the list_budgets tool lists), each limit with its spend this window. Its monthly limit is the key's monthlyLimitUsd, so a key created with a monthly cap has a budget (hard_stop, no alert). 404 not_found for an unknown or revoked key, or a key without a budget. Windows are UTC: the day from midnight, the week from Monday, the month from the 1st, lifetime from when that limit was set.
Inputs: id (required).
get_offerRead an offerARead-onlyIdempotentInspect
Read an offer
One offer with its status, checks, health and market. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required).
get_offer_healthRead an offer's health logARead-onlyIdempotentInspect
Read an offer's health log
The offer's health events, newest first: the reason, time to first token (p95), answers and failures in the hour, and an error category. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required), limit.
get_order_bookRead a model's order bookARead-onlyIdempotentInspect
Read a model's order book
The model's order book as a seller sees it: the asks by price level, cheapest first (up to 20), what buyers pay and what a seller there earns (buyers pay divided by the fee), how many asks stand at each level, and which level is yours. Price against it: set your own price with the set_offer_pricing tool with { price } or follow the market. Refreshed every second; at most 10 reads a second (429 limit_reached). Never a name, a seller or a source. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: model (required).
get_payout_addressRead the payout addressARead-onlyIdempotentInspect
Read the payout address
Where payouts go: the address the seller saved (USDC on Base), when it last changed, and until when a payout to it waits (24 hours after a change), or null. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: no named parameters.
get_sellerRead the account's seller statusARead-onlyIdempotentInspect
Read the account's seller status
Whether the account sells, its standing and limits. Not a seller yet: seller: false.
Inputs: no named parameters.
get_supply_earningsRead selling earningsARead-onlyIdempotentInspect
Read selling earnings
Today, 7, 30 and 90 days and the month to date; earnings and requests per UTC day over the range; per offer what it earned, its share of the model's community-served requests, the average discount it gave, the gap to the best offer and whether it is outbid; the newest served requests. Every figure is at least an hour late. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: range.
get_supply_jobRead a selling jobARead-onlyIdempotentInspect
Read a selling job
A discovery, health test or identity check: its status and, once done, its result. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required).
get_supply_payoutsRead payoutsARead-onlyIdempotentInspect
Read payouts
Owed, available, requested and paid out, what is held and why, the payout address and the payout history (Requested, Sent with its transaction, Failed or returned). Payouts are sent manually in USDC on Base, usually within 72 hours: canRequest says whether one can be requested now and requestBlocked why not. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: no named parameters.
get_usageGet usageARead-onlyIdempotentInspect
Get usage
Requests, tokens and spend over the last days whole UTC days, today included (days=1 is today so far), in total and by day, model and key. Every breakdown counts the same hours, so the totals equal the sum of byDay, of byModel and of byKey. Spend is what the account was charged, at our price, its customers' keys included.
Inputs: days.
get_whoamiCheck who is signed inARead-onlyIdempotentInspect
Check who is signed in
The account and the credential behind this request: an agent session (owner or delegate, with its wallet and expiry) or a management key (a delegate), and the permissions it carries. A cheap call to check a credential.
Inputs: no named parameters.
list_budgetsList budgetsARead-onlyIdempotentInspect
List budgets
The account's budget (null without one) and each of the account's working model keys, its customers' keys included, with its budget (null without one), each limit with what was spent in its current window, at our price. Every key is listed, not paged; each one takes the set_key_budget tool. A key's monthly limit is the key's monthlyLimitUsd (the same cap create_key sets). Windows are UTC: the day from midnight, the week from Monday, the month from the 1st, lifetime from when that limit was set.
Inputs: no named parameters.
list_customer_keysList a customer's keysARead-onlyIdempotentInspect
List a customer's keys
The customer's model keys, newest first: working keys only unless includeRevoked=true. Secrets are never shown again.
Inputs: id (required), includeRevoked.
list_customer_ledgerList a customer's recorded paymentsARead-onlyIdempotentInspect
List a customer's recorded payments
Payments and corrections you recorded for this customer, newest first. Its usage is not here: it is debited from your balance (see /ledger and /usage).
Inputs: id (required), limit, cursor.
list_customersList customersARead-onlyIdempotentInspect
List customers
Your customers, newest first. Filter by your own id (externalRef, exact), a search over name, email and externalRef (q, case-insensitive), or status.
Inputs: q, limit, cursor, status, +1 more.
list_gatewaysList gatewaysARead-onlyIdempotentInspect
List gateways
Every gateway of the account, A to Z by name, with its kind, its default model and how many rules, questions and keys it has. A gateway is a named config a request runs through. A chat gateway (kind chat) routes the chat and messages calls your code sends: fallbacks between models, retries, a response cache, a rate limit, a time limit and the models allowed. A decision gateway (kind decision) is your own classifier: it keeps a decision model and the questions, so a call to the decisions endpoint sends only the text. Attach one to a key as its default (the update_key tool) or name it per request with the x-klinn-gateway header; the header wins, except on a key locked to its gateway. A key with a gateway of its own, or under an account default gateway with guardrails, is locked to it: a header naming another is a 403 gateway_locked.
Inputs: no named parameters.
list_instancesList instancesBRead-onlyIdempotentInspect
List instances
The account's instances, running ones first, then the newest. A running instance is billed up to now when read, so billedSeconds and billedUsd are current.
Inputs: limit, status.
list_instance_typesList instance typesARead-onlyIdempotentInspect
List instance types
What can be started: each model with its machines. A machine is sized like a share of one 8-GPU node of a class (gpuClass: the class the model is offered on; size in eighths of a node: 1, 2, 4 or 8) and has a spec (parallel streams, target output tokens a second per stream, context), the limits that follow from it, and our price per hour and per second (null while no price is known). Prices follow the market and are fixed for an instance once it starts. available is false while instances are not open yet.
Inputs: no named parameters.
list_keysList model keysARead-onlyIdempotentInspect
List model keys
The account's own model keys (kl_live_…), newest first. Customer keys are listed under /customers/{id}/keys and management keys under /management-keys. Revoked keys are left out unless includeRevoked=true.
Inputs: limit, cursor, includeRevoked.
list_ledgerList balance movementsARead-onlyIdempotentInspect
List balance movements
Every movement of the prepaid balance, newest first: top-ups, grants, usage charges (yours and your customers') and adjustments.
Inputs: limit, cursor.
list_management_keysList agent keysARead-onlyIdempotentInspect
List agent keys
The account's agent keys (kl_rs_…, management keys) for agents and backends, newest first, without their secrets. Active keys only unless includeRevoked=true.
Inputs: includeRevoked.
list_modelsList models and pricesARead-onlyIdempotentInspect
List models and prices
Models the Model API serves at a fixed price per token, with our price per million prompt and completion tokens, sorted by id and paged: 100 per page by default, up to 200. q narrows the list to models whose id or name contains it (case-insensitive). The list is large: search with q instead of reading every page. Public and cacheable for 60 seconds (Cache-Control: public, max-age=60). Call a chat model (kind "chat") at https://api.opencheap.si/v1/chat/completions with a model key, in OpenAI format. Call a decisions model (kind "decisions"), which answers typed questions about a text, at https://api.opencheap.si followed by its endpoint with a model key; it is billed on input tokens only.
Inputs: q, limit, cursor.
list_offersList offersARead-onlyIdempotentInspect
List offers
Every offer of the account: model, key, status, price, checks, health (the last liveness ping and identity probe), and the model's market as a seller sees it (anonymised levels, the best discount, the gap to it, outbid, whether your ask rests in the book and its rank). Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: no named parameters.
list_supply_credentialsList saved vendor keysARead-onlyIdempotentInspect
List saved vendor keys
The account's saved vendor API keys, newest first: the vendor prefix and last four only. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: no named parameters.
list_supply_earningsList served requestsBRead-onlyIdempotentInspect
List served requests
Each request your offers served, newest first: the time to the minute, the model, tokens, your rate and what you earned; at least an hour late, never a buyer or a request id. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: days, limit.
list_supply_presetsList what a key can be listed forARead-onlyIdempotentInspect
List what a key can be listed for
What a key can be listed for. Today: custom, your own OpenAI-compatible server (any model it serves), and zai with a GLM Coding Plan key. The other vendors (OpenAI, Google AI Studio, DeepSeek, Moonshot, and Z.ai open platform keys) are listed with comingSoon: true: a key for one is refused (422 preset_coming_soon). Each vendor carries a one-line terms check (make sure your vendor's terms allow it) and a link to that vendor's terms page. Each carries the short statement the seller accepts before a key goes live (the key is yours, you allow serving other customers' requests, your vendor account is your responsibility) and its version. OAuth and session tokens are never accepted.
Inputs: no named parameters.
list_walletsList wallets and invitesARead-onlyIdempotentInspect
List wallets and invites
Every wallet that signs in to this account with Sign-In with Ethereum (status: active), then the wallets invited to join it (status: invited). role is owner for the wallet that opened an agent's own account and delegate for every other wallet and invite.
Inputs: no named parameters.
pause_offerPause an offerADestructiveInspect
Pause an offer
Stops routing to the offer until it is resumed. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required).
publish_offerPublish an offerADestructiveInspect
Publish an offer
Lists a draft whose health test and identity checks passed: it goes live within about a minute and is checked continuously from then on. Its key needs the seller's statement on record: pass statement (the version from the list_supply_presets tool) to accept it. A draft not ready yet, or a key without the statement, is a 409. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required), statement, idempotencyKey.
remove_account_budgetRemove the account budgetADestructiveIdempotentInspect
Remove the account budget
Removes the account's budget: the keys' own budgets stay. 404 not_found when there is none. 204 with no body.
Inputs: no named parameters.
remove_key_budgetRemove a key's budgetADestructiveIdempotentInspect
Remove a key's budget
Removes one key's budget, its monthly limit (monthlyLimitUsd) included: the key is limited by the account's budget only, if there is one. 204 with no body, also when the key had none.
Inputs: id (required).
remove_walletRemove a wallet or cancel an inviteADestructiveIdempotentInspect
Remove a wallet or cancel an invite
Removes an active wallet or cancels an invite. The owner can remove any wallet except its own (409 own_wallet). A delegate wallet can remove only its own wallet: it leaves the account, and its session ends. Anyone else gets 403 owner_only. Removing an active wallet ends its sessions and revokes every key it created (createdBy: wallet:0x…): model keys for itself, management keys and keys it made for customers. revokedKeys says how many. Returns the remaining wallets and invites.
Inputs: address (required).
request_dedicated_hardwareAsk for dedicated hardwareAInspect
Ask for dedicated hardware
Tells OpenCheap the account would rent dedicated hardware: the GPU class, region, model and hours a month. Stored, and answered by email to the account's address. Starts nothing and bills nothing.
Inputs: model (required), region (required), gpuClass (required), hoursPerMonth (required), +1 more.
reset_offer_healthReset an offer's healthADestructiveInspect
Reset an offer's health
Runs a fresh health test on the key; the offer is routed again once it answers. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required).
resume_offerResume an offerADestructiveInspect
Resume an offer
Routes to a paused offer again. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required).
revoke_customer_keyRevoke a customer's keyADestructiveIdempotentInspect
Revoke a customer's key
Revokes the key; it stops working at once. 404 when the key is not this customer's or is already revoked.
Inputs: id (required), keyId (required).
revoke_keyRevoke a model keyADestructiveIdempotentInspect
Revoke a model key
Revokes one of the account's own model keys. It stops working at once. A key that is already revoked, belongs to a customer or does not exist answers 404.
Inputs: id (required).
revoke_supply_credentialRemove a saved keyADestructiveIdempotentInspect
Remove a saved key
Removes a saved key: every offer on it is cancelled and it stops serving within a minute (requests already running finish). Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required).
rotate_supply_credentialRotate a saved keyADestructiveInspect
Rotate a saved key
Replaces a saved key with a new key of the same vendor (an own server: a new address or key): sealed like the first, its offers move to it, the old one stops serving within a minute, and a health test runs on the new one. The same key again is a 400. Sellers only: an account that has not accepted the selling terms gets 403 not_seller. A key another account lists is 409 key_taken; one of this account's other keys is 409 key_already_added. At most 100 new seller keys a day per account, rotations included: past it, 409 limit_reached.
Inputs: id (required), key, baseUrl.
set_account_budgetSet the account budgetADestructiveIdempotentInspect
Set the account budget
Sets or replaces the account's budget: daily, weekly, monthly and lifetime limits at our price (at least one), the alert share and the mode. hard_stop refuses the key's requests with a 402 once a limit is reached (the request that crosses it can go a little over: the check runs before a request, its cost lands after, and the Model API keeps the key's state for about a minute); alert_only never blocks and sends one email per limit and window when the spend crosses alertPct. A limit left out or null is no limit. Requests follow within about a minute.
Inputs: limits (required), mode, alertPct, idempotencyKey.
set_key_budgetSet a key's budgetADestructiveIdempotentInspect
Set a key's budget
Sets or replaces one key's budget: daily, weekly, monthly and lifetime limits at our price (at least one), the alert share and the mode. limits.monthly becomes the key's monthlyLimitUsd. hard_stop refuses the key's requests with a 402 once a limit is reached (the request that crosses it can go a little over: the check runs before a request, its cost lands after, and the Model API keeps the key's state for about a minute); alert_only never blocks and sends one email per limit and window when the spend crosses alertPct. The account's budget, when there is one, applies too: the key stops at whichever limit it reaches first. Requests follow within about a minute.
Inputs: id (required), limits (required), mode, alertPct, +1 more.
set_offer_pricingPrice an offerADestructiveInspect
Price an offer
Follow the market (match: one tick under the best offer elsewhere, never past your floor) or set a fixed discount off the reference price, in percent with one decimal (0.1 to 99.9, e.g. 99.5), that follows the reference price when it moves; maxDiscountPct is your floor (the lowest price you accept). An offer is served when it is the cheapest healthy source for a request; an ask above our price rests in the book and fills when it is the best available (our routes within our price down, at capacity or over the buyer's limit), never above the model's list price + 5 %. Sellers only: an account that has not accepted the selling terms gets 403 not_seller. Or send price for your own price on any model (required for a model with no reference price anywhere): USD per 1M input, output and (optionally) cached input tokens, each above 0, at most one change a second; it is served only when it is the best price for the request, and a market-priced offer switches back with pricingMode; buyers see it as the price for the model, and it can change at any time.
Inputs: id (required), price, discountPct, pricingMode, +1 more.
start_instanceStart an instanceADestructiveInspect
Start an instance
Starts a machine for one model: gpuClass (default h200) and size (eighths of a node, default 1) pick its spec and price, fixed for as long as it runs. Billing is per second while it runs, one minute at least: the first minute is debited at once. From the next call on (within a few seconds), the account's calls to that model through any of its model keys cost nothing per token and are held to the machine's limits instead (429 with Retry-After past one). It runs until stopped (stop_instance), until its hours pass, or until the balance runs out. One running instance per model: a second start of the same model is a 409 conflict naming the running one. 402 insufficient_balance when the balance does not cover the first minute; 503 not_configured while no price is known for the model.
Inputs: model (required), size, hours, gpuClass, +2 more.
stop_instanceStop an instanceAInspect
Stop an instance
Stops it now and bills it to this second (one minute at least). From the next call on, calls to its model are billed per token again. Stopping a stopped instance answers it as it is.
Inputs: id (required).
test_offerTest an offerAInspect
Test an offer
The health test (one short streamed request on your key, about 16 tokens) and, for a draft, the identity checks (a few hundred tokens). Read the outcome with the get_offer tool. A draft that fails either check is deleted (contract v2.4): get_offer answers 404 and the job (get_supply_job) says why under removed; to try again, draft the model again with create_offers. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: id (required), retest.
update_accountUpdate the accountADestructiveInspect
Update the account
Changes the account name, the low-balance alert threshold and the default gateway. Fields left out are unchanged; name: null clears the name, defaultGateway: null the default gateway. The order a request runs under: its x-klinn-gateway header, else its key's gateway, else the account's default gateway. A default gateway with guardrails locks the keys under it: a header naming another gateway is 403 gateway_locked.
Inputs: name, lowBalanceUsd, defaultGateway.
update_customerUpdate a customerADestructiveInspect
Update a customer
Changes only the fields you send. Pause a customer to stop its keys; spendLimitUsd sets its monthly limit and null removes it.
Inputs: id (required), name, email, status, +2 more.
update_gatewayReplace a gatewayADestructiveIdempotentInspect
Replace a gateway
Replaces the whole config: send the config from the get_gateway tool with your changes. Fields left out take their defaults and the same checks apply as on create. A body without a name keeps this one; a different name renames the gateway (a name already in use is 409 conflict) and its keys follow. Keys stay attached either way. Requests follow the new config within about a minute: the router keeps a key's gateway and the account's gateway list for about 60 seconds, so until then a request may still run through the old config.
Inputs: body (required), name (required).
update_instanceSet an instance's timerADestructiveInspect
Set an instance's timer
Sets when a running instance stops by itself: hours from now (to extend it, or shorten it), or null to run until stopped. The price and limits stay as they are; billing stays per second. 409 conflict when it has already stopped.
Inputs: id (required), hours (required).
update_keySet a model key's default gateway, community-supply switch or max priceADestructiveInspect
Set a model key's default gateway, community-supply switch or max price
Changes one of the account's own model keys: gateway sets or clears the gateway it runs through by default (a gateway's name from the list_gateways tool, or null for none; requests on the key then go through it, and a request naming another with the x-klinn-gateway header is refused with 403 gateway_locked), communitySupply sets whether community-supplied capacity may serve its requests (false keeps every request on our own routes), and maxPrice sets or clears its default limit order ({input, output, cache} USD per 1M tokens; prompt, completion and input_cache_read are accepted too: a request nothing in the market is within is refused with 422 no_offer_under_limit and billed nothing). minDiscount sets or clears its default minimum discount (0 to 100: its requests are served only at least that many percent under a model's list price; the same 422 when nothing in the market is). speed sets or clears its default speed ({sort, minThroughput, maxLatencySecs}: a request's own settings and its gateway's come first; see /docs/speed). Each field changes only when given; give at least one. New requests follow within about a minute. A name no gateway of yours has is 400 invalid_request; a revoked key, a customer's key or an unknown id is 404. Returns the key.
Inputs: id (required), speed, gateway, ioRatio, +4 more.
update_sellerSet the seller's daily cap and concurrencyBDestructiveInspect
Set the seller's daily cap and concurrency
Your own daily earnings cap in USD (resets 00:00 UTC; null for none) and the requests at once per offer (1 to 32). Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
Inputs: concurrency, dailyCapUsd.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Servers
- AlicenseAqualityBmaintenanceRevenue intelligence for complex B2B growth. Your agent builds the assets technical founders sell with, and prepares them for real buyer conversations.34398 npm2MIT
- AlicenseCqualityCmaintenanceCompetitor Monitor AI - MCP server providing AI-powered tools and automation by MEOK AI Labs112 npmMIT
- AlicenseNot gradedqualityDmaintenanceSearches and analyzes competitor ads and content across Meta, Google, Instagram, TikTok, and YouTube with AI-powered creative analysis and cross-platform brand discovery.1MIT

industrylens-mcpofficial
AlicenseNot gradedqualityCmaintenanceBrowse IndustryLens's published competitive-intelligence reports and head-to-head competitor comparisons from any AI agent — real, source-backed data.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.