You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/langsmith/cost-tracking.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ The approach you use will depend on on what you're tracking and how your model p
102
102
103
103
| Method | Run type: LLM | Run type: Other |
104
104
|--------|---------------|-----------------|
105
-
|**Automatically**| <ul><li>Calling LLMs with [LangChain](/oss/python/langchain/overview)</li><li>Tracing LLM calls to OpenAI, Anthropic or models that follow an OpenAI-compliant format with `@traceable`</li><li> Using LangSmith wrappers for [OpenAI](/langsmith/trace-openai) or [Anthropic](/langsmith/trace-anthropic)</li><li>For other model providers, read the [token and cost information guide](/langsmith/log-llm-trace#provide-token-and-cost-information)</li></ul> | Not applicable. |
105
+
|**Automatically**| <ul><li>Calling LLMs with [LangChain](/oss/langchain/overview)</li><li>Tracing LLM calls to OpenAI, Anthropic or models that follow an OpenAI-compliant format with `@traceable`</li><li> Using LangSmith wrappers for [OpenAI](/langsmith/trace-openai) or [Anthropic](/langsmith/trace-anthropic)</li><li>For other model providers, read the [token and cost information guide](/langsmith/log-llm-trace#provide-token-and-cost-information)</li></ul> | Not applicable. |
106
106
|**Manually**| If LLM call costs are non-linear (eg. follow a custom cost function) | Send costs for any run types, e.g. tool calls, retrieval steps |
107
107
108
108
@@ -115,7 +115,7 @@ To compute cost automatically from token usage, you need to provide **token coun
115
115
Follow the instructions below if you’re using model providers whose responses don’t follow the same patterns as one of OpenAI or Anthropic.
116
116
117
117
These steps are **only required** if you are *not*:
118
-
- Calling LLMs with [LangChain](/oss/python/langchain/overview)
118
+
- Calling LLMs with [LangChain](/oss/langchain/overview)
119
119
- Using `@traceable` to trace LLM calls to OpenAI, Anthropic or models that follow an OpenAI-compliant format
120
120
- Using LangSmith wrappers for [OpenAI](/langsmith/trace-openai) or [Anthropic](/langsmith/trace-anthropic).
121
121
</Note>
@@ -421,7 +421,7 @@ Updates to the model pricing map are not reflected in the costs for traces alrea
Copy file name to clipboardExpand all lines: src/oss/python/integrations/chat/groq.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Get started using Groq [chat models](/oss/langchain/models) in Lang
4
4
---
5
5
6
6
<Warning>
7
-
This page makes reference to [Groq](https://console.groq.com/docs/overview), an AI hardware and software company. For information on how to use Grok models (provided by [xAI](https://docs.x.ai/docs/overview)), see the [xAI provider page](/oss/python/integrations/providers/xai).
7
+
This page makes reference to [Groq](https://console.groq.com/docs/overview), an AI hardware and software company. For information on how to use Grok models (provided by [xAI](https://docs.x.ai/docs/overview)), see the [xAI provider page](/oss/integrations/providers/xai).
Copy file name to clipboardExpand all lines: src/oss/python/integrations/chat/xai.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Get started using xAI [chat models](/oss/langchain/models) in LangC
4
4
---
5
5
6
6
<Warning>
7
-
This page makes reference to Grok models provided by [xAI](https://docs.x.ai/docs/overview) - not to be confused with [Groq](https://console.groq.com/docs/overview), a separate AI hardware and software company. See the [Groq provider page](/oss/python/integrations/providers/groq).
7
+
This page makes reference to Grok models provided by [xAI](https://docs.x.ai/docs/overview) - not to be confused with [Groq](https://console.groq.com/docs/overview), a separate AI hardware and software company. See the [Groq provider page](/oss/integrations/providers/groq).
8
8
</Warning>
9
9
10
10
[xAI](https://console.x.ai/) offers an API to interact with Grok models.
Copy file name to clipboardExpand all lines: src/oss/python/integrations/providers/groq.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Groq
3
3
---
4
4
5
5
<Warning>
6
-
This page makes reference to [Groq](https://console.groq.com/docs/overview), an AI hardware and software company. For information on how to use Grok models (provided by [xAI](https://docs.x.ai/docs/overview)), see the [xAI provider page](/oss/python/integrations/providers/xai).
6
+
This page makes reference to [Groq](https://console.groq.com/docs/overview), an AI hardware and software company. For information on how to use Grok models (provided by [xAI](https://docs.x.ai/docs/overview)), see the [xAI provider page](/oss/integrations/providers/xai).
7
7
</Warning>
8
8
9
9
>[Groq](https://groq.com) developed the world's first Language Processing Unit™, or `LPU`.
Copy file name to clipboardExpand all lines: src/oss/python/integrations/providers/toolbox.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,4 +28,4 @@ uv add toolbox-langchain
28
28
29
29
For a complete, step-by-step guide on how to create, configure, and use MCP Toolbox with your agents, please refer to our detailed Jupyter notebook tutorial.
30
30
31
-
**[➡️ View the full tutorial here](/oss/integrations/tools/toolbox)**.
31
+
**[➡️ View the full tutorial here](/oss/integrations/tools/mcp_toolbox)**.
Copy file name to clipboardExpand all lines: src/oss/python/integrations/providers/xai.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: xAI
3
3
---
4
4
5
5
<Warning>
6
-
This page makes reference to Grok models provided by [xAI](https://docs.x.ai/docs/overview) - not to be confused with [Groq](https://console.groq.com/docs/overview), a separate AI hardware and software company. See the [Groq provider page](/oss/python/integrations/providers/groq).
6
+
This page makes reference to Grok models provided by [xAI](https://docs.x.ai/docs/overview) - not to be confused with [Groq](https://console.groq.com/docs/overview), a separate AI hardware and software company. See the [Groq provider page](/oss/integrations/providers/groq).
7
7
</Warning>
8
8
9
9
[xAI](https://console.x.ai) offers an API to interact with Grok models. This example goes over how to use LangChain to interact with xAI models.
0 commit comments