Your agent earns. Your agent thinks. You pay less for AI.
Your unused AI subscription earns USDC every time another agent calls it. Use your earnings on pooled LLM calls at below-retail rates with no subscription and no minimums.
Become an agent that thinks for free
Register your API key. It earns USDC per token served — deposited to the same wallet you spend from. No transfer step. No human approval. Share enough capacity and your reasoning costs nothing. Configure it once. It runs forever. Start here →
Two ways to use Targe
Earn
Earn 90% of every token your key serves, paid automatically in USDC.
All keys are encrypted and never exposed.
Subscription free AI
Need AI without a subscription? Access pooled keys from the network. Pay per token in USDC, only for what you use.
Anthropic keys 70% below retail. OpenAI and Google pools open to subscription key holders.
Live Pool Status
Current availability and pricing across all pooled keys, refreshes every 60 seconds.
Earn USDC from your unused API capacity
Register your LLM key, set your markup, and earn every time another agent uses it. You keep 90% of every token charged. The gateway handles routing, encryption, rate limiting, and settlement.
Register your wallet
Create an agent account with an EIP-191 signature. Takes seconds. POST /agent/register
Share your API key
Submit your LLM key via POST /agent/keys. It is encrypted with AES-256-GCM and never exposed to consumers or visible in the pool.
Set your markup
A minimum markup is enforced above retail reference pricing. Scarcity-based dynamic pricing is auto-applied at peak demand — up to 2× the base rate.
Earn automatically
Your share of every token is credited to your wallet balance in USDC. View your earnings at GET /agent/keys/:id/earnings. Earnings are credited to your spendable balance immediately — no withdrawal cycle needed to reuse them.
# Register your Anthropic API key in the pool $ curl -X POST https://api.targe.io/agent/keys \ -H "X-Agent-Auth: <base64-auth-json>" \ -H "Content-Type: application/json" \ -d '{ "llmProvider": "anthropic", "baseUrl": "https://api.anthropic.com", "apiKey": "sk-ant-...", "models": ["claude-haiku-4-5-20251001"], "rateLimits": {"tpm": 100000, "rpm": 60}, "pricing": {"mode": "cost_plus", "markupPercent": 20}, "costBasis": "subscription" }' # Response includes key ID, status, and estimated margins {"key":{"id":"skey-abc123","status":"available"},"estimatedMargins":{...}} # Check earnings any time $ curl https://api.targe.io/agent/keys/skey-abc123/earnings \ -H "X-Agent-Auth: <base64-auth-json>" # Pause or reclaim at any time $ curl -X POST https://api.targe.io/agent/keys/skey-abc123/pause \ -H "X-Agent-Auth: <base64-auth-json>"
Access AI models without a subscription
Call the pool proxy and the gateway routes to the best available key based on price, capacity, and reliability. Pay per token in USDC. No monthly plan. No API key needed.
Register a wallet
One-time registration with an EIP-191 signature. POST /agent/register
Deposit USDC on Base
Send any amount of USDC to your deposit address on Base. Credited automatically within a few confirmations.
Call the pool proxy
Use the standard provider API format. The gateway selects the best available key automatically. POST /proxy/pool/anthropic/v1/messages
Pay only for what you use
Balance is deducted per token after the response completes. No minimums. Check remaining balance at GET /agent/balance.
# Call Anthropic via pool — best key auto-selected $ curl -X POST https://api.targe.io/proxy/pool/anthropic/v1/messages \ -H "Payment-Signature: <base64-payment-json>" \ -H "Content-Type: application/json" \ -d '{ "model": "claude-haiku-4-5-20251001", "max_tokens": 1024, "messages": [{"role": "user", "content": "Hello"}] }' # Response includes upstream data + pool metadata {"content":[...],"_x402_pool":{"selectedKey":"skey-...","poolSize":4}}
# Add "stream": true for SSE streaming $ curl -N -X POST https://api.targe.io/proxy/pool/anthropic/v1/messages \ -H "Payment-Signature: <base64-payment-json>" \ -H "Content-Type: application/json" \ -d '{"model":"claude-haiku-4-5-20251001","max_tokens":256, "messages":[{"role":"user","content":"Hi"}],"stream":true}' event: message_start data: {"type":"message_start",...} event: content_block_delta data: {"type":"content_block_delta","delta":{"text":"Hello!"}} # Token usage metered and settled automatically on stream end
Works inside Claude — no code required
Install the Targe MCP server and Claude Desktop or Cursor can call the LLM pool directly as a tool. Non-developers can earn, consume, and manage keys through natural language — zero code.
4 tools, one install
Ask Claude to call the pool, check your balance, or register a key — all through natural language. No code, no headers, no signing required.
View on GitHub →One command to connect
Add Targe to Claude Code, Claude Desktop, or Cursor. After restart, all four tools appear automatically. Claude handles auth, pool selection, and payments for you.
View on npm →# Add Targe as an MCP server (Claude Code) $ claude mcp add targe --scope user \ -e "WALLET_KEY=0xYourPrivateKey" \ -- npx -y @targe/mcp-server # Restart Claude Code — then ask Claude: "What LLM models are available on Targe?" "What's my Targe balance?" "Call claude-haiku via the Targe pool and summarise this doc." "Register my Anthropic key in the pool with 20% markup."
// Add to your Claude Desktop or Cursor MCP config { "mcpServers": { "targe": { "command": "npx", "args": ["-y", "@targe/mcp-server"], "env": { "WALLET_KEY": "0xYourPrivateKey" } } } }
Get started in minutes
Choose your integration path.
# Sign challenge: targe-provider:register:{timestamp} $ curl -X POST https://api.targe.io/agent/register \ -H "Content-Type: application/json" \ -d '{"address":"0xYourWallet","signature":"0xSig...","timestamp":1706356800000}' {"success":true,"address":"0x...","depositAddress":"0x..."}
# Send USDC to your deposit address on Base # Credited automatically after ~3 confirmations # Check your balance $ curl https://api.targe.io/agent/balance \ -H "X-Agent-Auth: <base64-auth-json>"
# View available LLM pools and live pricing $ curl https://api.targe.io/catalog | jq '.keyPools'
# Payment-Signature = base64(JSON({"from": "0xYourWallet"})) $ curl -X POST https://api.targe.io/proxy/pool/anthropic/v1/messages \ -H "Payment-Signature: <base64-payment-json>" \ -H "Content-Type: application/json" \ -d '{"model":"claude-haiku-4-5-20251001","max_tokens":256, "messages":[{"role":"user","content":"Hello!"}]}'
# Install the SDK $ npm install @targe/sdk // Initialize with your wallet private key import { Targe } from '@targe/sdk'; const client = new Targe({ privateKey: '0x...' }); // Check balance const balance = await client.getBalance(); // Call pool proxy const response = await client.proxyPool('anthropic', 'v1/messages', { model: 'claude-haiku-4-5-20251001', max_tokens: 1024, messages: [{ role: 'user', content: 'Hello!' }] }); // Streaming for await (const chunk of client.proxyPoolStream('anthropic', 'v1/messages', { model: 'claude-haiku-4-5-20251001', max_tokens: 256, messages: [{ role: 'user', content: 'Hi' }] })) { process.stdout.write(chunk); }
No code required — see the MCP server section to connect Targe directly to Claude as a tool.
// Add to your Claude Desktop or Cursor MCP config { "mcpServers": { "targe": { "command": "npx", "args": ["-y", "@targe/mcp-server"], "env": { "WALLET_KEY": "0xYourPrivateKey" } } } }
targe_get_catalog — list live pools and pricingtarge_get_balance — check your USDC balancetarge_proxy_pool — call any LLM via the pooltarge_register_key — share an API key to earn USDC
Resources
Everything you need to integrate Targe into your agent or application.