Skip to content

Commit 7b20915

Browse files
committed
model tag
1 parent 1cc9649 commit 7b20915

31 files changed

+304
-51
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -795,6 +795,7 @@ blue
795795

796796
## Changelog
797797

798+
- 06/14/2025 — `v1.0.1` — Better model features support and tags
798799
- 06/13/2025 — `v1.0.0` — Added thinking mode, extended responses, token/cost usage, model management, TypeScript. Removed Together, Perplexity, Llamafile
799800
- 01/27/2025 — `v0.8.0` — Added DeepSeek
800801
- 12/19/2024 — `v0.7.1` — Fixed Anthropic streaming bug

data/model_prices_and_context_window.json

Lines changed: 105 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4263,6 +4263,20 @@
42634263
"supports_assistant_prefill": true,
42644264
"supports_tool_choice": true
42654265
},
4266+
"mistral/magistral-medium-latest": {
4267+
"max_tokens": 40000,
4268+
"max_input_tokens": 40000,
4269+
"max_output_tokens": 40000,
4270+
"input_cost_per_token": 2e-06,
4271+
"output_cost_per_token": 5e-06,
4272+
"litellm_provider": "mistral",
4273+
"mode": "chat",
4274+
"source": "https://mistral.ai/news/magistral",
4275+
"supports_function_calling": true,
4276+
"supports_assistant_prefill": true,
4277+
"supports_tool_choice": true,
4278+
"supports_reasoning": true
4279+
},
42664280
"mistral/magistral-medium-2506": {
42674281
"max_tokens": 40000,
42684282
"max_input_tokens": 40000,
@@ -4277,15 +4291,29 @@
42774291
"supports_tool_choice": true,
42784292
"supports_reasoning": true
42794293
},
4294+
"mistral/magistral-small-latest": {
4295+
"max_tokens": 40000,
4296+
"max_input_tokens": 40000,
4297+
"max_output_tokens": 40000,
4298+
"input_cost_per_token": 0.5e-6,
4299+
"output_cost_per_token": 1.5e-6,
4300+
"litellm_provider": "mistral",
4301+
"mode": "chat",
4302+
"source": "https://mistral.ai/pricing#api-pricing",
4303+
"supports_function_calling": true,
4304+
"supports_assistant_prefill": true,
4305+
"supports_tool_choice": true,
4306+
"supports_reasoning": true
4307+
},
42804308
"mistral/magistral-small-2506": {
42814309
"max_tokens": 40000,
42824310
"max_input_tokens": 40000,
42834311
"max_output_tokens": 40000,
4284-
"input_cost_per_token": 0.0,
4285-
"output_cost_per_token": 0.0,
4312+
"input_cost_per_token": 0.5e-06,
4313+
"output_cost_per_token": 1.5e-06,
42864314
"litellm_provider": "mistral",
42874315
"mode": "chat",
4288-
"source": "https://mistral.ai/news/magistral",
4316+
"source": "https://mistral.ai/pricing#api-pricing",
42894317
"supports_function_calling": true,
42904318
"supports_assistant_prefill": true,
42914319
"supports_tool_choice": true,
@@ -4442,6 +4470,20 @@
44424470
"source": "https://x.ai/api#pricing",
44434471
"supports_web_search": true
44444472
},
4473+
"xai/grok-3-latest": {
4474+
"max_tokens": 131072,
4475+
"max_input_tokens": 131072,
4476+
"max_output_tokens": 131072,
4477+
"input_cost_per_token": 3e-06,
4478+
"output_cost_per_token": 1.5e-05,
4479+
"litellm_provider": "xai",
4480+
"mode": "chat",
4481+
"supports_function_calling": true,
4482+
"supports_tool_choice": true,
4483+
"supports_response_schema": false,
4484+
"source": "https://x.ai/api#pricing",
4485+
"supports_web_search": true
4486+
},
44454487
"xai/grok-3-beta": {
44464488
"max_tokens": 131072,
44474489
"max_input_tokens": 131072,
@@ -4484,6 +4526,66 @@
44844526
"source": "https://x.ai/api#pricing",
44854527
"supports_web_search": true
44864528
},
4529+
"xai/grok-3-mini": {
4530+
"max_tokens": 131072,
4531+
"max_input_tokens": 131072,
4532+
"max_output_tokens": 131072,
4533+
"input_cost_per_token": 3e-07,
4534+
"output_cost_per_token": 5e-07,
4535+
"litellm_provider": "xai",
4536+
"mode": "chat",
4537+
"supports_function_calling": true,
4538+
"supports_tool_choice": true,
4539+
"supports_reasoning": true,
4540+
"supports_response_schema": false,
4541+
"source": "https://x.ai/api#pricing",
4542+
"supports_web_search": true
4543+
},
4544+
"xai/grok-3-mini-latest": {
4545+
"max_tokens": 131072,
4546+
"max_input_tokens": 131072,
4547+
"max_output_tokens": 131072,
4548+
"input_cost_per_token": 3e-07,
4549+
"output_cost_per_token": 5e-07,
4550+
"litellm_provider": "xai",
4551+
"mode": "chat",
4552+
"supports_function_calling": true,
4553+
"supports_tool_choice": true,
4554+
"supports_reasoning": true,
4555+
"supports_response_schema": false,
4556+
"source": "https://x.ai/api#pricing",
4557+
"supports_web_search": true
4558+
},
4559+
"xai/grok-3-mini-fast": {
4560+
"max_tokens": 131072,
4561+
"max_input_tokens": 131072,
4562+
"max_output_tokens": 131072,
4563+
"input_cost_per_token": 6e-07,
4564+
"output_cost_per_token": 4e-06,
4565+
"litellm_provider": "xai",
4566+
"mode": "chat",
4567+
"supports_function_calling": true,
4568+
"supports_tool_choice": true,
4569+
"supports_reasoning": true,
4570+
"supports_response_schema": false,
4571+
"source": "https://x.ai/api#pricing",
4572+
"supports_web_search": true
4573+
},
4574+
"xai/grok-3-mini-fast-latest": {
4575+
"max_tokens": 131072,
4576+
"max_input_tokens": 131072,
4577+
"max_output_tokens": 131072,
4578+
"input_cost_per_token": 6e-07,
4579+
"output_cost_per_token": 4e-06,
4580+
"litellm_provider": "xai",
4581+
"mode": "chat",
4582+
"supports_function_calling": true,
4583+
"supports_tool_choice": true,
4584+
"supports_reasoning": true,
4585+
"supports_response_schema": false,
4586+
"source": "https://x.ai/api#pricing",
4587+
"supports_web_search": true
4588+
},
44874589
"xai/grok-3-mini-beta": {
44884590
"max_tokens": 131072,
44894591
"max_input_tokens": 131072,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@themaximalist/llm.js",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "One interface to hundreds of LLM models, zero dependencies, tons of features, for Browser and Node.js",
55
"homepage": "https://llmjs.themaximalist.com",
66
"repository": {

public/docs/assets/hierarchy.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/docs/assets/navigation.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/docs/assets/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/docs/classes/APIv1.html

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

public/docs/classes/Anthropic.html

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

public/docs/classes/DeepSeek.html

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

public/docs/classes/Google.html

Lines changed: 3 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)