Developers

APIreference

Drip's API is OpenAI-compatible. Point an OpenAI SDK at Drip's base URL, send a Drip API key, and each request is paid from your Drip credits.

Base URLhttps://usedrip.lat/v1
Auth
Authorization: Bearer drip_sk_…
Endpoints
/v1/chat/completions · /v1/models
Works with
OpenAI SDKs (Python, JavaScript), curl, any HTTP client

01

Quick start

Three steps to your first request. If your code already uses the OpenAI SDK, change only the base URL and the key.

  1. 01

    Get credits

    Buy credits with USDG or deposit USDG in the Drip app. Requests are paid from this balance.

  2. 02

    Create an API key

    Open the console and create a key. It is shown once, so store it right away, for example as DRIP_API_KEY.

  3. 03

    Send a request

    Use the base URL below with any OpenAI SDK, or plain HTTP.

Base URLhttps://usedrip.lat/v1
curl https://usedrip.lat/v1/chat/completions \
  -H "Authorization: Bearer $DRIP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-haiku-5.5",
    "messages": [{"role": "user", "content": "Say hello in five words."}]
  }'

anthropic/claude-haiku-5.5 is the model ID for Claude Haiku 5.5. Use any ID from Models; each model has its own price per token.

02

Authentication

Send your key as a bearer token in the Authorization header of every chat completion request. Listing models needs no key.

Header
Authorization: Bearer drip_sk_…
  • Keys start with drip_sk_, followed by 43 random characters.
  • Drip stores only a SHA-256 hash of the key and its last four characters. A lost key cannot be shown again; rotate it instead.
  • Each key belongs to one Drip account, and all its requests are paid from that account’s credits.
  • The API sends CORS headers, so a browser can call it. Still, keep keys on your server: anyone who can read a key can spend your credits.
Authentication errors
StatusCodeWhat happened
401missing_api_keyNo Authorization header was sent.
401invalid_api_keyThe key is malformed or does not exist.
401revoked_api_keyThe key was revoked or rotated. Use the new key or create one.

03

API keys

Create and manage keys in the console. Each key has its own settings, and changes apply from the key’s next request.

API key settings
SettingWhat it does
NameA label of 1 to 60 characters. It appears in the console, in request logs and in error messages.
Monthly limitThe most the key may spend per calendar month (UTC), from $0.01 to $10,000. Empty means no limit. At the limit, requests fail with 429 key_monthly_limit_reached until the month ends or you raise the limit.
Allowed modelsThe model IDs the key may call. Empty means any model Drip serves. Any other model fails with 403 model_not_allowed.
Rate limitRequests per minute, from 1 to 600. Default 60. See Rate limits.
Alert amountShows an alert in the console when the key's spend this month passes this amount. The key keeps working. Alerts are in-app only for now.
Parent keyMakes this a sub-key of a top-level key, for example one per agent. A sub-key copies its parent's allowed models and rate limit unless you set its own. Sub-keys cannot have sub-keys.

Actions

API key actions
ActionWhat happens
CreateReturns the full key once. An account can have up to 20 active keys, or up to 100 with DRIP.
RotateIssues a new key with the same name and settings, and revokes the old one at once. Its sub-keys and any linked agent wallet move to the new key. This month's spend starts again from zero, because spend is counted per key.
RevokeThe key stops working from its next request. Its sub-keys keep working.
  • Limits are per key. A sub-key’s spend does not count toward its parent’s monthly limit.
  • Spend is recorded a few seconds after each request, so requests already in flight when a key reaches its limit can take it slightly over.
  • The console also has an account-wide alert amount, request logs (time, key, model, status, latency, tokens and cost; never prompt or reply text), usage by key, model and day and a playground.

04

Models

21 models from 9 providers, each at its own price. Model IDs have the form provider/model. The models endpoint lists them and needs no key. GPT-6 Astra, Claude Opus 5.5 and Claude Fable 5.1 need at least 1,000,000 DRIP; their model objects have drip.holder_only set to true.

GET/v1/modelsno key needed
GET/v1/models/{id}404 model_not_found if unknown
# No API key needed
curl https://usedrip.lat/v1/models

# One model
curl https://usedrip.lat/v1/models/anthropic/claude-haiku-5.5

Each model object has OpenAI’s shape plus a drip field with prices, limits, capabilities and fallbacks.

GET /v1/models/anthropic/claude-haiku-5.5
{
  "id": "anthropic/claude-haiku-5.5",
  "object": "model",
  "created": 1760000000,
  "owned_by": "anthropic",
  "drip": {
    "name": "Claude Haiku 5.5",
    "provider": "Anthropic",
    "holder_only": false,
    "pricing": {
      "currency": "USD",
      "unit": "1M tokens",
      "input": 0.105,
      "output": 0.525,
      "includes_service_margin": 0.05,
      "placeholder": false,
      "long_prompt": { "above_tokens": 100000, "input": 0.525, "output": 2.625 }
    },
    "context_window": 64000,
    "max_output_tokens": 32000,
    "capabilities": ["text", "vision", "files", "tools", "json", "reasoning"],
    "good_for": "Fast, capable answers, writing, coding help, documents and images.",
    "fallbacks": []
  }
}

Current models

Prices are in USD per 1M tokens and already include Drip’s 5% service margin. All models are served through OpenRouter.

Models available through Drip
ProviderModel IDContextMax outputCapabilitiesInput / 1MOutput / 1M
OpenAIopenai/gpt-6.1-sol200K32Ktext, vision, files, tools, json, reasoning$2.10$10.50
OpenAIopenai/gpt-6-luna200K32Ktext, vision, files, tools, json, reasoning$0.105$0.525
OpenAIopenai/gpt-6-astra200K32Ktext, vision, files, tools, json, reasoning$10.50$52.50
Anthropicanthropic/claude-haiku-5.564K32Ktext, vision, files, tools, json, reasoning$0.105$0.525
Anthropicanthropic/claude-sonnet-5.5200K32Ktext, vision, files, tools, json, reasoning$2.10$10.50
Anthropicanthropic/claude-opus-5.5200K32Ktext, vision, files, tools, json, reasoning$4.20$21.00
Anthropicanthropic/claude-fable-5.1200K32Ktext, vision, files, tools, json, reasoning$10.50$52.50
Googlegoogle/gemini-4-argon200K32Ktext, vision, files, tools, json, reasoning$2.10$10.50
Googlegoogle/gemini-3.8-flash200K32Ktext, vision, files, tools, json, reasoning$0.866$4.33
Googlegoogle/gemini-3.5-flash-lite200K32Ktext, vision, files, tools, json, reasoning$0.315$2.63
xAIxai/grok-4.7128K32Ktext, vision, files, tools, json, reasoning$2.10$6.30
xAIxai/grok-4.3128K32Ktext, vision, files, tools, json, reasoning$1.31$2.63
DeepSeekdeepseek/deepseek-v4-pro200K32Ktext, tools, json, reasoning$0.942$1.88
DeepSeekdeepseek/deepseek-v4.1-flash200K32Ktext, vision, tools, json, reasoning$0.315$1.26
Metameta/llama-4-maverick200K16Ktext, vision, tools, json$0.197$0.685
Metameta/llama-4-scout200K16Ktext, vision, tools, json$0.105$0.315
Mistralmistral/mistral-large-4200K32Ktext, vision, tools, json, reasoning$1.43$4.39
Mistralmistral/mistral-small-4200K32Ktext, vision, tools, json, reasoning$0.158$0.63
Qwenqwen/qwen3.8-max200K32Ktext, vision, tools, json, reasoning$2.10$6.30
Qwenqwen/qwen3.8-flash200K32Ktext, vision, tools, json, reasoning$0.158$0.493
Moonshotmoonshot/kimi-k3200K32Ktext, vision, tools, json, reasoning$0.251$12.53
Capabilities
CapabilityMeaning
textReads and writes text.
visionAccepts images in messages.
filesAccepts file parts, such as PDFs.
toolsSupports tools and tool calls (function calling).
jsonSupports JSON mode through response_format.
reasoningA reasoning model, suited to multi-step problems.

05

Chat completions

One endpoint. Requests and responses follow the OpenAI Chat Completions format.

POST/v1/chat/completionsContent-Type: application/json

Request body

Request fields
FieldNotes
modelRequired. anthropic/claude-haiku-5.5, or another ID from /v1/models.
messagesRequired and non-empty. Each message has a role of system, developer, user, assistant or tool.
streamSet to true for server-sent events. See Streaming.
max_tokensOr max_completion_tokens. A positive integer; default 4,096. Drip lowers it to the model’s maximum output and to what your balance covers.
toolsWith tool_choice and parallel_tool_calls. Needs a model with the tools capability. On Claude models, a tool_choice of required or a named tool is asked for in the prompt rather than forced.
response_formatjson_schema asks for a reply that follows your schema. json_object asks the model for a single JSON object. Needs a model with the json capability.
reasoning_effortlow, medium or high: how much a reasoning model thinks before it answers. Default low on Claude models, Qwen3.8 Max and Kimi K3.
stopA string or up to four strings. The reply ends before any of them.
Sampling and moretemperature, top_p, seed, presence_penalty, frequency_penalty, logit_bias, logprobs and top_logprobs are passed to the model as they are, and each model uses the ones it supports. Claude models use their own default sampling and ignore them.
nOnly 1 is supported. Any other value fails with 400 unsupported_parameter.

Fields not in this table, including user, are dropped before the request reaches the model.

Response

The standard completion object. model is the model that actually answered. An extra drip field holds the request ID, the model you asked for, any fallback, what the request cost and, for DRIP holders, the discount given (holder_discount_micros).

200 OK · application/json
{
  "id": "chatcmpl-…",
  "object": "chat.completion",
  "created": 1761040000,
  "model": "anthropic/claude-haiku-5.5",
  "choices": [
    {
      "index": 0,
      "message": { "role": "assistant", "content": "Hello there, nice to meet you!" },
      "finish_reason": "stop"
    }
  ],
  "usage": { "prompt_tokens": 14, "completion_tokens": 8, "total_tokens": 22 },
  "drip": {
    "request_id": "req_3f9c…",
    "model": "anthropic/claude-haiku-5.5",
    "requested_model": "anthropic/claude-haiku-5.5",
    "fallback_from": null,
    "cost_micros": 6,
    "cost_usd": 0.000006
  }
}

Response headers

Response headers
HeaderMeaning
x-drip-request-idThe ID of this request.
x-drip-modelThe model that answered.
x-drip-fallback-fromOnly when a fallback answered: the model you asked for.
x-drip-discountOnly for DRIP holders: the discount applied to this request, such as 0.09 for 9%.
x-ratelimit-limit-requestsThe key's requests per minute.
x-ratelimit-remaining-requestsRequests left in the current minute.
x-ratelimit-reset-requestsTime until the minute resets, such as 12s.
raw = client.chat.completions.with_raw_response.create(
    model="anthropic/claude-haiku-5.5",
    messages=[{"role": "user", "content": "Say hello in five words."}],
)
print(raw.headers.get("x-drip-model"), raw.headers.get("x-ratelimit-remaining-requests"))

reply = raw.parse()
drip = getattr(reply, "drip", None)  # extra field: model, cost_usd, request_id
print(reply.choices[0].message.content, drip)

Fallbacks

Each model lists its fallback models (fallbacks in /v1/models), which can be empty. If the provider fails or times out, Drip tries the next fallback that your key may use, that accepts the same input and whose context window fits the request. You pay for the model that answered, and x-drip-fallback-from shows that a fallback was used. If no model answers, the request fails with 503 all_upstreams_failed and you are not charged for it.

If the provider rejects the request itself (a 4xx other than 408, 409, 425 or 429), Drip returns that error with code upstream_rejected and does not try a fallback.

06

Streaming

Set stream: true to receive server-sent events while the model writes. The SDKs read them for you.

stream = client.chat.completions.create(
    model="anthropic/claude-haiku-5.5",
    messages=[{"role": "user", "content": "Write a haiku about rain."}],
    stream=True,
)
for chunk in stream:
    if chunk.choices and chunk.choices[0].delta.content:
        print(chunk.choices[0].delta.content, end="", flush=True)
# The last chunk carries usage and a "drip" field with the model that answered and the cost.

After the last content chunk, Drip always sends one more chunk with empty choices, the token usage and the drip field, then data: [DONE]. You do not need stream_options to get usage.

End of a stream
data: {"id":"chatcmpl-…","object":"chat.completion.chunk","model":"anthropic/claude-haiku-5.5","choices":[{"index":0,"delta":{"content":" rain."}}]}

data: {"id":"chatcmpl-…","object":"chat.completion.chunk","model":"anthropic/claude-haiku-5.5","choices":[],"usage":{"prompt_tokens":15,"completion_tokens":19,"total_tokens":34},"drip":{"request_id":"req_…","model":"anthropic/claude-haiku-5.5","requested_model":"anthropic/claude-haiku-5.5","fallback_from":null,"cost_micros":12,"cost_usd":0.000012}}

data: [DONE]
  • If the model stops partway, the stream ends with an error event with code stream_interrupted. You pay only for the tokens received.
  • If you close the connection early, Drip stops the model and charges for the tokens generated until then.
  • Drip waits for the first chunk before it starts the stream, so a provider that fails before answering returns a normal error instead of a broken stream.

07

Tools, JSON and images

These work as in the OpenAI API. Pick a model whose capabilities include what you use.

Tool calls

Pass tools and read tool_calls from the reply. Run the tool yourself, then send its result back in a message with role tool.

tools = [{
    "type": "function",
    "function": {
        "name": "get_weather",
        "description": "Current weather for a city",
        "parameters": {
            "type": "object",
            "properties": {"city": {"type": "string"}},
            "required": ["city"],
        },
    },
}]

reply = client.chat.completions.create(
    model="anthropic/claude-haiku-5.5",
    messages=[{"role": "user", "content": "Is it raining in Lisbon?"}],
    tools=tools,
)
call = reply.choices[0].message.tool_calls[0]
print(call.function.name, call.function.arguments)

JSON mode

Set response_format to {"type": "json_object"} and ask for JSON in the prompt.

import json

reply = client.chat.completions.create(
    model="anthropic/claude-haiku-5.5",
    response_format={"type": "json_object"},
    messages=[
        {"role": "system", "content": "Reply with JSON only."},
        {"role": "user", "content": "List three fruits with their colours."},
    ],
)
data = json.loads(reply.choices[0].message.content)

Images and files

Send images as image_url content parts, as an https URL or a base64 data URL. Send PDFs and text files as file parts with a base64 file_data URL. Images need a model with vision and file parts a model with files in its capabilities; otherwise the request fails with 400 unsupported_input. For the up-front credit check, each image or file part counts as about 1,500 tokens. You are billed for the tokens the model reports.

reply = client.chat.completions.create(
    model="anthropic/claude-haiku-5.5",  # needs "vision" in its capabilities
    messages=[{
        "role": "user",
        "content": [
            {"type": "text", "text": "What is in this picture?"},
            {"type": "image_url", "image_url": {"url": "https://example.com/photo.jpg"}},
        ],
    }],
)

08

Billing and credits

Every request is paid from your account's credit balance. Credits are a dollar balance that can be spent only on AI through Drip.

Where credits come from

Credit sources
SourceHow it works
InterestDeposit USDG in a Drip vault. Harvested interest is added as credits, minus Drip's 10% performance fee.
Buy with USDGPay USDG in the app; 1 USDG adds $1 of credits once the transaction confirms. There is no purchase margin today.
Pay with DRIPPay DRIP in the app for credits worth what that DRIP would sell for on Pons after fees.
Agent wallet top-upAn agent pays USDG from its wallet, and 1 USDG adds $1 of credits. See Agent wallets.

What a request costs

Cost = prompt tokens × input price + completion tokens × output price, at the prices of the model that answered. Prices include the service margin (currently 5%; the proposed range is 3–8%). Costs are counted in millionths of a dollar and rounded up. DRIP holders pay less: up to 90% off, within a monthly cap that grows with their holding. The discount is already applied to cost_micros.

How charging works

  1. 01

    Hold

    Before calling the model, Drip holds the most the request could cost: the prompt plus max_tokens of output, at the model's prices.

  2. 02

    Fit to your balance

    If your balance is lower than that, Drip lowers max_tokens to what it covers. If it covers fewer than 16 output tokens, the request fails with 402 insufficient_credits.

  3. 03

    Settle

    After the reply, Drip charges the real cost from the token usage and releases the rest of the hold.

  • See each request’s cost in drip.cost_usd in the response, and totals by key, model and day in the console.
  • Unused credits never expire. They cannot be withdrawn as cash.
  • All keys of an account share one balance. Use monthly limits to cap each key.

09

Agent wallets

An agent wallet is a contract on Robinhood Chain that you own. It holds USDG for one AI agent, and the agent can use it to buy Drip credits on its own, within caps you set.

Set up

  1. 01

    Create the wallet

    In the app, enter the agent’s address (or generate one) and three caps: per payment, per day and per 30 days. Wallets made in the app can pay only Drip’s credit treasury.

  2. 02

    Fund it

    Approve and add USDG. Idle USDG sits in the Drip vault and keeps earning until the agent spends it.

  3. 03

    Give the agent an API key

    Create a key or sub-key for the agent. Link it to the wallet in the app to see the agent's spend in one place.

  4. 04

    Let the agent top up

    When it needs credits, the agent calls spend on its wallet, signed with its own private key. The agent's address needs a little ETH for gas.

Top up from code

Call spend(payee, amount, memo) with the credit treasury as payee. amount is in USDG base units (6 decimals). memo is any 32-byte label; Drip does not read it.

// npm install viem
import { createPublicClient, createWalletClient, defineChain, http, parseUnits, stringToHex } from "viem";
import { privateKeyToAccount } from "viem/accounts";

const chain = defineChain({
  id: 4663,
  name: "Robinhood Chain",
  nativeCurrency: { name: "Ether", symbol: "ETH", decimals: 18 },
  rpcUrls: { default: { http: ["https://rpc.mainnet.chain.robinhood.com"] } },
});

// Only the parts of the AgentWallet ABI the agent needs.
const agentWalletAbi = [
  { type: "function", name: "spend", stateMutability: "nonpayable", outputs: [],
    inputs: [{ name: "payee", type: "address" }, { name: "amount", type: "uint256" }, { name: "memo", type: "bytes32" }] },
  { type: "function", name: "remainingAllowance", stateMutability: "view", inputs: [],
    outputs: [{ name: "today", type: "uint256" }, { name: "thisMonth", type: "uint256" }] },
  { type: "function", name: "balance", stateMutability: "view", inputs: [], outputs: [{ name: "", type: "uint256" }] },
] as const;

const AGENT_WALLET = process.env.AGENT_WALLET as `0x${string}`;   // the wallet you created in the app
const CREDIT_TREASURY = "0x39d09d1cA7D1FbdFDfe835caA856D73bFA30916A";      // Drip's credit treasury
const agent = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY as `0x${string}`);

const publicClient = createPublicClient({ chain, transport: http() });
const walletClient = createWalletClient({ account: agent, chain, transport: http() });

const amount = parseUnits("5", 6); // 5 USDG (6 decimals) = $5 of credits

const [today, thisMonth] = await publicClient.readContract({
  address: AGENT_WALLET, abi: agentWalletAbi, functionName: "remainingAllowance",
});
if (amount > today || amount > thisMonth) throw new Error("Over the wallet's caps; ask the owner.");

const hash = await walletClient.writeContract({
  address: AGENT_WALLET,
  abi: agentWalletAbi,
  functionName: "spend",
  args: [CREDIT_TREASURY, amount, stringToHex("drip-credits", { size: 32 })],
});
await publicClient.waitForTransactionReceipt({ hash });
// Credits reach the owner's Drip account about a minute later.

About a minute after the transaction confirms, Drip adds the same amount in credits to the account of the wallet’s owner. The owner must have signed in to Drip with the owning wallet address; until then, top-ups wait.

Pattern

Call the API as usual. When a request fails with 402 insufficient_credits, call spend, wait about a minute, then retry.

Addresses

Agent wallet addresses
ItemValue
NetworkRobinhood Chain (chain ID 4663)
RPC URLhttps://rpc.mainnet.chain.robinhood.com
Credit treasury (payee)0x39d09d1cA7D1FbdFDfe835caA856D73bFA30916A
Agent wallet factory0xd0Ae411A0e011A5347eBF049b99eff39812F13aa
USDG0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168

Wallet functions

AgentWallet functions
FunctionWhoWhat it does
spend(payee, amount, memo)AgentPays an allowed payee, within the caps.
remainingAllowance()AnyoneWhat may still be spent today and in this 30-day period.
balance()AnyoneUSDG the wallet holds, in base units.
rules()AnyoneThe per-payment, daily and 30-day caps.
paused()AnyoneWhether spending is paused.
setRules, setPaused, setAgentOwnerChange the caps, pause the agent, or replace its address.
pullFunds, pullAllOwnerTake USDG back out of the wallet.
AgentWallet errors
RevertMeaning
OnlyAgentspend was not signed by the wallet's agent address.
AgentPausedThe owner paused the wallet.
OverPerPaymentCapThe amount is above the per-payment cap.
OverDailyCap, OverMonthlyCapThe payment would pass the daily or 30-day cap.
PayeeNotAllowedThe payee is not allowed for this wallet.

10

Errors

Errors use OpenAI’s format, so the SDKs raise them as usual. Check code to decide what to do; message explains the problem in plain words.

402 Payment Required
{
  "error": {
    "message": "Not enough credits for this request. Your available balance is $0.000012; this request needs at least $0.000041. Buy credits or deposit USDG in the Drip app.",
    "type": "insufficient_quota",
    "param": null,
    "code": "insufficient_credits"
  }
}
Error codes
StatusTypeCodeWhat to do
400invalid_request_errorinvalid_jsonSend a valid JSON body.
400invalid_request_errorinvalid_bodyThe body must be a JSON object.
400invalid_request_errormissing_modelAdd a model ID.
400invalid_request_errorinvalid_messagesSend a non-empty messages array with valid roles.
400invalid_request_errorinvalid_parametermax_tokens must be a positive integer.
400invalid_request_errorunsupported_parameterRemove n or set it to 1.
400invalid_request_errorunsupported_inputUse a model with vision or file input, and send files inline as file.file_data.
400invalid_request_errorcontext_length_exceededShorten the prompt or pick a model with a larger context window.
401authentication_errormissing_api_keySend Authorization: Bearer drip_sk_…
401authentication_errorinvalid_api_keyCheck the key. Create a new one if it is lost.
401authentication_errorrevoked_api_keySwitch to the rotated key or create a new one.
402insufficient_quotainsufficient_creditsAdd credits, then retry.
403permission_errordrip_holder_onlyHold at least 1,000,000 DRIP in the wallet linked to your Drip account, or pick another model.
403permission_errormodel_not_allowedUse an allowed model or change the key's models.
404not_found_errormodel_not_foundUse an ID from /v1/models.
404not_found_errorunknown_endpointOnly /v1/models and /v1/chat/completions exist.
405invalid_request_errormethod_not_allowedUse POST for chat completions.
413invalid_request_errorrequest_too_largeKeep the request body under 64 MB: send smaller or fewer files.
429rate_limit_errorrate_limit_exceededWait retry-after seconds, then retry.
429insufficient_quotakey_monthly_limit_reachedDo not retry. Raise the key's limit or wait for next month.
4xxupstream_errorupstream_rejectedThe model provider refused the request. Read the message and fix the request.
In streamupstream_errorstream_interruptedThe model stopped partway. Retry if you need the full reply.
500server_errorinternal_errorRetry. If it keeps happening, contact Drip.
502api_errorupstream_unavailableDrip's API did not answer. Retry shortly.
503upstream_errorall_upstreams_failedThe model and its fallbacks are down. Retry after retry-after.
503upstream_errorholder_check_failedDrip couldn't check your DRIP holding. Retry after retry-after or pick another model.
503upstream_errorupstream_not_configuredDrip cannot reach its model provider right now. Retry after retry-after.
503api_errorunavailableDrip's API is unavailable right now. Retry shortly.
import openai

try:
    reply = client.chat.completions.create(
        model="anthropic/claude-haiku-5.5",
        messages=[{"role": "user", "content": "Hello"}],
    )
except openai.APIStatusError as e:
    print(e.status_code, e.code, e.message)
    if e.code == "insufficient_credits":
        ...  # top up credits, then retry
    elif e.code == "key_monthly_limit_reached":
        ...  # stop: this key is done until next month or a higher limit
    elif e.code == "rate_limit_exceeded":
        ...  # wait retry-after seconds: e.response.headers["retry-after"]

SDK retries

The OpenAI SDKs retry 429 and 5xx responses twice by default. A key_monthly_limit_reached 429 does not clear by retrying, so check the code and stop.

11

Rate limits

Each API key has its own limit on requests per minute. Set it per key in the console.

Rate limit rules
RuleValue
Default60 requests per minute per key, up to 600 for DRIP holders
Range1 to 600 requests per minute, up to 3,000 for DRIP holders
WindowFixed one-minute windows that start on the clock minute
Counted onPOST /v1/chat/completions. Listing models is not limited.
Over the limit429 rate_limit_exceeded, with a retry-after header in seconds

Completion responses carry x-ratelimit-limit-requests, x-ratelimit-remaining-requests and x-ratelimit-reset-requests, so you can slow down before you reach the limit.

429 Too Many Requests
HTTP/1.1 429 Too Many Requests
retry-after: 12
x-ratelimit-limit-requests: 60
x-ratelimit-remaining-requests: 0
x-ratelimit-reset-requests: 12s

{"error":{"message":"Rate limit reached for API key 'research agent' (ending AbCd): 60 requests per minute. Try again in 12 s.","type":"rate_limit_error","param":null,"code":"rate_limit_exceeded"}}

Spending has a separate limit: the key’s monthly limit (see API keys). It returns 429 key_monthly_limit_reached and resets only at the start of the next month.

12

Contracts

Every contract and wallet Drip uses on Robinhood Chain, from the same config the app reads. Each address opens in the block explorer.

Drip contracts
ContractAddressWhat it does
USDG vault0x691F9370f9af99782B944a3202C6bDA0d004B993Holds deposits. Only harvested interest leaves.
Lending adapter0x6c4a905F28DC3fe8f0bE5769aB97cA72519C5313Connects the vault to Morpho (Steakhouse USDG vault).
Credit treasury0x39d09d1cA7D1FbdFDfe835caA856D73bFA30916AReceives harvested interest and agent wallet payments.
Credit purchase0xB6B346c4AEe16a8094fEfC0fB36577E8a32098FFBuys credits with USDG.
Agent wallet factory0xd0Ae411A0e011A5347eBF049b99eff39812F13aaCreates agent wallets.
Tokens
TokenAddressNotes
USDG0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168The dollar stablecoin Drip takes as deposits and payment.
DRIP0x6F5F83df51Ae02666843d154F5aee0d4A8C8091BDrip's token, on Pons. Holder perks read its balances.
Admin and team wallets
WalletAddressRole
Admin multisig (Safe)0x0f5eB07007c35c30DE67189a02F1184eF731bB68Proposes admin changes through the timelock. Receives Drip's fees and DRIP paid for credits.
Safe signer 10x32C46e0D53dd8ddF662AF066B60C76C82AEC63FaOne of the wallets that sign for the admin Safe.
Safe signer 20x61DDd97774DaccE96A5eD9dF8BC1AA2e5A936b43One of the wallets that sign for the admin Safe.
Safe signer 30xA053e5b63513F782348A16D15C6B8a70E9a7db45One of the wallets that sign for the admin Safe.
Timelock0xAA46685603d8ad932dc9DE8B6415F01489764269Holds the admin role of every contract. Each change waits out its delay.
Guardian0xD6c45aD5C7e9ca05be4aAe7Eadd6b079d969BEf6Can pause new deposits, never withdrawals.
Keeper0x37781cE9533C9292d1Fd20c99BDa7812ca1D28B9Runs harvests.
DRIP deployer (team wallet)0x5002A8f998C1A431DF3E2dDCC3D8997cBcf45325Launched DRIP and receives its creator fees. Burned all the DRIP it bought.
Lending market
ContractAddressWhat it does
Morpho vault0xBeEff033F34C046626B8D0A041844C5d1A5409ddSteakhouse USDG (Morpho): where deposits are lent.
Morpho Blue0x9D53d5E3bd5E8d4Cbfa6DB1ca238AEA02E651010Morpho's core lending contract.

Admin rights sit with the timelock, so every change waits 48 hours. See Security for what each role can and can’t do.

Next

Get your API key.

Create, rotate and revoke keys, set limits, and see usage by key, model and day in the console.