Obtener tokens
VisitaObtener tokenspara ver tu saldo y las condiciones. Los modelos comparten saldo; cuentan entrada y salida.
Solicitudes conocidas. Una conexión más sencilla.
VisitaObtener tokenspara ver tu saldo y las condiciones. Los modelos comparten saldo; cuentan entrada y salida.
Ve a API Keys para crear una clave para tu app. Guárdala en un servidor o cliente de confianza, nunca en un repositorio público.
Elige un protocolo. La URL de OpenAI incluye /v1; Anthropic usa la raíz del sitio. Ambos usan la misma clave.
curl "https://token-faucet.top/v1/chat/completions" \
-H "Authorization: Bearer $TOKEN_FAUCET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"kimi-k2.6","messages":[{"role":"user","content":"Hello, world!"}]}'Referencia de configuración · Flujo completo del cliente sin verificar
Cada solicitud requiere 116.000 tokens disponibles para la reserva; solo se cobra el uso real. Verifica tu correo e inicia sesión para recibir 1.000.000 tokens una sola vez. Los anuncios con recompensa aún no están disponibles.
Comprueba opencode --version. Combina la configuración correspondiente con opencode.json de tu proyecto, conservando otros proveedores. Define TOKEN_FAUCET_API_KEY en el terminal que inicia OpenCode. En v1 también puedes guardar la clave con /connect → Other bajo token-faucet. Selecciona un modelo del grupo Token Faucet mediante /models.
v1 usa provider/npm/options; v2 usa providers/package/settings. No mezcles los formatos. token-faucet identifica el proveedor; tras la barra va el modelo.
export TOKEN_FAUCET_API_KEY="YOUR_TOKEN_FAUCET_KEY" opencode run --model token-faucet/kimi-k2.6 "Reply only OK"
{
"$schema": "https://opencode.ai/config.json",
"model": "token-faucet/kimi-k2.6",
"provider": {
"token-faucet": {
"name": "Token Faucet",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://token-faucet.top/v1",
"apiKey": "{env:TOKEN_FAUCET_API_KEY}"
},
"models": {
"kimi-k2.6": {
"name": "Kimi K2.6",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"kimi-k2": {
"name": "Kimi K2",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"DeepSeek-V4-Pro": {
"name": "DeepSeek V4 Pro",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"DeepSeek-V4-Flash": {
"name": "DeepSeek V4 Flash",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"glm-5.1": {
"name": "GLM 5.1",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"glm-5": {
"name": "GLM 5",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"glm-5v-turbo": {
"name": "GLM 5V Turbo",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"qwen-3.6-plus": {
"name": "Qwen 3.6 Plus",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"qwen-3.5": {
"name": "Qwen 3.5",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"minimax-m2.7": {
"name": "MiniMax M2.7",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"minimax-m2.5": {
"name": "MiniMax M2.5",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"Doubao-Seed-2.0-Code": {
"name": "Doubao Seed 2.0 Code",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"Doubao_1_6": {
"name": "Doubao 1.6",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"Doubao-Seed-Code": {
"name": "Doubao Seed Code",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"gemini-2.5-pro-latest": {
"name": "Gemini 2.5 Pro",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"gemini_2.5_flash": {
"name": "Gemini 2.5 Flash",
"attachment": false,
"reasoning": false,
"temperature": false,
"tool_call": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
}
}
}
}
}{
"$schema": "https://opencode.ai/config.json",
"model": "token-faucet/kimi-k2.6",
"providers": {
"token-faucet": {
"name": "Token Faucet",
"package": "@opencode/ai/providers/openai-compatible",
"env": [
"TOKEN_FAUCET_API_KEY"
],
"settings": {
"baseURL": "https://token-faucet.top/v1"
},
"models": {
"kimi-k2.6": {
"name": "Kimi K2.6",
"family": "Kimi",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"kimi-k2": {
"name": "Kimi K2",
"family": "Kimi",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"DeepSeek-V4-Pro": {
"name": "DeepSeek V4 Pro",
"family": "DeepSeek",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"DeepSeek-V4-Flash": {
"name": "DeepSeek V4 Flash",
"family": "DeepSeek",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"glm-5.1": {
"name": "GLM 5.1",
"family": "GLM",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"glm-5": {
"name": "GLM 5",
"family": "GLM",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"glm-5v-turbo": {
"name": "GLM 5V Turbo",
"family": "GLM",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"qwen-3.6-plus": {
"name": "Qwen 3.6 Plus",
"family": "Qwen",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"qwen-3.5": {
"name": "Qwen 3.5",
"family": "Qwen",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"minimax-m2.7": {
"name": "MiniMax M2.7",
"family": "MiniMax",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"minimax-m2.5": {
"name": "MiniMax M2.5",
"family": "MiniMax",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"Doubao-Seed-2.0-Code": {
"name": "Doubao Seed 2.0 Code",
"family": "Doubao",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"Doubao_1_6": {
"name": "Doubao 1.6",
"family": "Doubao",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"Doubao-Seed-Code": {
"name": "Doubao Seed Code",
"family": "Doubao",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"gemini-2.5-pro-latest": {
"name": "Gemini 2.5 Pro",
"family": "Gemini",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
},
"gemini_2.5_flash": {
"name": "Gemini 2.5 Flash",
"family": "Gemini",
"capabilities": {
"tools": true,
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 100000,
"output": 16000
}
}
}
}
}
}Selecciona OpenAI Compatible e introduce la URL, tu clave de Token Faucet y un modelo. Usa contexto 100000 y salida 16000. Desactiva imágenes, Computer Use, razonamiento extendido y caché. Si tu versión no permite omitir parámetros incompatibles, utiliza los ejemplos básicos de API. La compatibilidad completa aún no está certificada.
Base URL: https://token-faucet.top/v1 API Key: YOUR_TOKEN_FAUCET_KEY Model ID: kimi-k2.6 Context: 100000 Max output: 16000 Images: OFFDocumentación oficial
Define las variables siguientes solo en el terminal que inicia Aider y añade openai/ al modelo. Ajusta los límites de modelos desconocidos a los de este servicio. Aider puede enviar parámetros de muestreo; revisa los errores 400 antes de reintentar.
export OPENAI_API_BASE="https://token-faucet.top/v1" export OPENAI_API_KEY="YOUR_TOKEN_FAUCET_KEY" aider --model openai/kimi-k2.6Documentación oficial
Usa Chat Completions, no Responses. Configura todos los modelos para texto: las imágenes aún no están conectadas. Omite max_tokens o usa 16000 (obligatorio en Anthropic). temperature, top_p, stop y razonamiento extendido no están disponibles. Los SDK han superado pruebas de texto, streaming y herramientas; estas guías no certifican todas las funciones de los agentes.
Modelos ausentes: comprueba versión, proveedor y lista models. 401: clave; 402: saldo insuficiente; 400: entrada incompatible; 429: reduce concurrencia; 503: mantenimiento. Una interrupción con uso desconocido puede conservar la reserva; comprueba el uso antes de reintentar.
Los tokens miden el texto procesado por un modelo. No son criptomonedas. El saldo es personal y no se transfiere, negocia ni retira.
Verifica tu correo y entra para recibir 1.000.000 tokens una vez y usar los modelos. Las recompensas publicitarias siguen sin estar disponibles.
El proveedor aplica el límite de 100K, incluidos historial, instrucciones y herramientas. Si se supera, devuelve un error sin truncar. El cuerpo de la solicitud admite hasta 2 MiB.
Hasta 20 solicitudes por cuenta y 40 en total durante las pruebas. Cada solicitud reserva 116.000 tokens; se cobra la entrada más la salida real y se libera el resto. Las reglas de recompensas están pendientes.
Se admiten listas, texto, streaming y herramientas en Chat Completions y Messages. No se admiten muestreo, imágenes, pensamiento extendido ni herramientas forzadas. El límite de salida es 16.000; max_tokens de Anthropic debe ser 16000. Los parámetros no admitidos devuelven errores.