baidu/ernie-light-dt-1.0-intl
ERNIE-Light-DT-1.0 is based on open-source GLM models and includes research findings from Baidu Search's Lightning large model. It features Baidu Sparse Attention (BSA), a unique sparse attention mechanism developed by...
Point the OpenAI SDK at https://tokenroute.app/api/v1 and use a TokenRoute API key.
curl https://tokenroute.app/api/v1/chat/completions \
-H "Authorization: Bearer $TOKENROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "baidu/ernie-light-dt-1.0-intl",
"messages": [{ "role": "user", "content": "Hello!" }]
}'