50% off every Claude model
From 23 November 2026 to the end of 30 November 2026 (Tehran time, UTC+03:30), 1xAi charges 50% less for every Claude model, in Toman, wherever the cost is paid from the wallet: the API, Claude Code, chat, the playground and the bots.
As of 23 November 2026
- Models
- Every Claude model in the price list (16 today)
- Discount
- 50% off the Toman price
- Until
- The end of 30 November 2026, Tehran time
- Where
- The API and Claude Code, chat, the playground and the bots, wherever the wallet pays
- Payment
- A Toman wallet, topped up through Zarinpal, Digipay or card-to-card
- Base URL
- https://1xai.ir/v1 (OpenAI-compatible) and https://1xai.ir/anthropic (native, for Claude Code)
- Chat plans
- Not discounted
- Daily stop
- If demand is very high, it may pause for the rest of that day
Claude prices before and after the discount
In Toman per million tokens, from the live price list, as of 23 November 2026; prices move with the day's dollar rate. The discount covers every Claude model, not only these. Every model's price is on the pricing page.
| Model | Input, per million tokens | Output, per million tokens |
|---|---|---|
claude-sonnet-5-5 | Normal price: | Normal price: |
claude-opus-5-5 | Normal price: | Normal price: |
claude-haiku-5-5 | Normal price: | Normal price: |
claude-fable-5-2 | Normal price: | Normal price: |
One Claude Code session
The example assumes 60 calls on claude-sonnet-5-5: 2,850,000 tokens read from the cache, 120,000 written to it, 30,000 uncached input tokens and 45,000 output tokens. These are assumptions, not anyone's measured usage; each part is broken down on coding agent costs.
- At the normal price
- 356,619 Toman
- Today
- 178,309 Toman
- Less, in this one session
- 178,309 Toman
Each call's amount is rounded up on its own, so the real total is a few Toman more.
One key for the API, Claude Code and chat
Create a key on /dashboard/keys. On the OpenAI-shaped route, set the base URL to https://1xai.ir/v1 and any model name starting with claude- routes to Anthropic. For prompt caching and extended thinking, use the native route https://1xai.ir/anthropic (Claude API from Iran). Claude Code needs two environment variables (the full guide):
export ANTHROPIC_BASE_URL="https://1xai.ir/anthropic" export ANTHROPIC_AUTH_TOKEN="1xai-..." claude
curl https://1xai.ir/anthropic/v1/messages \
-H "x-api-key: 1xai-..." \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{"model": "claude-sonnet-5-5", "max_tokens": 512, "messages": [{"role": "user", "content": "ping"}]}'In chat, pick a Claude model; a message paid from the wallet is charged at today's price. Credit you top up yourself has no expiry date.
Plans, other vendors and codes
- Chat plan prices are not discounted, and a plan's credit is spent as usual.
- Other vendors' models, such as GPT and Gemini, are not discounted.
- It is not a code or a prepaid pack: it applies to each request by itself, and usage before it is not repriced.
- The discount may pause for the rest of a day if demand is very high; prices then return to normal until the next day.
Until when is the Claude discount on?
Until the end of 30 November 2026, Tehran time. It started on 23 November 2026; after it ends, prices return to normal by themselves, with nothing to do on your side.
Do I need a discount code?
No. The discount is applied to the price of every request to a Claude model, and each request is logged at that price in the dashboard's usage report.
Can the discount stop before the end?
The discount may pause for the rest of a day if demand is very high; prices then return to normal until the next day. This page and the site's top bar always show the state right now.
Are the chat plans discounted too?
No. Plan prices are not discounted and a plan's credit is spent as usual. The discount applies to what is paid from the wallet: the API and Claude Code, and chat, the playground and the bots when their cost comes from the wallet.
Which models does it cover?
Every Claude model in the price list (16 today), from Haiku and Sonnet to Opus and Fable. Other vendors' models, such as GPT and Gemini, are not discounted.
Is earlier usage repriced?
No. Only requests sent during the promotion are charged at the discounted price; usage before and after it is at the normal price.
How do I connect Claude Code to 1xAi from Iran?
Two environment variables: set ANTHROPIC_BASE_URL to https://1xai.ir/anthropic and ANTHROPIC_AUTH_TOKEN to your 1xai- key, then run claude. No Anthropic account and no foreign card. The full guide: https://1xai.ir/en/docs/use-cases/claude-code
Is it the official Claude?
Yes. Requests go to Anthropic's official API and the answers come from the same Claude models. 1xAi is an independent gateway, not affiliated with Anthropic.
1xAi is an independent gateway. It is not affiliated with, endorsed by, or a reseller for OpenAI, Anthropic, Google, DeepSeek, xAI, Moonshot AI, Z.ai, Alibaba Qwen, MiniMax or Tencent Hunyuan. Requests are relayed upstream rather than answered by models of our own, so each provider's own usage policies apply to what their models will and will not do, and their model availability is theirs to change. Current reachability is published on the status page.
- API documentation
The index of every docs topic: quickstart, auth, rate limits, errors, billing, models, endpoints, keys and teams.
- Changelog
What changed in the API and the product, release by release.
- Terms of Service
Billing, refunds, availability, liability and termination.
- Privacy Policy
What we collect, what never leaves, and what the model provider receives.
- Contact
Business enquiries, large top-ups, and anything the docs did not answer.
- Models and prices
Every callable model with live Toman rates, context windows and endpoints.
- Overview
What 1xAi is, who it is for, and what it costs — the English entry point.
- ChatGPT API from Iran
Whether the OpenAI API can be called from an Iranian network, and how.
- Claude API from Iran
Anthropic's Messages API from Iran, including the native passthrough route.
- OpenAI-compatible endpoint
The base URL, the auth header, every supported route, streaming and errors.
- Pricing
How billing works: list price plus a 15–30% markup by model, paid in Toman.
- Service status
Per-vendor success rates and latency from real traffic, with sample sizes, plus the raw dataset.
- Benchmark
The published latency figures, and an open script that times any OpenAI-compatible gateway with your own key.
- Service credit
The monthly success-rate commitment per vendor family, the credit tiers, and each closed month's measured rates.
- AI API providers in Iran compared
1xAi next to six Iranian AI API gateways, cell by cell, each cell with its source and the day it was read, and where others are ahead.
- AI tutor for the Konkur
The learning panel for Iran's university entrance exam, compared with Zerang, Andarz, ChatGPT and Gemini, with sources.