AI API Iran: 9 Free LLM APIs Verified Working From Iran in 2026
Compare free AI APIs tested for Iran access, with signup requirements, quotas, models, payment conditions, and dated provider evidence.
Evidence-based, machine-readable, regularly updated
Quotas, models, signup requirements, payment method needs, and OpenAI compatibility — each fact sourced from official documentation and timestamped. No sponsored ranking, no guesswork.
Just three steps
Chat, coding, reasoning, or embeddings.
Quota, account, payment, Iran status, and evidence date.
Open docs and make your first request.
Separated evidence
Every provider entry distinguishes between network reachability, signup completion, API key issuance, and authenticated inference. These four layers are never mixed. If only reachability is confirmed, the inference status remains unknown. No plausible guesses replace missing evidence.
Glossary
The communication channel between your application and an AI model service.
A large language model for understanding and generating text.
A company or service that offers API access to AI models.
The request format resembles the widely-used OpenAI API. Usually usable by changing Base URL and key.
Allowed requests per minute and per day. These are capacity limits, not response speed.
Network, signup, account activation, and inference are reported separately.
Machine-readable data
The interactive catalog is currently Persian-first. The catalog JSON file is machine-readable and locale-neutral, providing the same evidence-based data for all users.
Practical tutorials
Use the catalog in real projects with focused guides for provider selection, secure setup, error handling, rate limits, Python, and Node.js.
Compare free AI APIs tested for Iran access, with signup requirements, quotas, models, payment conditions, and dated provider evidence.
Practical guide to preventing API key exposure in AI projects; covering environment variables, Git verification, server security, and best practices.
Step-by-step tutorial for building a Persian CLI chatbot in Python using the OpenAI SDK, a custom Base URL, conversation history management, timeout, and error handling.
Compare free OpenAI-compatible ChatGPT API alternatives by free tier, limits, signup requirements, payment method, and regional access.
Troubleshooting guide for invalid API key, regional permission, disabled model, wrong Base URL, and incompatible endpoint errors in language model APIs.
Compare free AI APIs for chat, coding, and text generation, including limits, OpenAI compatibility, signup requirements, and Iran access evidence.
Compare free embedding APIs for RAG, semantic search, and text processing; including dimensions, context length, multilingual support, and free tier details.
Compare free GPT API providers that require no credit card, including limits, model access, signup requirements, and official documentation.
Compare free LLM APIs by rate limits, models, OpenAI compatibility, signup requirements, payment method, and Iran access evidence.
Explain the difference between permanent free tiers, time-limited trials, and free credits in LLM APIs; including evaluation criteria, risks, and selection guidance.
Expert guide to diagnosing quota types, implementing retry with backoff and jitter, request queuing, circuit breakers, and provider fallback for free language model APIs.
Compare official and community gateways for accessing LLM APIs; covering security, stability, privacy, and practical considerations.
Compare free OpenAI-compatible LLM APIs by models, rate limits, payment requirements, regional access, and migration effort.
Guide to identifying and comparing permanently free models in LLM APIs; covering provider policy stability, open source models, and long-term project selection.
Choose a free LLM API from Iran, verify signup and connectivity, and send your first request with clear security, quota, and access checks.
Guide to choosing free LLM APIs for student projects and MVPs; covering cost, simplicity, stability, and practical startup tips.
Practical guide for secure and successful LLM API testing from Iran; covering network access, registration, authentication, inference, and common error troubleshooting.
Connect Node.js to OpenAI-compatible free LLM APIs with environment variables, streaming, timeouts, retries, error handling, and a secure chat endpoint.
Use the language switcher at the top of the page for the full Persian interface and guides.
Frequently asked questions
No — comparing options requires no coding skills. Using an API inside an application requires basic programming knowledge.
A trial expires after a time or credit limit. A permanent free tier remains usable until the provider changes its policy.
No. Network reachability, signup, account activation, and inference are checked separately for each provider.
The request format is similar to the widely-used OpenAI API. You can usually switch by changing the Base URL and API key.
Quick comparison
RPM, RPD, and monthly credits documented for each service. Not just marketing claims.
View comparison ←Network, signup, key, and inference checked separately. Nothing is guessed.
Find API ←Ready-to-use code samples in cURL, Python, and Node.js for your first request.
Get started ←Related topics
Simple explanation for beginners: from request to AI model response.
Learn more ←Why is one service free and another temporary? Understand the differences.
Glossary ←From technical criteria to account requirements, everything in one guide.
Find API ←How to use a similar SDK by changing the Base URL.
Quick start ←Data outdated or incorrect?
Reports must include the official source, date, and connection path — no full IPs or API keys.