Seed 2.0 Code API
ByteDance coding model for real-world development, IDE-style workflows, and reliable code generation.
Provider: ByteDance | Model ID: seed-2-code | Context Window: 256K tokens
Token Pricing
₹80/1M input · ₹450/1M output. Pay-as-you-go micro-metered token billing. UPI and cards accepted with zero minimum commitment.
| Token Type | Price (INR) |
|---|---|
| Input Tokens | ₹80/1M tokens |
| Output Tokens | ₹450/1M tokens |
| Prompt Caching Input | ₹20/1M tokens |
OpenAI-Compatible Integration
Directly drop into existing OpenAI SDK code by updating the base URL to https://api.luminoai.co.in/v1.
curl https://api.luminoai.co.in/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $LUMINO_API_KEY" \
-d '{
"model": "seed-2-code",
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain KV cache in 2 sentences."}
]
}'
Model Specifications
| Model Identifier | seed-2-code |
|---|---|
| Provider | ByteDance |
| Category | coding |
| Context Window | 256K tokens |
| API Protocol | OpenAI-compatible REST API (JSON) |
| Endpoint | https://api.luminoai.co.in/v1/chat/completions |
Explore all models in catalog | API Documentation | Test Seed 2.0 Code in Playground