AiFOAI Super-App
$0.50 free credit to get started

AI API for Iranian Developers

One OpenAI-compatible endpoint. Every model in the world. Rial payments.

from openai import OpenAI
client = OpenAI(
    api_key="aifo_sk_live_...",
    base_url="https://api.aifoapp.ir/v1"
)
response = client.chat.completions.create(
    model="openai/gpt-4o",
    messages=[{"role": "user", "content": "سلام!"}]
)

Why developers choose AiFO

OpenAI SDK compatible

Just change the baseURL — same SDK works with LangChain, LlamaIndex, and any HTTP client.

50+ models, one endpoint

GPT, Claude, Gemini, Flux, ElevenLabs, and more — all from one API.

Rial payments

Pay with Zarinpal or Zibal in Rials. USD wallet with live exchange rates.

Free to start

$0.50 credit + instant API key — no credit card required.

Full dashboard

Usage, logs, projects, and webhooks — all at platform.aifoapp.ir.

Persian documentation

Complete guides in Persian at docs.aifoapp.ir.

Supported models

ModelProviderModalityPrice
GPT-5OpenAIText~$10 / 1M tokens
GPT-4oOpenAIText~$5 / 1M tokens
Claude Sonnet 4.6AnthropicText~$6 / 1M tokens
Gemini 3 FlashGoogleText~$0.50 / 1M tokens
DeepSeek V4DeepSeekText~$0.30 / 1M tokens
Grok 4xAIText~$5 / 1M tokens
Flux 2 ProBlack Forest LabsImage$0.05 / image
DALL-E 3OpenAIImage$0.04 / image
ElevenLabs v3ElevenLabsAudio$0.015 / 1K chars
WhisperOpenAIAudio$0.006 / minute

Transparent pricing

USD wallet, Rial payments

Start with $0.50 free

Official model pricing

No monthly subscription

Frequently asked questions