# LLMs

> langchain_fireworks → LLMs

## Classes

- [`FireworksEmbeddings`](https://reference.langchain.com/python/langchain-fireworks/embeddings/FireworksEmbeddings)
- [`Fireworks`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks)
- [`FireworksContextOverflowError`](https://reference.langchain.com/python/langchain-fireworks/chat_models/FireworksContextOverflowError)
- [`FireworksAuthenticationError`](https://reference.langchain.com/python/langchain-fireworks/chat_models/FireworksAuthenticationError)
- [`FireworksPermissionDeniedError`](https://reference.langchain.com/python/langchain-fireworks/chat_models/FireworksPermissionDeniedError)
- [`FireworksInvalidRequestError`](https://reference.langchain.com/python/langchain-fireworks/chat_models/FireworksInvalidRequestError)
- [`FireworksModelNotFoundError`](https://reference.langchain.com/python/langchain-fireworks/chat_models/FireworksModelNotFoundError)
- [`FireworksRateLimitError`](https://reference.langchain.com/python/langchain-fireworks/chat_models/FireworksRateLimitError)
- [`FireworksAPIError`](https://reference.langchain.com/python/langchain-fireworks/chat_models/FireworksAPIError)
- [`FireworksConnectionError`](https://reference.langchain.com/python/langchain-fireworks/chat_models/FireworksConnectionError)
- [`FireworksTimeoutError`](https://reference.langchain.com/python/langchain-fireworks/chat_models/FireworksTimeoutError)
- [`FireworksReadTimeoutError`](https://reference.langchain.com/python/langchain-fireworks/chat_models/FireworksReadTimeoutError)
- [`ChatFireworks`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks)
- [`FireworksRerank`](https://reference.langchain.com/python/langchain-fireworks/rerank/FireworksRerank)
- [`FireworksPromptCachingMiddleware`](https://reference.langchain.com/python/langchain-fireworks/middleware/prompt_caching/FireworksPromptCachingMiddleware)

## Modules

- [`langchain_fireworks`](https://reference.langchain.com/python/langchain-fireworks/langchain_fireworks)
- [`embeddings`](https://reference.langchain.com/python/langchain-fireworks/embeddings)
- [`version`](https://reference.langchain.com/python/langchain-fireworks/version)
- [`llms`](https://reference.langchain.com/python/langchain-fireworks/llms)
- [`chat_models`](https://reference.langchain.com/python/langchain-fireworks/chat_models)
- [`rerank`](https://reference.langchain.com/python/langchain-fireworks/rerank)
- [`data`](https://reference.langchain.com/python/langchain-fireworks/data)
- [`middleware`](https://reference.langchain.com/python/langchain-fireworks/middleware)
- [`prompt_caching`](https://reference.langchain.com/python/langchain-fireworks/middleware/prompt_caching)

## Types

- [`TokenUsageTree`](https://reference.langchain.com/python/langchain-fireworks/chat_models/TokenUsageTree)

## Constants

- [`client`](https://reference.langchain.com/python/langchain-fireworks/embeddings/FireworksEmbeddings/client)
- [`fireworks_api_key`](https://reference.langchain.com/python/langchain-fireworks/embeddings/FireworksEmbeddings/fireworks_api_key)
- [`model`](https://reference.langchain.com/python/langchain-fireworks/embeddings/FireworksEmbeddings/model)
- [`model_config`](https://reference.langchain.com/python/langchain-fireworks/embeddings/FireworksEmbeddings/model_config)
- [`logger`](https://reference.langchain.com/python/langchain-fireworks/llms/logger)
- [`base_url`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/base_url)
- [`fireworks_api_key`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/fireworks_api_key)
- [`model`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/model)
- [`temperature`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/temperature)
- [`top_p`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/top_p)
- [`model_kwargs`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/model_kwargs)
- [`top_k`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/top_k)
- [`max_tokens`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/max_tokens)
- [`repetition_penalty`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/repetition_penalty)
- [`logprobs`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/logprobs)
- [`timeout`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/timeout)
- [`model_config`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/model_config)
- [`default_params`](https://reference.langchain.com/python/langchain-fireworks/llms/Fireworks/default_params)
- [`logger`](https://reference.langchain.com/python/langchain-fireworks/chat_models/logger)
- [`lc_secrets`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/lc_secrets)
- [`lc_attributes`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/lc_attributes)
- [`client`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/client)
- [`async_client`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/async_client)
- [`model_name`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/model_name)
- [`model`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/model)
- [`temperature`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/temperature)
- [`stop`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/stop)
- [`model_kwargs`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/model_kwargs)
- [`fireworks_api_key`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/fireworks_api_key)
- [`fireworks_api_base`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/fireworks_api_base)
- [`request_timeout`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/request_timeout)
- [`streaming`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/streaming)
- [`stream_usage`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/stream_usage)
- [`n`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/n)
- [`max_tokens`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/max_tokens)
- [`max_retries`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/max_retries)
- [`service_tier`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/service_tier)
- [`reasoning_effort`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/reasoning_effort)
- [`model_config`](https://reference.langchain.com/python/langchain-fireworks/chat_models/ChatFireworks/model_config)
- [`client`](https://reference.langchain.com/python/langchain-fireworks/rerank/FireworksRerank/client)
- [`async_client`](https://reference.langchain.com/python/langchain-fireworks/rerank/FireworksRerank/async_client)
- [`top_n`](https://reference.langchain.com/python/langchain-fireworks/rerank/FireworksRerank/top_n)
- [`model`](https://reference.langchain.com/python/langchain-fireworks/rerank/FireworksRerank/model)
- [`fireworks_api_key`](https://reference.langchain.com/python/langchain-fireworks/rerank/FireworksRerank/fireworks_api_key)
- [`base_url`](https://reference.langchain.com/python/langchain-fireworks/rerank/FireworksRerank/base_url)
- [`user_agent`](https://reference.langchain.com/python/langchain-fireworks/rerank/FireworksRerank/user_agent)
- [`model_config`](https://reference.langchain.com/python/langchain-fireworks/rerank/FireworksRerank/model_config)
- [`msg`](https://reference.langchain.com/python/langchain-fireworks/middleware/prompt_caching/msg)
- [`logger`](https://reference.langchain.com/python/langchain-fireworks/middleware/prompt_caching/logger)
- [`unsupported_model_behavior`](https://reference.langchain.com/python/langchain-fireworks/middleware/prompt_caching/FireworksPromptCachingMiddleware/unsupported_model_behavior)
