Files
ragflow/conf/models/n1n.json
jay77721 47ecc2a231 feat: populate content_length and max_output from official docs (#17836)
## Summary

- Verify and populate `content_length` (context window) and `max_output`
(max generation tokens) for all **478 chat/vision models** across **47
provider configs**
- Data sourced from **official API documentation** via 12 parallel
agents + targeted web verification
- Update Go test assertions to match verified values

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-08-05 15:22:57 +08:00

154 lines
2.7 KiB
JSON

{
"name": "n1n",
"url": {
"default": "https://api.n1n.ai"
},
"url_suffix": {
"chat": "v1/chat/completions",
"models": "v1/models",
"embedding": "v1/embeddings",
"rerank": "v1/rerank"
},
"class": "n1n",
"models": [
{
"name": "gpt-4o-mini",
"content_length": 128000,
"max_output": 16384,
"model_types": [
"chat",
"vision"
],
"tools": {
"support": true
}
},
{
"name": "gpt-4o",
"content_length": 128000,
"max_output": 16384,
"model_types": [
"chat",
"vision"
],
"tools": {
"support": true
}
},
{
"name": "gpt-5.2",
"content_length": 400000,
"max_output": 128000,
"model_types": [
"chat",
"vision"
],
"tools": {
"support": true
}
},
{
"name": "claude-sonnet-4-6",
"content_length": 1000000,
"max_output": 128000,
"model_types": [
"chat",
"vision"
],
"tools": {
"support": true
}
},
{
"name": "deepseek-v3-0324",
"content_length": 131072,
"max_output": 8192,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "deepseek-v3-1-250821",
"content_length": 131072,
"max_output": 8192,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "deepseek-v3-1-think-250821",
"content_length": 131072,
"max_output": 8192,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "kimi-k2-250905",
"content_length": 262144,
"max_output": 131072,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "qwen3-coder-plus",
"content_length": 262144,
"max_output": 65536,
"model_types": [
"chat"
],
"tools": {
"support": true
}
},
{
"name": "text-embedding-3-small",
"max_tokens": 8191,
"model_types": [
"embedding"
]
},
{
"name": "text-embedding-3-large",
"max_tokens": 8191,
"model_types": [
"embedding"
]
},
{
"name": "text-embedding-ada-002",
"max_tokens": 8191,
"model_types": [
"embedding"
]
},
{
"name": "BAAI/bge-reranker-v2-m3",
"max_tokens": 8192,
"model_types": [
"rerank"
]
},
{
"name": "Qwen/Qwen3-Reranker-0.6B",
"max_tokens": 32768,
"model_types": [
"rerank"
]
}
]
}