
I built a $2/month Claude API proxy — here's the curl command
I built a $2/month Claude API proxy — here's the curl command Anthropix Claude API costs money per token. Claude Pro is $20/month. But there's a simpler option for developers who just want API access without per-token billing anxiety. I built SimplyLouie — a Claude API proxy that costs $2/month flat, no per-token charges. Here's how to use it. The curl command curl https://simplylouie.com/api/chat \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_KEY" \ -d '{ "model": "claude-3-5-sonnet-20241022", "messages": [ {"role": "user", "content": "Hello! Write me a Python function to parse JSON."} ] }' Response comes back in OpenAI-compatible format: { "id" : "msg_01XFDUDYJgAACzvnptvVoYEL" , "type" : "message" , "role" : "assistant" , "content" : [ { "type" : "text" , "text" : "Here's a Python function to parse JSON: \n\n ``` python \n import json \n\n def parse_json(json_string): \n try: \n return json.loads(json_string) \n except json.JSONDecodeError as e: \n print(f
Continue reading on Dev.to Webdev
Opens in a new tab



