Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BerriAI/litellm
/ functions
Functions
202,479 in github.com/BerriAI/litellm
⨍
Functions
202,479
◇
Types & classes
26,341
↳
Endpoints
5,595
↓ 3 callers
Function
create_mcp_server_if_identifier_free
Create the row only when no other live server owns ``server_name``/``alias``. Returns the McpIdentifierConflict instead of inserting when the col
litellm/proxy/mcp_server/db.py:1101
↓ 3 callers
Method
create_new_version
Create a new draft version of a policy. Copies all fields from the source. Source is current production if source_policy_id is None.
litellm/proxy/policy_engine/policy_registry.py:804
↓ 3 callers
Function
create_sample_standard_logging_payload
Create a sample StandardLoggingPayload for testing.
tests/unit/integrations/test_custom_logger.py:33
↓ 3 callers
Function
create_timeout_deployment
Register a deployment with a 1ms deadline the real backend always exceeds.
tests/e2e/router/reliability_support.py:99
↓ 3 callers
Method
create_toolset
(self, body: ToolsetCreateBody)
tests/e2e/proxy_client.py:898
↓ 3 callers
Function
create_ui_token_object
Create a ReturnedUITokenObject from a LoginResult. Args: login_result: The result from authenticate_user general_settings: G
litellm/proxy/auth/login_utils.py:516
↓ 3 callers
Function
create_view_tolerating_race
Create a view, treating "a concurrent creator won" as success. Every replica booting against the same fresh database observes the view as
litellm/proxy/db/create_views.py:31
↓ 3 callers
Function
credentialCreateCall
( accessToken: string, formValues: Record<string, any>, // Assuming formValues is an object )
ui/litellm-dashboard/src/components/networking.tsx:2343
↓ 3 callers
Function
credential_source
( config: &VertexConfig, env_lookup: &dyn Fn(&str) -> Option<String>, )
litellm-rust/crates/auth-gcp/src/config.rs:163
↓ 3 callers
Method
credentials_from_explicit_aws
Create GCP credentials using explicit AWS credentials for WIF. Uses BaseAWSLLM to obtain AWS credentials (via STS AssumeRole, profil
litellm/llms/vertex_ai/vertex_ai_aws_wif.py:54
↓ 3 callers
Function
crosses_origin
Whether ``target`` leaves ``configured``'s origin, by the rule HTTP clients use. Origin is scheme, host and port, not host alone, so a same-host
litellm/types/mcp.py:369
↓ 3 callers
Function
ct
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:54
↓ 3 callers
Function
curlPayload
(command: string)
ui/litellm-dashboard/src/app/(dashboard)/playground/components/systemOneUI/lib/curlCommand.ts:30
↓ 3 callers
Function
curlify
(s,o,i,a="")
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Function
current_tag
The tag of the `tagged` scope this task runs in. `RedisEvents::call` runs on the calling task, so a sink reads its call's tag here.
litellm-rust/crates/redis-client/src/events.rs:20
↓ 3 callers
Function
customHeadersFromPairs
(pairs: readonly KeyValuePair[])
ui/litellm-dashboard/src/components/llm_calls/request_headers.ts:5
↓ 3 callers
Function
custom_pattern_work
(pattern: str)
litellm/router_strategy/complexity_router/config.py:942
↓ 3 callers
Method
custom_pricing_for
(self, result: object)
litellm/litellm_core_utils/litellm_logging.py:2450
↓ 3 callers
Function
cut_gate
(marker: str, hop: str, attempt: int)
tests/integration/streaming/test_mid_stream_fallback_continuation.py:61
↓ 3 callers
Method
cut_stream_chunk
(self)
litellm/llms/anthropic/chat/handler.py:1424
↓ 3 callers
Function
cycle
(started)
litellm-rust/crates/host-python/tests/lifecycle.py:155
↓ 3 callers
Function
d
(e)
litellm/proxy/_experimental/out/_next/static/chunks/0tx19jeq-wskb.js:2
↓ 3 callers
Function
d
(e,r)
litellm/proxy/_experimental/out/_next/static/chunks/40jhif8i4dzqp.js:1
↓ 3 callers
Function
d
()
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 3 callers
Function
d
(e)
litellm/proxy/_experimental/out/_next/static/chunks/3rvuj9y0gk-rt.js:1
↓ 3 callers
Function
d
({navigatedAt:e,initialRSCPayload:t,initialFlightStreamForCache:n,location:p})
litellm/proxy/_experimental/out/_next/static/chunks/0_6jqgnorqxl2.js:1
↓ 3 callers
Function
d
()
litellm/proxy/_experimental/out/_next/static/chunks/2fy3rfrh_1i4o.js:1
↓ 3 callers
Function
dT
({accessToken:e,disabledPersonalKeyCreation:t,proxySettings:s})
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callers
Function
dU
litellm/proxy/_experimental/out/_next/static/chunks/1f2vcab0yti03.js:53
↓ 3 callers
Function
dailyActivityExportCall
( entity: DailyActivityEntity, req: DailyActivityRequest, exportType: ExportType, format: ExportFormat
ui/litellm-dashboard/src/components/networking.tsx:1467
↓ 3 callers
Function
daily_window_day
(now: datetime, reset_offset: timedelta)
litellm/router_utils/pre_call_checks/model_rate_limit_check.py:60
↓ 3 callers
Function
dashscope_api_root
(api_base: str)
litellm/llms/dashscope/common_utils.py:104
↓ 3 callers
Method
data
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/14v3irtjifjt2.js:1
↓ 3 callers
Function
dataSourceLiteLLMAccessGroup
()
terraform/provider/litellm/data_source_access_group.go:17
↓ 3 callers
Function
dataSourceLiteLLMFallback
()
terraform/provider/litellm/data_source_fallback.go:13
↓ 3 callers
Function
dataSourceLiteLLMKeyRead
(d *schema.ResourceData, m interface{})
terraform/provider/litellm/data_source_key.go:147
↓ 3 callers
Function
dataSourceLiteLLMMCPServer
()
terraform/provider/litellm/data_source_mcp_server.go:38
↓ 3 callers
Function
dataSourceLiteLLMModel
()
terraform/provider/litellm/data_source_model.go:61
↓ 3 callers
Function
dataSourceLiteLLMProject
()
terraform/provider/litellm/data_source_project.go:13
↓ 3 callers
Function
dataSourceLiteLLMTag
()
terraform/provider/litellm/data_source_tag.go:14
↓ 3 callers
Function
dataSourceLiteLLMTeams
()
terraform/provider/litellm/data_source_team.go:183
↓ 3 callers
Function
dataSourceLiteLLMUnifiedAccessGroup
()
terraform/provider/litellm/data_source_unified_access_group.go:67
↓ 3 callers
Method
data_cli
(&self, port: u16, args: &[&str])
litellm-rust/crates/redis-testing/src/sentinel.rs:90
↓ 3 callers
Function
data_frames
(text: str)
tests/integration/routing/test_fallback_hop_foreign_encrypted_reasoning.py:444
↓ 3 callers
Function
data_key
(context: &HashicorpOperationContext)
litellm-rust/crates/secrets-hashicorp/src/secret_manager.rs:154
↓ 3 callers
Function
data_of
(frame: bytes)
tests/integration/messages_endpoint/safeguards/test_safeguard_results_native.py:54
↓ 3 callers
Function
database_url_is_pooled
(environ: Mapping[str, str] = os.environ)
litellm/proxy/db/pgbouncer.py:341
↓ 3 callers
Method
date
(self)
litellm/proxy/management_endpoints/common_daily_activity.py:115
↓ 3 callers
Function
dateRangePatch
(value: DateRangePickerValue, presetShortLabel: string | null)
ui/litellm-dashboard/src/app/(dashboard)/usage/_components/usageUrlState.ts:144
↓ 3 callers
Function
db_row
(content: str)
tests/unit/proxy/test_proxy_server_endpoints_and_startup.py:14944
↓ 3 callers
Method
db_skill_to_response
Convert a database skill record to Anthropic-compatible Skill response. Args: db_skill: LiteLLM_SkillsTable record
litellm/llms/litellm_proxy/skills/transformation.py:356
↓ 3 callers
Function
db_spanned
(call_type: str, table: str | None, load: Callable[[], Awaitable[_T]])
litellm/proxy/db/db_span.py:102
↓ 3 callers
Method
db_update_spend_transaction_handler
Handles commiting update spend transactions to db `UPDATES` can lead to deadlocks, hence we handle them separately Args:
litellm/proxy/db/db_spend_update_writer.py:1745
↓ 3 callers
Function
decisionChecksProblem
( checks: readonly DecisionModelCheckDraft[], t: TFunction = i18n.t.bind(i18n), )
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/decision_model/buildDecisionModelParams.ts:33
↓ 3 callers
Function
decisionTestChip
(result: DecisionTestResult, check: DecisionModelCheckDraft)
ui/litellm-dashboard/src/app/(dashboard)/guardrails/_components/decision_model/decisionModelQuestion.ts:126
↓ 3 callers
Method
declare_delete
`DualCache.async_delete_cache_pre_call`, memory now and the `DEL` on the batch `send` picks.
litellm-rust/crates/redis-store/src/auth_cache/mod.rs:134
↓ 3 callers
Method
declare_set
`DualCache.async_set_cache_pre_call`: memory now, the `SET` on the batch `send` picks.
litellm-rust/crates/redis-store/src/auth_cache/mod.rs:123
↓ 3 callers
Function
declared_mid_conversation_system_support
The `supports_mid_conversation_system` the deployment's own model_info declares, else the one the cost map declares for the model, else None
litellm/utils.py:3750
↓ 3 callers
Function
declared_prompt_cache_breakpoint
(model_info: Mapping[str, object] | None)
litellm/integrations/anthropic_cache_control_hook.py:114
↓ 3 callers
Function
declared_requester
(author: str, body: str)
litellm/proxy/roi_calculator/observed_analytics.py:41
↓ 3 callers
Function
decode
Decodes token ids using the selected tokenizer. Args: skip_special_tokens: For HuggingFace tokenizers, keep the historical
litellm/utils.py:3102
↓ 3 callers
Function
decode
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Function
decode
(raw: Option<Vec<u8>>)
litellm-rust/crates/redis-store/src/spend_counters/types.rs:44
↓ 3 callers
Method
decode
(&self, ids: &[u32])
litellm-rust/crates/token-counter-tiktoken/src/lib.rs:99
↓ 3 callers
Method
decode_bytes
(&self, ids: &[u32])
litellm-rust/crates/token-counter-tiktoken/src/lib.rs:95
↓ 3 callers
Function
decode_container_id_for_ownership
(container_id: str, custom_llm_provider: str)
litellm/proxy/container_endpoints/ownership.py:70
↓ 3 callers
Function
decode_jwt_claims
(token: str)
litellm/llms/chatgpt/common_utils.py:271
↓ 3 callers
Function
decode_request_value
(value: Value, prefix: &str)
litellm-rust/crates/llms/src/base_llm/ocr/transformation.rs:202
↓ 3 callers
Function
decode_response
( bytes: &[u8], native: bool, )
litellm-rust/crates/llms/src/base_llm/ocr/transformation.rs:214
↓ 3 callers
Function
decode_spans
(body: bytes, content_type: str)
tests/integration/_support/otlp_sink.py:135
↓ 3 callers
Function
decode_state_hash
Decode an encrypted state to retrieve all OAuth session data. Args: encrypted_state: The encrypted string to decode Returns:
litellm/proxy/mcp_server/discoverable_endpoints.py:286
↓ 3 callers
Method
decode_stored
(&self, value: StoredValue)
litellm-rust/crates/cache-disk/src/cache.rs:53
↓ 3 callers
Function
decode_upstream_scope
(token: str)
litellm/proxy/mcp_server/oauth_utils.py:869
↓ 3 callers
Method
decrypt_and_set_db_env_variables
Decrypts a dictionary of environment variables and then sets them in the environment Args: environment_variables: dict -
litellm/proxy/proxy_server.py:8206
↓ 3 callers
Method
decrypt_credentials
(self, credential: dict | BaseModel)
litellm/proxy/proxy_server.py:9943
↓ 3 callers
Function
deepgram_listen_is_priced
Only an exact registry hit counts: the cost calculator resolves a missing ``streaming/<model>`` row to the pre-recorded ``<model>`` row, which is
litellm/llms/deepgram/common_utils.py:94
↓ 3 callers
Function
deepgram_listen_pricing_model
Registry key, without the provider prefix, for the per-second base rate Deepgram bills a streaming session at: the multilingual streaming entry wh
litellm/llms/deepgram/common_utils.py:79
↓ 3 callers
Function
deepgram_listen_websocket_target
(api_base: str | None, query_string: str)
litellm/llms/deepgram/common_utils.py:58
↓ 3 callers
Function
deepgram_speak_model
(upstream_url: str)
litellm/llms/deepgram/common_utils.py:220
↓ 3 callers
Function
deepgram_speak_registry_key
Deepgram bills every voice of an Aura generation at one rate, so ``aura-2-thalia-en`` is priced at the ``deepgram/aura-2`` row
litellm/llms/deepgram/common_utils.py:230
↓ 3 callers
Function
deepseek_cost_at
(model: str, moment: datetime)
tests/unit/llms/deepseek/test_deepseek_cost_calculator.py:52
↓ 3 callers
Method
default
()
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Function
defaultSettings
(keysDisabled: boolean)
ui/litellm-dashboard/src/app/(dashboard)/playground/components/chat/playgroundSettings.ts:85
↓ 3 callers
Method
default_headers
(&self)
litellm-rust/crates/llms/src/anthropic/chat/transformation.rs:193
↓ 3 callers
Function
default_health_check_mode
(requested_model: str, model: str, custom_llm_provider: str)
litellm/litellm_core_utils/health_check_helpers.py:60
↓ 3 callers
Function
defer
(callback: Callable[[], object])
tests/e2e/idp.py:486
↓ 3 callers
Method
del
`del model_cost[key]`
litellm-rust/crates/model-catalog/src/store/mod.rs:182
↓ 3 callers
Function
delay
(s)
litellm/proxy/swagger/swagger-ui-bundle.js:2
↓ 3 callers
Function
delete
( url: URL, *, headers: BaseModel, json: BaseModel, response_type: type[R], params: Ba
tests/e2e/e2e_http.py:628
↓ 3 callers
Function
delete
( client: &HashicorpVault, name: &str, context: &HashicorpOperationContext, )
litellm-rust/crates/python-bridge/src/secrets/vault/operation.rs:73
↓ 3 callers
Method
deleteRange
(e,t)
litellm/proxy/_experimental/out/_next/static/chunks/085r5ieqhajig.js:1
↓ 3 callers
Method
delete_agent_from_db
Delete an agent from the database
litellm/proxy/agent_endpoints/agent_registry.py:668
↓ 3 callers
Method
delete_all_versions
Delete all versions of a policy. Also removes from in-memory registry. Args: policy_name: Name of the policy
litellm/proxy/policy_engine/policy_registry.py:1048
↓ 3 callers
Method
delete_assistant
( self, api_key: str | None, api_base: str | None, timeout: float | httpx.Time
litellm/llms/openai/openai.py:2657
↓ 3 callers
Method
delete_budget
(self, budget_id: str)
tests/e2e/quota_management/budgets/budget_client.py:632
↓ 3 callers
Method
delete_cache
(self, key: str)
litellm/proxy/common_utils/user_api_key_cache.py:356
↓ 3 callers
Method
delete_cache
(self, key: str)
litellm/llms/github_copilot/per_user_auth.py:56
↓ 3 callers
Method
delete_cache
(self, key)
litellm/caching/redis_cache.py:1952
↓ 3 callers
Method
delete_cache
(self, key: str)
tests/unit/proxy/management_endpoints/test_key_management_endpoints.py:23420
↓ 3 callers
Method
delete_cache
(&self, _: &str)
litellm-rust/crates/cache/tests/dual.rs:55
← previous
next →
26,601–26,700 of 202,479, ranked by callers