Skip to main content
New Model Support

We now support the Qwen3-Coder-480B-A35B model (model identifier: Qwen3-Coder), which is optimized for code generation and understanding, featuring a 256k context length and 64k maximum output length. It supports tools like Claude Code, Cline, Roo Code and more.

Quick Start

iFlow API provides 100% OpenAI-compatible interface services, allowing you to seamlessly switch to our AI services for higher performance and more cost-effective solutions.

Step 1: Get Your API Key

  1. Visit iFlow and complete registration and login
  2. Generate your exclusive API KEY by clicking Personal Information menu on the user settings page
  3. Safely store the API KEY for subsequent API calls

💡 Tip: The API KEY has full account permissions. Do not disclose it to others.

Step 2: Understand Supported Models

We currently support the following AI models:

Model NameModel IdentifierContext LengthMax Output Length
TBSTARS-2.0-200B-A13BTBStars2-200B-A13B32k32k
DeepSeek-R1-671BDeepSeek-R1128k32k
DeepSeek-V3-671BDeepSeek-V3128k32k
Qwen3-32BQwen3-32B128k32k
Qwen3-235B-A22BQwen3-235B128k32k
Qwen3-Coder-480B-A35BQwen3-Coder256k64k
Kimi K2KIMI-K2128k64k
Qwen3-235B-A22B-ThinkingQwen3-235B-A22B-Thinking-2507256k64k
Qwen3-235B-A22B-InstructQwen3-235B-A22B-Instruct256k64k

Step 3: Configure API Parameters

Use the following configuration information to call the iFlow API:

Parameter NameParameter ValueDescription
Base URLhttps://apis.iflow.cn/v1/chat/completionsChat completion endpoint
API Keyyour keyObtain from Console, click Personal Information menu on the user settings page

Step 4: Start Calling the API

Basic Examples

Here are examples of calling the iFlow API using different programming languages:

curl https://apis.iflow.cn/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "TBStars2-200B-A13B",
"messages": [
{"role": "system", "content": "You are a professional AI assistant."},
{"role": "user", "content": "Please introduce the history of artificial intelligence development"}
],
"temperature": 0.7,
"max_tokens": 1000
}'

Next Steps

  • 📖 Detailed Documentation: View the complete API Reference Manual
  • 🔧 Advanced Configuration: Learn more about parameter configuration options
  • 💬 Technical Support: Visit Official Website for help

🚀 Start Building: Now that you've mastered the basics, you can start integrating the iFlow API into your projects!