4.0Ultra
Provided by iFlytek · Text model
Parameters
| Context window | 33K tokens |
|---|---|
| Max output | 33K tokens |
| Input modalities | text |
| Output modalities | text |
Capabilities
Official pricing
| Input | $0.1195/M |
|---|---|
| Output | $0.1195/M |
Call example
curl -s https://spark-api-open.xf-yun.com/v1/chat/completions -H "Authorization: Bearer $SPARK_API_PASSWORD" -H "Content-Type: application/json" -d '{"model":"4.0Ultra","messages":[{"role":"user","content":"你好"}]}'