Retrieves the AI Gateway configuration including all available language models and their specifications. This endpoint returns model information compatible with the Vercel AI SDK Gateway format, making it easy to integrate with existing AI applications.
Use this endpoint to:
curl --request GET \
--url https://api.case.dev/llm/config \
--header 'Authorization: Bearer <token>'{
"models": [
{
"id": "gpt-4",
"name": "GPT-4",
"modelType": "language",
"description": "Most capable GPT-4 model for complex legal analysis",
"pricing": {
"input": 0.03,
"output": 0.06,
"currency": "USD",
"unit": "1K tokens"
}
},
{
"id": "claude-3-opus",
"name": "Claude 3 Opus",
"modelType": "language",
"description": "Anthropic's most powerful model for legal reasoning"
},
{
"id": "text-embedding-3-large",
"name": "Text Embedding 3 Large",
"modelType": "embedding",
"description": "High-performance embeddings for semantic search"
}
]
}Was this page helpful?
curl --request GET \
--url https://api.case.dev/llm/config \
--header 'Authorization: Bearer <token>'{
"models": [
{
"id": "gpt-4",
"name": "GPT-4",
"modelType": "language",
"description": "Most capable GPT-4 model for complex legal analysis",
"pricing": {
"input": 0.03,
"output": 0.06,
"currency": "USD",
"unit": "1K tokens"
}
},
{
"id": "claude-3-opus",
"name": "Claude 3 Opus",
"modelType": "language",
"description": "Anthropic's most powerful model for legal reasoning"
},
{
"id": "text-embedding-3-large",
"name": "Text Embedding 3 Large",
"modelType": "embedding",
"description": "High-performance embeddings for semantic search"
}
]
}