Step 1: Get your API key
- Sign up at app.forii.in
- Navigate to Dashboard → API Keys
- Click Create New Key
- Copy the key — it starts with
forii_sk_and is shown only once
Your free tier includes ₹50 in credits — enough for thousands of inference calls. No credit card needed to start.
Step 2: Install the SDK
Forii is OpenAI-compatible. Use the official OpenAI SDK — no Forii SDK needed.- Python
- JavaScript
- cURL
Step 3: Make your first request
- Python
- JavaScript
- cURL
Step 4: Stream a response
- Python
- JavaScript
What’s next?
Chat Completions
Full reference for all completion modes — streaming, structured outputs, function calling.
Models
Browse available models, context windows, and pricing.
Pricing
INR pricing, credits system, and plans — frontier models at 30% lower cost.