OpenCheap
si.opencheap/opencheap
Serveur MCP OK 73 outils
One API key for every AI model, routed to the cheapest provider. OpenAI-compatible.
Fiche technique
- Auteur
- opencheap.si (espace de noms du registre)
- Dépôt
- —
- Site
- opencheap.si
- Version
- 1.0.1
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://opencheap.si/api/v1/mcp Streamable HTTP
- Outils
- 73
- Catégories
- IA, agents et mémoire
- Dernière mise à jour
- 23 nov. 2026
- Publication
- 23 nov. 2026
Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/si.opencheap/opencheap)<a href="https://latlas.dev/mcp/si.opencheap/opencheap"><img src="https://latlas.dev/badge/fiche/si.opencheap/opencheap.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://opencheap.si/api/v1/mcp
- Dernier résultat
- OK 28 nov. 2026, 10:11
- Temps de réponse
- 325 ms (initialize + tools/list)
- Version du protocole
- 2025-11-25
- Nom annoncé
- opencheap 1.0.0
- Outils
- 73
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 10:11 | OK | 325 ms | 73 |
Outils exposés (73, réponse à tools/list, 28 nov. 2026)
get_account
Get the account
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.
Aucun paramètre.
update_account
Update the account
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | null | non | null clears it. |
| lowBalanceUsd | number | non | |
| defaultGateway | string | null | non | A chat gateway's name to make the account's default (every own model key without a gateway of its own runs through it), or null to clear it. A decisions gateway is refused: attach it to a key instead. |
get_balance
Get the balance
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_).
Aucun paramètre.
list_budgets
List budgets
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.
Aucun paramètre.
get_account_budget
Get the account budget
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.
Aucun paramètre.
set_account_budget
Set the account budget
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limits | object | oui | Limits in USD at our price, to the cent. At least one; null or left out is no limit. |
| alertPct | integer | non | Email once per limit and window when the spend crosses this share of a limit. 0 turns the alert off. |
| mode | enum: "hard_stop" | "alert_only" | non | hard_stop refuses requests with a 402 at a limit; alert_only never blocks (it needs alertPct above 0). |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
remove_account_budget
Remove the account budget
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.
Aucun paramètre.
list_customers
List customers
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | integer | non | Page size, 1 to 200. |
| cursor | string | non | The `nextCursor` of the previous page, unchanged. |
| externalRef | string | non | Exact match on your own id. |
| q | string | non | Case-insensitive substring of name, email or externalRef. |
| status | enum: "active" | "paused" | non |
create_customer
Create a customer
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | |
| string | null | non | ||
| externalRef | string | null | non | Your own id. Creating a customer with an externalRef that already exists returns that one (200) instead of a new one, so a signup webhook can be retried safely. |
| billingMode | enum: "prepaid" | "limit" | non | |
| initialCreditUsd | number | non | billingMode prepaid only: a payment to record as the opening balanceUsd. Not needed for its keys to work. 0, or from 0.00000001 to less than 1,000,000. |
| spendLimitUsd | number | null | non | billingMode limit only: monthly spending cap at our price. PATCH sets it for any customer. |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
get_customer
Get a customer
Get a customer One of your customers.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The customer id. |
update_customer
Update a customer
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The customer id. |
| name | string | non | |
| string | null | non | ||
| externalRef | string | null | non | Must be unique per account (409 conflict otherwise); null clears it. |
| status | enum: "active" | "paused" | non | |
| spendLimitUsd | number | null | non | Monthly spending cap at our price; null removes it. |
delete_customer
Delete a customer
Delete a customer Deletes the customer, its balance history and all its keys, which stop working at once. Cannot be undone.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The customer id. |
credit_customer
Record a customer payment
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The customer id. |
| amountUsd | number | oui | Non-zero (at least 0.00000001 either way) and less than 1,000,000 either way. Positive to record a payment; negative to correct. 400 when balanceUsd would leave the range -999,999.99999999 to 999,999.99999999. |
| note | string | null | non | Shown in the customer's ledger. Defaults to Credit or Debit. |
| idempotencyKey | string | oui | Required. A unique string for this change (e.g. the payment id): repeating it never applies the change twice. |
list_customer_keys
List a customer's keys
List a customer's keys The customer's model keys, newest first: working keys only unless includeRevoked=true. Secrets are never shown again.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The customer id. |
| includeRevoked | boolean | non | Also list revoked keys. |
create_customer_key
Create a key for a customer
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The customer id. |
| name | string | non | |
| allowedModels | array | null | non | Models the key may call; null or empty for every model. |
| monthlyLimitUsd | number | null | non | Monthly cap of this key at our price (what its calls cost you), calendar month; null for none. spendLimitUsd caps the whole customer. |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
revoke_customer_key
Revoke a customer's key
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The customer id. |
| keyId | string | oui | The key id. |
list_customer_ledger
List a customer's recorded payments
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).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The customer id. |
| limit | integer | non | Page size, 1 to 200. |
| cursor | string | non | The `nextCursor` of the previous page, unchanged. |
list_gateways
List gateways
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.
Aucun paramètre.
create_gateway
Create a gateway
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | Its id in this API and in the x-klinn-gateway header: 1 to 48 characters of a-z, 0-9 and -, starting and ending with a letter or digit. new, playground, rules and templates are reserved for the console's own pages: a new gateway or a rename cannot take them. |
| kind | enum: "chat" | "decision" | non | chat routes the requests your code sends; decision is a classifier: its default model is a decision model and its questions are saved here. |
| default_model | string | null | non | The model a request with model "default" (or none) gets; null for the request's own model. A decision gateway needs one, and it must be a decision model (kind decisions in GET /models). |
| strategy | object | non | How a request picks its model. |
| targets | array<object> | non | The models of a fallback or a split, in order: at least two for either, at most 10. Empty for single. |
| retry | object | null | non | Retries on every target; a target's own retry replaces it. null for none. |
| request_timeout_ms | integer | null | non | A deadline for the whole request, fallbacks and retries included, in milliseconds (1,000 to 600,000); null for none. |
| cache | object | null | non | The exact same request gets the kept answer, free, for max_age_s seconds; null for no cache. |
| rate_limit | object | null | non | Requests a minute per key through this gateway; null for no limit. |
| guardrails | object | null | non | Chat gateways: checks on every message of each request, whole, run by a decision model before the model is called (https://docs.opencheap.si/guardrails). null for none; a string (an old policy name) also reads as none. A decision gateway takes none: its /v1/systemone calls are not checked. |
| allow_models | array | null | non | Model ids, or patterns with *, the gateway lets through; any other model is 403 model_not_allowed. null for any model. |
| log_bodies | boolean | non | Logging prompts and answers is not available yet: leave it false. |
| community_supply | boolean | non | Whether community-supplied capacity (first-party vendor capacity other accounts list, under the same no-training terms) may serve requests under this gateway. Left out: on. A decision gateway never uses it: it may not be set true there. |
| max_price | object | non | The default limit order of chat requests under this gateway: they are billed at most this per 1M tokens, or refused with 422 no_offer_under_limit when nothing in the market is within it. It replaces the key's maxPrice; a request's own limit (its max_price field or the x-max-price header) comes firs… |
| min_discount | number | non | The default minimum discount of chat requests under this gateway: they are served only at least this many percent under the model's list price, or refused with 422 no_offer_under_limit when nothing in the market is. The strictest of it, the key's minDiscount and the request's own (the min_discount… |
| speed | object | non | The default speed of chat requests under this gateway: how they pick among routes ({sort, minThroughput, maxLatencySecs}; cheapest, balanced, fastest or a custom floor and ceiling, see /docs/speed). It comes before the key's speed, field by field: a floor or ceiling it leaves out falls to the key's… |
| io_ratio | number | non | The expected input:output token ratio of chat requests under this gateway, as input tokens per output token (15 for 15:1). Their routes are ranked at it instead of at max_tokens (see /docs/speed#io-ratio). It replaces the key's ioRatio; a request's own x-klinn-io-ratio header comes first. Ranking o… |
| data | object | non | Data handling. Left out: no constraint. |
| region | enum: "eu" | null | non | A region pin: eu keeps requests under this gateway off community-supplied capacity. Left out or null: none. |
| instructions | string | non | Decision gateways: a context line, what the text is. Left out when empty. |
| questions | object | non | Decision gateways: the questions by name (1 to 40 characters of a-z, 0-9 and _, starting with a letter), 1 to 128 of them. |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
get_gateway
Get a gateway
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | The gateway's name. |
update_gateway
Replace a gateway
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | The gateway's name. |
| body | object | oui | A gateway's config, as the console stores it and the router reads it (snake_case, unlike the rest of this API). Fields left out take their defaults; unknown fields are dropped. |
delete_gateway
Delete a gateway
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | The gateway's name. |
gateway_decisions
Get a decision gateway's answers
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | The gateway's name. |
| range | enum: "24h" | "7d" | non | The last 24 hours (per hour) or the last 7 days (per day). |
gateway_stats
Get gateway stats
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | The gateway's name. |
| range | enum: "24h" | "7d" | non | The last 24 hours (per hour) or the last 7 days (per day). |
list_instances
List instances
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| status | enum: "running" | "stopped" | non | Only running or only stopped ones. |
| limit | integer | non | Page size, 1 to 200. |
start_instance
Start an instance
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | enum: "glm-5.3" | "kimi-k3" | "kimi-k3.1-pro" | oui | |
| gpuClass | enum: "h200" | "b300" | non | The node class the machine is sized like: one the model is offered on (its machines in list_instance_types). Absent: the model's own class. |
| size | enum: 1 | 2 | 4 | 8 | non | Eighths of a node: 1 is 1/8 node, 2 a quarter, 4 a half, 8 a full node. |
| hours | number | null | non | How long it runs, in hours from now (0.25 is 15 minutes, 2 is two hours); it stops by itself then. Null or absent: it runs until you stop it or the balance runs out. Billing is per second either way. |
| instanceName | string | null | non | Your name for it, shown in the console's history and the API. |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
get_instance
Get an instance
Get an instance One instance, billed up to now when it runs.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The instance id. |
update_instance
Set an instance's timer
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The instance id. |
| hours | number | null | oui | Hours from now until it stops by itself; null: it runs until you stop it. |
stop_instance
Stop an instance
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The instance id. |
request_dedicated_hardware
Ask for dedicated hardware
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| gpuClass | enum: "h200" | "b300" | oui | |
| region | enum: "US" | "EU" | "Asia" | "Any" | oui | |
| model | string | oui | The model to run (any id, or a name). |
| hoursPerMonth | integer | oui | |
| note | string | null | non |
list_instance_types
List instance types
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.
Aucun paramètre.
list_keys
List model keys
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`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | integer | non | Page size, 1 to 200. |
| cursor | string | non | The `nextCursor` of the previous page, unchanged. |
| includeRevoked | boolean | non | Also list revoked keys. |
create_key
Create a model key
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), `speed` a default speed (how its requests pick among routes: cheapest, balanced, fastest or a custom floor and ceiling; see /docs/speed), and `ioRatio` its expected input:output ratio (15 or "15:1": routes are ranked at the prompt divided by it instead of at max_tokens; see /docs/speed#io-ratio). At most 500 model keys per account, and 1,000 new ones a day (revoked ones count): past either, 409 limit_reached.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | |
| allowedModels | array | null | non | Limit the key to these model ids; null or empty for all. |
| monthlyLimitUsd | number | null | non | Spend cap per calendar month; null or 0 for none. |
| maxPrice | object | null | non | The key's default limit order (see Key.maxPrice); null or left out for none. |
| minDiscount | number | null | non | The key's default minimum discount, 0 to 100 (see Key.minDiscount); null or left out for none. |
| speed | object | null | non | The key's default speed (see Key.speed); null or left out for none. |
| priceFallover | boolean | null | non | The key's price fall-over (see Key.priceFallover); null or left out for the default (on). |
| ioRatio | number | string | null | non | The key's expected input:output ratio (see Key.ioRatio), as a number of input tokens per output token or a string such as "15:1"; null or left out for none. |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
update_key
Set a model key's gateway, supply, price, speed or input:output ratio
Set a model key's gateway, supply, price, speed or input:output ratio 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). `priceFallover` sets whether its requests may go to a dearer source when none can serve them at the model's price (false keeps them at the model's price, null returns to the default, on; see /docs/errors#fallover). `ioRatio` sets or clears its expected input:output ratio (a number such as 15, or a string such as "15:1" or "1:4": routes are ranked at the prompt divided by i…
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The key id. |
| gateway | string | null | non | The name of the gateway the key's requests run through by default (one of GET /gateways), or null for none. |
| communitySupply | boolean | non | Whether community-supplied capacity may serve the key's requests; false keeps every request on our own routes. New requests follow within about a minute. |
| maxPrice | object | null | non | The key's default limit order: the most its requests are billed per 1M tokens, per leg; null clears it. A request's own limit and its gateway's come first. New requests follow within about a minute. |
| minDiscount | number | null | non | The key's default minimum discount, 0 to 100: its requests are served only at least this many percent under a model's list price; null clears it. A request's own and its gateway's can only make it stricter. New requests follow within about a minute. |
| speed | object | null | non | The key's default speed ({sort, minThroughput, maxLatencySecs}); null clears it. A request's own settings and its gateway's come first. New requests follow within about a minute. |
| priceFallover | boolean | null | non | Whether the key's requests may go to a dearer source when none can serve them at the model's price: false keeps them at the model's price, true allows it, null returns to the default (on). The request's own allow_price_fallover setting, and any price limit, come first. New requests follow within ab… |
| ioRatio | number | string | null | non | The key's expected input:output ratio, as a number of input tokens per output token (15) or a string such as "15:1" or "1:4"; null clears it. A request's own x-klinn-io-ratio header and its gateway's io_ratio come first. New requests follow within about a minute. |
revoke_key
Revoke a model key
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The key id. |
get_key_budget
Get a key's budget
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The key id: any working model key of the account, a customer's included (GET /budgets lists them). |
set_key_budget
Set a key's budget
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The key id: any working model key of the account, a customer's included (GET /budgets lists them). |
| limits | object | oui | Limits in USD at our price, to the cent. At least one; null or left out is no limit. |
| alertPct | integer | non | Email once per limit and window when the spend crosses this share of a limit. 0 turns the alert off. |
| mode | enum: "hard_stop" | "alert_only" | non | hard_stop refuses requests with a 402 at a limit; alert_only never blocks (it needs alertPct above 0). |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
remove_key_budget
Remove a key's budget
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The key id: any working model key of the account, a customer's included (GET /budgets lists them). |
list_ledger
List balance movements
List balance movements Every movement of the prepaid balance, newest first: top-ups, grants, usage charges (yours and your customers') and adjustments.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | integer | non | Page size, 1 to 200. |
| cursor | string | non | The `nextCursor` of the previous page, unchanged. |
list_management_keys
List agent keys
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`.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| includeRevoked | boolean | non | Also list revoked keys. |
list_models
List models and prices
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| q | string | non | Only models whose id or name contains this text, ignoring case (e.g. `claude`, `gpt-4o`). |
| limit | integer | non | Page size, 1 to 200. |
| cursor | string | non | The `nextCursor` of the previous page, unchanged. |
get_order_book
Read a model's order book
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| model | string | oui | The model id, e.g. deepseek-v4.1-flash (URL-encode a slash: org%2Fmodel). |
list_supply_credentials
List saved vendor keys
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.
Aucun paramètre.
create_supply_credential
Save your own server or a vendor API key
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| preset | enum: "openai" | "google" | "deepseek" | "zai" | "moonshot" | "custom" | oui | |
| key | string | non | The vendor API key (required for a vendor preset; optional bearer key for custom). Sealed at once to the serving box; never stored readable, logged or shown again. |
| baseUrl | string | non | custom only: the server's OpenAI-compatible base URL, https and a public host (port 443 or from 1024). Sealed with the key; the serving box checks every address it connects to. |
| label | string | null | non | |
| statement | string | non | The statementVersion of GET /sell/presets: records the seller's statement for this key (else it is asked at publish). |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
revoke_supply_credential
Remove a saved key
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The key id. |
discover_models
Discover a key's models
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The key id. |
| fresh | boolean | non | Read the model list again even if it was read in the last ten minutes. |
rotate_supply_credential
Rotate a saved key
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The key id. |
| key | string | non | The new key, of the same vendor (custom: the new bearer key, optional). |
| baseUrl | string | non | custom only: the server's base URL (the same or a new one). |
get_supply_earnings
Read selling earnings
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| range | enum: "7d" | "30d" | "90d" | non |
list_supply_earnings
List served requests
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| days | enum: 7 | 30 | 90 | non | |
| limit | integer | non |
get_supply_job
Read a selling job
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The job id. |
list_offers
List offers
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.
Aucun paramètre.
create_offers
Draft offers from a key's models
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credentialId | string | oui | |
| models | array<string> | oui | Models of the key's last discovery (our id or the vendor's). The selection replaces the key's drafts. |
| pricingMode | enum: "match" | "discount" | "per_model" | non | |
| discountPct | number | non | |
| maxDiscountPct | number | null | non | |
| selfPrices | object | non | Your own price for selected models, by model id: { p, c, cr? } in USD per 1M tokens, each above 0. Any model; required for a model with no reference anywhere. |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
get_offer
Read an offer
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The offer id. |
set_offer_pricing
Price an offer
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The offer id. |
| pricingMode | enum: "match" | "discount" | "per_model" | "self" | non | match follows the market (one tick under the best offer elsewhere, never past your floor); discount and per_model are fixed. |
| discountPct | number | non | |
| maxDiscountPct | number | null | non | |
| price | object | non | Your own price (pricingMode self), on any model: USD per 1M tokens, each leg above 0. |
discard_offer
Discard a draft offer
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The offer id. |
cancel_offer
Cancel an offer
Cancel an offer Ends the offer for good. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The offer id. |
get_offer_health
Read an offer's health log
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The offer id. |
| limit | integer | non |
pause_offer
Pause an offer
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The offer id. |
publish_offer
Publish an offer
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The offer id. |
| statement | string | non | The statementVersion of GET /sell/presets: accepts the seller's statement for the offer's key, if it is not on record yet. |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
reset_offer_health
Reset an offer's health
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The offer id. |
resume_offer
Resume an offer
Resume an offer Routes to a paused offer again. Sellers only: an account that has not accepted the selling terms gets 403 not_seller.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The offer id. |
test_offer
Test an offer
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | The offer id. |
| retest | boolean | non | Test again even when a test ran before (a listed offer's health). A draft that fails is deleted, so it is drafted again instead. |
bulk_offer_action
Pause, resume, cancel or reset several offers
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| action | enum: "pause" | "resume" | "cancel" | "reset-health" | oui | |
| offerIds | array<string> | oui |
get_payout_address
Read the payout address
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.
Aucun paramètre.
get_supply_payouts
Read payouts
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.
Aucun paramètre.
list_supply_presets
List what a key can be listed for
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.
Aucun paramètre.
get_seller
Read the account's seller status
Read the account's seller status Whether the account sells, its standing and limits. Not a seller yet: `seller: false`.
Aucun paramètre.
update_seller
Set the seller's daily cap and concurrency
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| dailyCapUsd | number | null | non | USD a UTC day, or null for no cap. |
| concurrency | integer | non |
create_topup_checkout
Create a card top-up link
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_).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| amountUsd | number | non | |
| idempotencyKey | string | non | Optional. A unique string so that repeating this call never creates twice. |
get_usage
Get usage
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| days | integer | non | Window in whole UTC days, today included: 1 to 90. |
list_wallets
List wallets and invites
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.
Aucun paramètre.
remove_wallet
Remove a wallet or cancel an invite
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.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| address | string | oui | The wallet's 0x… address (any case). |
get_whoami
Check who is signed in
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.
Aucun paramètre.
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://opencheap.si/api/v1/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http opencheap https://opencheap.si/api/v1/mcpCustomize > Connectors > + Add > Add custom connector ; Name : opencheap ; URL : https://opencheap.si/api/v1/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : opencheap ; Server URL : https://opencheap.si/api/v1/mcp ; Create as a plugin{
"mcpServers": {
"opencheap": {
"url": "https://opencheap.si/api/v1/mcp"
}
}
}{
"mcpServers": {
"opencheap": {
"type": "http",
"url": "https://opencheap.si/api/v1/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"opencheap": {
"url": "https://opencheap.si/api/v1/mcp"
}
}
}{
"mcpServers": {
"opencheap": {
"httpUrl": "https://opencheap.si/api/v1/mcp"
}
}
}[mcp_servers.opencheap]
url = "https://opencheap.si/api/v1/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
OpenCheap · L’Atlas · Test du
[OpenCheap — L’Atlas](https://latlas.dev/mcp/si.opencheap/opencheap)Source : Registre officiel MCP · relevé le 29 nov. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.