Can you use Claude Code without a subscription and pay only for what you use?
wiozen-coder model at $0.05 input and $0.20 output per 1 million tokens (8 November 2026). The minimum top-up is $5 and topped-up balance doesn't expire. Card top-ups currently work only from Turkey, with a card issued in Turkey; from other countries you can try it with the trial credit but can't top up by card yet.Subscription versus pay as you go
With a subscription you pay a fixed amount every month and usage is capped by a quota. With an API key there's no fixed amount; your balance goes down by the tokens each request uses. For someone who codes now and then and skips some weeks entirely, that difference is large.
When the balance runs out, requests are rejected with 429 and Claude Code stops. Top up and you continue with the same key; there's no daily request cap, it keeps working as long as the balance lasts.
Setup, step by step
- Create a Wiozen account and verify your email.
- On the Keys page, create a key and label it
claude-code. The key starts withsk-gw-and is shown only once. - Top up your balance (see below).
- Before starting Claude Code, set four variables:
export ANTHROPIC_BASE_URL="https://api.wiozen.com" export ANTHROPIC_AUTH_TOKEN="sk-gw-..." export ANTHROPIC_MODEL="wiozen-coder" export ANTHROPIC_DEFAULT_HAIKU_MODEL="wiozen-coder" claude
The Windows PowerShell version and two ways to make the setting permanent are in the Claude Code address and key guide; the short version is on the Claude Code setup page.
How do you pay?
The balance is topped up by card, paid in Turkish lira and converted to a dollar balance. The minimum top-up is $5. Card top-ups currently work only from Turkey, with a card issued in Turkey. If you're elsewhere, the trial credit on a new account works from any country, so you can check that Claude Code runs before anything else.
For readers in Turkey whose card is blocked for foreign payments, the guide to using an AI API from Turkey without a credit card explains how the lira payment works.
How far does $5 go?
It depends on usage. As an example, a medium session of 1.76 million tokens, most of them cache reads, costs about $0.03; with sessions of that size, $5 covers more than a hundred and sixty of them. Sessions where Claude Code writes a lot of code cost more, because output is four times the input price. The full calculation is in the Claude Code session cost guide.
You see your own spend request by request on the Usage page. If you give the Claude Code key a spend limit, one session can't use up the whole balance; when the limit is reached only that key stops.
Frequently asked questions
Can I use Claude Code without a subscription?
How much does Claude Code cost on Wiozen?
What is the minimum top-up?
Can I top up by card from outside Turkey?
Does topped-up balance expire?
Create a key labelled claude-code on the Keys page and go on to the Claude Code setup.
More guides: How can you use an AI API from Turkey without a credit card? · How do you connect an OpenAI-compatible API to a tool you already use? · How do you calculate the cost of an AI API? · What should I do if my AI API key has leaked? · How do you generate images with an AI API, and what does one image cost? · How much does a speech-to-text API cost, and how is it billed per minute? · Why does my AI API return a 429 error, and how do I fix it? · Why do long AI API requests time out: streaming or non-streaming? · Anthropic Messages API or OpenAI Chat Completions: which one should I use? · What is a context window, and what is a 1 million token context good for? · Which AI model should I choose: deciding by price, context and quality · Why does a reasoning model return an empty answer, and why are thinking tokens charged? · Why is my API balance running out faster than expected? Tracking spend request by request · How do you convert a web page to Markdown to feed it to an AI model? · How do you get AI to write and publish articles in WordPress automatically? · How do you find blog topics from RSS feeds and Google Trends? · Does AI-written content show up on Google and in AI answers? · How do you get internal links into AI-written WordPress articles? · How do you get AI to generate a different featured image for every WordPress post? · How do you write a content brief when an AI writes your blog posts? · What should you watch for when an AI writes recipes for your food blog? · How do you fix errors when connecting a WordPress plugin to your AI API account? · Why does my AI article bot stop halfway in WordPress? "Run is stuck" and LiteSpeed · Why are my scheduled WordPress posts late? WP-Cron and a real server cron · How do I get an AI article bot to write blog posts in English or another language? · What does "Content Bot cannot generate articles" mean? Reading the bot's log · If I delete the WordPress AI article plugin, are the articles it wrote deleted? · How do you do function calling (tool use) with an AI API? · How do I check my AI API balance from code and get a low-balance alert? · Can I use the same AI article plugin on several WordPress sites with one account and one balance? · How do you run Claude Code with a different API address and key? · Do AI-written WordPress posts get an FAQ section and FAQ structured data (schema)? · My AI API returns "401 Invalid API key": why isn't my key accepted? · Is there a free trial for an AI API? How much credit Wiozen API gives and what it covers · Claude Haiku vs Claude Sonnet via API: price per million tokens and when to use each · How much does a Claude Code session cost with an API key? · How much does prompt caching cut API costs? Cache read and cache write prices · When is the DeepSeek API cheaper? Peak and off-peak hour pricing · Which model should you use in Cline, Cursor, OpenCode and Aider? · How much does an AI-written WordPress post cost? Text, image and research · Why didn't the AI bot publish its post, and why is it stuck in drafts? · How many AI-written posts a day should you publish, and how do you set the frequency? · Who should be the author of AI-written WordPress posts? · What to watch for when AI writes posts for a loan, crypto or energy website · An AI API returns "Unknown model": where do I find the right model name? · How do I add web search to my AI app, and what does a search cost?