import Casedev from 'casedev';
const client = new Casedev({ apiKey: 'sk_case_YOUR_API_KEY' });
const { data: models } = await client.llm.v1.listModels();
for (const model of models) {
console.log(`${model.id}: $${model.pricing.input}/input, $${model.pricing.output}/output`);
}
{
"object": "list",
"data": [
{
"id": "casemark/casemark-core-1",
"name": "CaseMark Core 1",
"description": "Legal-optimized model with advanced reasoning",
"owned_by": "casemark",
"context_window": 200000,
"max_tokens": 128000,
"tags": ["reasoning", "legal", "tool-use"],
"pricing": {
"input": "0.000003",
"output": "0.000007"
}
},
{
"id": "anthropic/claude-sonnet-4.5",
"name": "Claude Sonnet 4.5",
"description": "Anthropic's latest model with vision and reasoning",
"owned_by": "anthropic",
"context_window": 200000,
"max_tokens": 64000,
"tags": ["vision", "reasoning", "tool-use"],
"pricing": {
"input": "0.000003",
"output": "0.000015"
}
}
]
}
Popular models
| Model | Context | Best for | Input $/MTok |
|---|
casemark/casemark-core-1 | 200K | Legal reasoning, workflows | $3.00 |
anthropic/claude-sonnet-4.5 | 200K | Complex analysis, vision | $6.00 |
anthropic/claude-opus-4 | 200K | Hardest tasks | $20.00 |
openai/gpt-4o | 128K | General purpose, vision | $5.00 |
openai/gpt-4o-mini | 128K | Fast, cheap | $0.30 |
google/gemini-2.5-flash | 1M | Very long documents | $0.15 |
deepseek/deepseek-chat | 64K | Cost-effective | $0.28 |
Model capabilities
| Tag | Meaning |
|---|
vision | Can process images |
tool-use | Supports function calling |
reasoning | Enhanced reasoning |
fast | Optimized for low latency |
legal | Fine-tuned for legal tasks |
Prices are per token. Multiply by 1,000,000 for price per million tokens (MTok).