DeepSeek: DeepSeek V4.1 Flash Ultrafast
deepseek/deepseek-v4.1-flash-ultrafast1 providerText inputImage inputTool calling
Input / output price$0.30 / $1.20 per 1M
Context1M tokens
Max outputNot published
ReleasedOct 23, 2026
Providers
Available providers, with each one's token pricing and limits for this model.
ProviderContextMax outputInput /MCache read /MOutput /MLatencySpeedModalitiesStatus
Long-context tierAbove 256K tokens: $0.60 input / $1.20 output per 1M
Capabilities
ModalitiesText, Image → Text
max_tokensreasoning_efforttoolsweb_search_optionsAPI quickstart
Use the official OpenAI client with the AllModels OpenAI-compatible endpoint.
Response with the OpenAI SDK
Use the model ID above with the AllModels OpenAI-compatible Responses API.
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.ALLMODELS_API_KEY,
baseURL: "https://api.allmodels.io/oai",
});
const response = await client.responses.create({
model: "deepseek/deepseek-v4.1-flash-ultrafast",
input: "Hello!",
});
console.log(response.output_text);