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.
- 01
Get credits
Buy credits with USDG or deposit USDG in the Drip app. Requests are paid from this balance.
- 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. - 03
Send a request
Use the base URL below with any OpenAI SDK, or plain HTTP.
https://usedrip.lat/v1curl 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.
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.
| Status | Code | What happened |
|---|---|---|
| 401 | missing_api_key | No Authorization header was sent. |
| 401 | invalid_api_key | The key is malformed or does not exist. |
| 401 | revoked_api_key | The 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.
| Setting | What it does |
|---|---|
| Name | A label of 1 to 60 characters. It appears in the console, in request logs and in error messages. |
| Monthly limit | The 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 models | The model IDs the key may call. Empty means any model Drip serves. Any other model fails with 403 model_not_allowed. |
| Rate limit | Requests per minute, from 1 to 600. Default 60. See Rate limits. |
| Alert amount | Shows 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 key | Makes 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
| Action | What happens |
|---|---|
| Create | Returns the full key once. An account can have up to 20 active keys, or up to 100 with DRIP. |
| Rotate | Issues 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. |
| Revoke | The 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.
/v1/modelsno key needed/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.5Each model object has OpenAI’s shape plus a drip field with prices, limits, capabilities and fallbacks.
{
"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.
| Provider | Model ID | Context | Max output | Capabilities | Input / 1M | Output / 1M |
|---|---|---|---|---|---|---|
| OpenAI | openai/gpt-6.1-sol | 200K | 32K | text, vision, files, tools, json, reasoning | $2.10 | $10.50 |
| OpenAI | openai/gpt-6-luna | 200K | 32K | text, vision, files, tools, json, reasoning | $0.105 | $0.525 |
| OpenAI | openai/gpt-6-astra | 200K | 32K | text, vision, files, tools, json, reasoning | $10.50 | $52.50 |
| Anthropic | anthropic/claude-haiku-5.5 | 64K | 32K | text, vision, files, tools, json, reasoning | $0.105 | $0.525 |
| Anthropic | anthropic/claude-sonnet-5.5 | 200K | 32K | text, vision, files, tools, json, reasoning | $2.10 | $10.50 |
| Anthropic | anthropic/claude-opus-5.5 | 200K | 32K | text, vision, files, tools, json, reasoning | $4.20 | $21.00 |
| Anthropic | anthropic/claude-fable-5.1 | 200K | 32K | text, vision, files, tools, json, reasoning | $10.50 | $52.50 |
google/gemini-4-argon | 200K | 32K | text, vision, files, tools, json, reasoning | $2.10 | $10.50 | |
google/gemini-3.8-flash | 200K | 32K | text, vision, files, tools, json, reasoning | $0.866 | $4.33 | |
google/gemini-3.5-flash-lite | 200K | 32K | text, vision, files, tools, json, reasoning | $0.315 | $2.63 | |
| xAI | xai/grok-4.7 | 128K | 32K | text, vision, files, tools, json, reasoning | $2.10 | $6.30 |
| xAI | xai/grok-4.3 | 128K | 32K | text, vision, files, tools, json, reasoning | $1.31 | $2.63 |
| DeepSeek | deepseek/deepseek-v4-pro | 200K | 32K | text, tools, json, reasoning | $0.942 | $1.88 |
| DeepSeek | deepseek/deepseek-v4.1-flash | 200K | 32K | text, vision, tools, json, reasoning | $0.315 | $1.26 |
| Meta | meta/llama-4-maverick | 200K | 16K | text, vision, tools, json | $0.197 | $0.685 |
| Meta | meta/llama-4-scout | 200K | 16K | text, vision, tools, json | $0.105 | $0.315 |
| Mistral | mistral/mistral-large-4 | 200K | 32K | text, vision, tools, json, reasoning | $1.43 | $4.39 |
| Mistral | mistral/mistral-small-4 | 200K | 32K | text, vision, tools, json, reasoning | $0.158 | $0.63 |
| Qwen | qwen/qwen3.8-max | 200K | 32K | text, vision, tools, json, reasoning | $2.10 | $6.30 |
| Qwen | qwen/qwen3.8-flash | 200K | 32K | text, vision, tools, json, reasoning | $0.158 | $0.493 |
| Moonshot | moonshot/kimi-k3 | 200K | 32K | text, vision, tools, json, reasoning | $0.251 | $12.53 |
| Capability | Meaning |
|---|---|
| text | Reads and writes text. |
| vision | Accepts images in messages. |
| files | Accepts file parts, such as PDFs. |
| tools | Supports tools and tool calls (function calling). |
| json | Supports JSON mode through response_format. |
| reasoning | A reasoning model, suited to multi-step problems. |
05
Chat completions
One endpoint. Requests and responses follow the OpenAI Chat Completions format.
/v1/chat/completionsContent-Type: application/jsonRequest body
| Field | Notes |
|---|---|
model | Required. anthropic/claude-haiku-5.5, or another ID from /v1/models. |
messages | Required and non-empty. Each message has a role of system, developer, user, assistant or tool. |
stream | Set to true for server-sent events. See Streaming. |
max_tokens | Or max_completion_tokens. A positive integer; default 4,096. Drip lowers it to the model’s maximum output and to what your balance covers. |
tools | With 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_format | json_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_effort | low, medium or high: how much a reasoning model thinks before it answers. Default low on Claude models, Qwen3.8 Max and Kimi K3. |
stop | A string or up to four strings. The reply ends before any of them. |
| Sampling and more | temperature, 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. |
n | Only 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).
{
"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
| Header | Meaning |
|---|---|
x-drip-request-id | The ID of this request. |
x-drip-model | The model that answered. |
x-drip-fallback-from | Only when a fallback answered: the model you asked for. |
x-drip-discount | Only for DRIP holders: the discount applied to this request, such as 0.09 for 9%. |
x-ratelimit-limit-requests | The key's requests per minute. |
x-ratelimit-remaining-requests | Requests left in the current minute. |
x-ratelimit-reset-requests | Time 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.
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
| Source | How it works |
|---|---|
| Interest | Deposit USDG in a Drip vault. Harvested interest is added as credits, minus Drip's 10% performance fee. |
| Buy with USDG | Pay USDG in the app; 1 USDG adds $1 of credits once the transaction confirms. There is no purchase margin today. |
| Pay with DRIP | Pay DRIP in the app for credits worth what that DRIP would sell for on Pons after fees. |
| Agent wallet top-up | An 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
- 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.
- 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.
- 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_usdin 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
- 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.
- 02
Fund it
Approve and add USDG. Idle USDG sits in the Drip vault and keeps earning until the agent spends it.
- 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.
- 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
402 insufficient_credits, call spend, wait about a minute, then retry.Addresses
| Item | Value |
|---|---|
| Network | Robinhood Chain (chain ID 4663) |
| RPC URL | https://rpc.mainnet.chain.robinhood.com |
| Credit treasury (payee) | 0x39d09d1cA7D1FbdFDfe835caA856D73bFA30916A |
| Agent wallet factory | 0xd0Ae411A0e011A5347eBF049b99eff39812F13aa |
| USDG | 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 |
Wallet functions
| Function | Who | What it does |
|---|---|---|
spend(payee, amount, memo) | Agent | Pays an allowed payee, within the caps. |
remainingAllowance() | Anyone | What may still be spent today and in this 30-day period. |
balance() | Anyone | USDG the wallet holds, in base units. |
rules() | Anyone | The per-payment, daily and 30-day caps. |
paused() | Anyone | Whether spending is paused. |
setRules, setPaused, setAgent | Owner | Change the caps, pause the agent, or replace its address. |
pullFunds, pullAll | Owner | Take USDG back out of the wallet. |
| Revert | Meaning |
|---|---|
OnlyAgent | spend was not signed by the wallet's agent address. |
AgentPaused | The owner paused the wallet. |
OverPerPaymentCap | The amount is above the per-payment cap. |
OverDailyCap, OverMonthlyCap | The payment would pass the daily or 30-day cap. |
PayeeNotAllowed | The 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.
{
"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"
}
}| Status | Type | Code | What to do |
|---|---|---|---|
| 400 | invalid_request_error | invalid_json | Send a valid JSON body. |
| 400 | invalid_request_error | invalid_body | The body must be a JSON object. |
| 400 | invalid_request_error | missing_model | Add a model ID. |
| 400 | invalid_request_error | invalid_messages | Send a non-empty messages array with valid roles. |
| 400 | invalid_request_error | invalid_parameter | max_tokens must be a positive integer. |
| 400 | invalid_request_error | unsupported_parameter | Remove n or set it to 1. |
| 400 | invalid_request_error | unsupported_input | Use a model with vision or file input, and send files inline as file.file_data. |
| 400 | invalid_request_error | context_length_exceeded | Shorten the prompt or pick a model with a larger context window. |
| 401 | authentication_error | missing_api_key | Send Authorization: Bearer drip_sk_… |
| 401 | authentication_error | invalid_api_key | Check the key. Create a new one if it is lost. |
| 401 | authentication_error | revoked_api_key | Switch to the rotated key or create a new one. |
| 402 | insufficient_quota | insufficient_credits | Add credits, then retry. |
| 403 | permission_error | drip_holder_only | Hold at least 1,000,000 DRIP in the wallet linked to your Drip account, or pick another model. |
| 403 | permission_error | model_not_allowed | Use an allowed model or change the key's models. |
| 404 | not_found_error | model_not_found | Use an ID from /v1/models. |
| 404 | not_found_error | unknown_endpoint | Only /v1/models and /v1/chat/completions exist. |
| 405 | invalid_request_error | method_not_allowed | Use POST for chat completions. |
| 413 | invalid_request_error | request_too_large | Keep the request body under 64 MB: send smaller or fewer files. |
| 429 | rate_limit_error | rate_limit_exceeded | Wait retry-after seconds, then retry. |
| 429 | insufficient_quota | key_monthly_limit_reached | Do not retry. Raise the key's limit or wait for next month. |
| 4xx | upstream_error | upstream_rejected | The model provider refused the request. Read the message and fix the request. |
| In stream | upstream_error | stream_interrupted | The model stopped partway. Retry if you need the full reply. |
| 500 | server_error | internal_error | Retry. If it keeps happening, contact Drip. |
| 502 | api_error | upstream_unavailable | Drip's API did not answer. Retry shortly. |
| 503 | upstream_error | all_upstreams_failed | The model and its fallbacks are down. Retry after retry-after. |
| 503 | upstream_error | holder_check_failed | Drip couldn't check your DRIP holding. Retry after retry-after or pick another model. |
| 503 | upstream_error | upstream_not_configured | Drip cannot reach its model provider right now. Retry after retry-after. |
| 503 | api_error | unavailable | Drip'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
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.
| Rule | Value |
|---|---|
| Default | 60 requests per minute per key, up to 600 for DRIP holders |
| Range | 1 to 600 requests per minute, up to 3,000 for DRIP holders |
| Window | Fixed one-minute windows that start on the clock minute |
| Counted on | POST /v1/chat/completions. Listing models is not limited. |
| Over the limit | 429 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.
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.
| Contract | Address | What it does |
|---|---|---|
| USDG vault | 0x691F9370f9af99782B944a3202C6bDA0d004B993 | Holds deposits. Only harvested interest leaves. |
| Lending adapter | 0x6c4a905F28DC3fe8f0bE5769aB97cA72519C5313 | Connects the vault to Morpho (Steakhouse USDG vault). |
| Credit treasury | 0x39d09d1cA7D1FbdFDfe835caA856D73bFA30916A | Receives harvested interest and agent wallet payments. |
| Credit purchase | 0xB6B346c4AEe16a8094fEfC0fB36577E8a32098FF | Buys credits with USDG. |
| Agent wallet factory | 0xd0Ae411A0e011A5347eBF049b99eff39812F13aa | Creates agent wallets. |
| Token | Address | Notes |
|---|---|---|
| USDG | 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 | The dollar stablecoin Drip takes as deposits and payment. |
| DRIP | 0x6F5F83df51Ae02666843d154F5aee0d4A8C8091B | Drip's token, on Pons. Holder perks read its balances. |
| Wallet | Address | Role |
|---|---|---|
| Admin multisig (Safe) | 0x0f5eB07007c35c30DE67189a02F1184eF731bB68 | Proposes admin changes through the timelock. Receives Drip's fees and DRIP paid for credits. |
| Safe signer 1 | 0x32C46e0D53dd8ddF662AF066B60C76C82AEC63Fa | One of the wallets that sign for the admin Safe. |
| Safe signer 2 | 0x61DDd97774DaccE96A5eD9dF8BC1AA2e5A936b43 | One of the wallets that sign for the admin Safe. |
| Safe signer 3 | 0xA053e5b63513F782348A16D15C6B8a70E9a7db45 | One of the wallets that sign for the admin Safe. |
| Timelock | 0xAA46685603d8ad932dc9DE8B6415F01489764269 | Holds the admin role of every contract. Each change waits out its delay. |
| Guardian | 0xD6c45aD5C7e9ca05be4aAe7Eadd6b079d969BEf6 | Can pause new deposits, never withdrawals. |
| Keeper | 0x37781cE9533C9292d1Fd20c99BDa7812ca1D28B9 | Runs harvests. |
| DRIP deployer (team wallet) | 0x5002A8f998C1A431DF3E2dDCC3D8997cBcf45325 | Launched DRIP and receives its creator fees. Burned all the DRIP it bought. |
| Contract | Address | What it does |
|---|---|---|
| Morpho vault | 0xBeEff033F34C046626B8D0A041844C5d1A5409dd | Steakhouse USDG (Morpho): where deposits are lent. |
| Morpho Blue | 0x9D53d5E3bd5E8d4Cbfa6DB1ca238AEA02E651010 | Morpho'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.
