Back to Modelsby NVIDIA
N
NV-EmbedCode 7B
NVIDIAThe NV-EmbedCode model is a 7B Mistral-based embedding model optimized for code retrieval, supporting text, code, and hybrid queries.
Free EndpointDownloadableMay 29, 2025open license1M API calls / 30d
Specifications
Context Length
8K
8,192 tokens
Input Price
Free
per 1M tokens
Output Price
Free
per 1M tokens
Modalities
2
text→text, code→text
Capabilities
embeddingscode
Tags
nemo-retrievercode-embeddingsretrieval
API Usage
1Router is fully OpenAI-compatible. Just set the base URL and use this model ID:
nvidia/nv-embedcode-7b-v1cURL
curl https://api.1router.com/v1/chat/completions \
-H "Authorization: Bearer $ROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "nvidia/nv-embedcode-7b-v1",
"messages": [{"role": "user", "content": "Hello!"}]
}'