Claude Sonnet 5.5 pay-as-you-go on 59API for side projects
Uneven usage is the real cost of a flat subscription
A side project almost never consumes AI tokens at a steady rate. Monday might be quiet: one debugging pass, a handful of summaries, a rewritten README. Then Thursday arrives with a user asking for a bulk import, and you are generating prompts for hours on end. Any plan built around a fixed monthly allowance, or a subscription you pay for whether you use it or not, punishes exactly that pattern. You either pay for idle capacity every month, or you ration a limit that was sized for a quieter week. 59API is built around the opposite assumption. You keep a prepaid balance, and each request is charged by real token usage. There is no monthly fee, and the balance never expires. A dormant month costs nothing beyond what you actually call, while a heavy week draws down only what you spent. For an independent developer, that matters: the bill follows the project, not the calendar. Below is the practical version, scenario by scenario, with real rates attached rather than vague promises.
What pay-as-you-go on 59API actually means
59API is an independent third-party AI API relay. One account and one API key, one API host at https://api.59api.com, and access to Claude, GPT, Gemini, DeepSeek and other models. Billing is in CNY, with USD shown at ¥7.2 = $1, and prices are listed per 1 million tokens. The mechanics are deliberately plain: top up, then pay per request according to the tokens you actually use. Top-ups come in ¥10, ¥50, ¥100, ¥200, ¥500 and ¥1000, paid by WeChat Pay or bank card, and invoices are available. Because the balance never expires, a small top-up can sit there between bursts of activity without becoming wasted spend. That is the core fit for uneven workloads: you are not committing to a monthly quantity, and you are not paying a subscription to keep a door open. You are paying for the work that happens, which for a weekend prototype or a slowly growing internal tool is usually the only sensible arrangement.
Three side-project situations, priced in tokens
Consider three hypothetical situations. First, a documentation tool that sits idle for days and then processes a batch of documents. Claude Sonnet 5.5 costs $1.11 (¥8) per 1 million input tokens and $5.56 (¥40) per 1 million output tokens, with cache reads at $0.0972 (¥0.7). For 3M input plus 0.5M output tokens without cache, the bill is $6.11 (¥44) on 59API, compared with the official list price of $11 (about ¥79.2), so 59API is about 56% of list price. Second, a chat feature in a small app that sends GPT-6.1 Sol: input is $0.1847 (¥1.33), output is $0.9264 (¥6.67), cache read $0.0375 (¥0.27). At 5M input plus 1M output tokens without cache, that is $1.85 (¥13.32) on 59API, versus $20 (about ¥144) at official list price, so 59API is about 9% of list price. Third, a background classifier that needs cheap throughput: DeepSeek V4 Flash runs $0.2778 (¥2) input and $1.11 (¥8) output per 1 million tokens, with cache reads at $0.006944 (¥0.05).
When a monthly or weekly card makes sense
Pay-as-you-go is the default, but it is not the only option. 59API also offers optional monthly and weekly cards, and they matter when your usage stops being uneven and starts being predictable. A card has its own key, can only call that model family, and is paid only from the card. It never falls back to wallet balance, and a balance key never draws on a card, so the two funding paths stay cleanly separated. Unused quota does not roll over. Quota and caps are card metering units written in $, not official list-price dollars, so treat them as capacity rather than as a comparable price. For a seven-day push, the weekly G-PRO $1100 card costs $40.56 (¥292) for 7 days, with quota $1100 and weekly cap $1100. For a longer Claude-focused cycle, the C-PRO Entry edition runs 30 days at $83.19 (¥599), quota $610, weekly cap $230. Cards suit a deadline; the prepaid balance suits everything else.
Setup: one host, one key, and the right client
Connecting is a configuration exercise, but the client matters. For Claude Code or Claude Desktop, set ANTHROPIC_BASE_URL=https://api.59api.com and ANTHROPIC_AUTH_TOKEN=YOUR_59API_KEY. Claude models work only in the genuine Claude Code or Claude Desktop client, version 2.1.285 or newer, and never through the OpenAI SDK, cURL or other clients. Codex, OpenAI SDKs, cURL and OpenAI-compatible clients such as Cursor, Cherry Studio, Cline and OpenCode work with GPT, DeepSeek and other non-Claude, non-Gemini models only, using base_url https://api.59api.com/v1 and chat endpoint https://api.59api.com/v1/chat/completions. Gemini models use Google's native protocol only through Gemini CLI, with GOOGLE_GEMINI_BASE_URL=https://api.59api.com and GEMINI_API_KEY=YOUR_59API_KEY; they are not OpenAI-compatible. Pick the client first, then the model family that fits it.
So is 59API right for your side project?
It is a good fit when your usage is genuinely lumpy, when you want several model families behind one key, and when paying per request is easier to justify than a commitment you might not use. It is a poor fit if you need a predictable monthly invoice from a provider, or if you want one client to reach every model family, because the protocol boundaries are real. The numbers make the case better than adjectives. A ¥10 top-up can start you, the balance never expires, and a request costs what it costs in tokens. If your project runs in bursts, then the right question is not how large your monthly usage might be, but how much you want to spend on the day the burst arrives. With 59API, that answer can be small. Start with the top-up that matches your next busy weekend, point your client at https://api.59api.com, and let the balance follow the work.
¿Listo para empezar?
Una sola clave para Claude, GPT y más, con facturación por tokens reales y sin cuota mensual. Regístrate para crear tu clave API; las tarifas de cada modelo están en la página de precios.
Registro gratis Precios