Develop against OpenAI, Stripe, Twilio, and 70 more without spending a cent — or even having an API key. Backend and browser calls intercepted transparently.
You're building an AI feature. Every test run costs money — $0.003 per GPT-4 completion, but you're testing 200 times a day while iterating on the prompt. By Friday, your dev costs are higher than the hosting bill. And that's just OpenAI. Factor in Stripe test charges, Twilio SMS tests, SendGrid email sends — the development cost of building against paid APIs is real.
Donk runs a local mock server that replaces 73 API providers with zero-cost, instant, realistic responses. Your server calls api.openai.com? Donk intercepts it via HTTP_PROXY and returns a mock completion with proper schema, streaming tokens over SSE just like the real API. Your browser calls api.stripe.com via fetch()? The gateway intercepts it, injects CORS headers, and returns a mock payment intent.
OpenAI, Anthropic, Google AI, Azure OpenAI, Bedrock, Mistral, Cohere, Groq, Perplexity, Together, Fireworks, OpenRouter, AI21, Replicate, HuggingFace, NLP Cloud
Stripe, PayPal, Square, Paddle, LemonSqueezy, Razorpay, Adyen
SendGrid, Mailgun, Postmark, Resend, Amazon SES, Brevo
Twilio, Vonage, Plivo, MessageBird
Firebase Auth, Auth0, Clerk
Algolia, Mapbox, HubSpot, Plaid, Shopify, DeepL, Pusher, DocuSign, Supabase, and many more
HTTP_PROXY injected into your backend process. Every outgoing request to mocked hostnames redirected to the mock server. Even hardcoded SDKs.fetch() calls to mocked API hostnames. CORS headers injected. OPTIONS preflight handled.Video: 40–50 seconds. Building an OpenAI chat feature with mocked completions. Show streaming response. Toggle to real API.