DeepSeek V4.1 Flash
DeepSeek reasoning and coding model with image understanding. Served through OpenRouter using ZDR inference endpoints.
- Input / 1M tokens
- $0.3
- Output / 1M tokens
- $1.2
- Cache read / 1M tokens
- $0.006
- Context window
- 1048K tokens
Privacy & execution
This Incognito model runs on a partner provider’s infrastructure. NEAR AI routes requests using shared provider credentials, so your NEAR AI account credentials are not forwarded.
Your prompts are processed by the provider under its terms and privacy policy. HTTPS protects data in transit. Model TEE attestation and client-to-model end-to-end encryption are not provided for this model. Where available, Gateway signatures verify the request and response handled by the Gateway.
Verification documentationMake your first request
Call /v1/chat/completions over HTTPS.
Get an API key and set the NEARAI_API_KEY environment variable.
This HTTP example uses HTTPS. Use the SDK below to verify Gateway attestation and response signatures.
Build and Verify with the SDK
Keep the OpenAI SDK interface. Let the inference client verify the Gateway and its response signatures.
Verification guideNEAR AI Inference SDK is available for JavaScript (Node.js 24+) and Python (3.12+). Set NEARAI_API_KEY in your environment before running these examples.
See the JavaScript SDK guide or the Python SDK guide.