Configure a chat request visually and copy a working curl, Python, or TypeScript snippet for Anthropic, OpenAI, or Gemini
🔑 The API key is never entered here. Snippets reference the standard env var ($ANTHROPIC_API_KEY / $OPENAI_API_KEY / $GEMINI_API_KEY); the SDKs read it automatically.
As-is, no warranty. These apps are free under their listed license and run entirely in your browser. Use at your own risk — don't blame me if your PC catches fire, your dog runs away, or the math turns out wrong. Verify anything that actually matters. None of this is professional financial, medical, legal, or engineering advice.
The three big LLM APIs do the same job with almost none of the same field names. Anthropic puts the system prompt at the top level; OpenAI puts it as the first message; Gemini calls it systemInstruction. Tools are input_schema here, parameters there, functionDeclarations somewhere else. Streaming, JSON output, and token limits each have three spellings.
This tool lets you configure a request once in a plain form and emits a correct, runnable snippet in curl, Python (official SDK), or TypeScript (official SDK) for whichever provider you pick. It is the reference you reach for when a parameter is being silently ignored.
response_format for OpenAI, responseMimeType for Gemini.cache_control on the system block) and extended thinking (budget_tokens); OpenAI reasoning effort.There is no field for your API key, and there never will be. The snippets reference the standard environment variable ($ANTHROPIC_API_KEY, $OPENAI_API_KEY, $GEMINI_API_KEY), which the SDKs read automatically. Nothing you type is transmitted anywhere; the whole tool runs in your browser.
Pairs with the LLM Cost Calculator (what the request will cost) and the Prompt Cache Optimizer (whether caching is worth it).
For informational purposes only. Not financial, medical, or legal advice. You are solely responsible for how you use these tools.