
Get started building with DeepSeek V4 Pro today.
curl --request POST https://lightning.ai/api/v1/chat/completions \
--header "Authorization: Bearer $LIGHTNING_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"model": "lightning-ai/deepseek-v4-pro",
"messages": [
{
"role": "user",
"content": [
{
"type": "text",
"text": "Hello, world!"
}
]
}
]
}'